pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pyte



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 15:05:08 UTC 2024

Modified Files:
        pkgsrc/devel/py-pyte: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-pyte/patches: patch-setup.py

Log Message:
py-pyte: convert to wheel.mk.

Remove unneeded test dependency.
Note test status.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-pyte/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-pyte/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-pyte/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyte/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pyte/Makefile
diff -u pkgsrc/devel/py-pyte/Makefile:1.6 pkgsrc/devel/py-pyte/Makefile:1.7
--- pkgsrc/devel/py-pyte/Makefile:1.6   Thu Nov 16 09:37:55 2023
+++ pkgsrc/devel/py-pyte/Makefile       Sat Aug 10 15:05:08 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2023/11/16 09:37:55 adam Exp $
+# $NetBSD: Makefile,v 1.7 2024/08/10 15:05:08 wiz Exp $
 
 DISTNAME=      pyte-0.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyte/}
 
@@ -10,7 +11,8 @@ HOMEPAGE=     https://github.com/selectel/py
 COMMENT=       VTXXX-compatible terminal emulator library
 LICENSE=       gnu-lgpl-v3
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-wcwidth>=0.1.7:../../devel/py-wcwidth
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
@@ -18,5 +20,8 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+# as of 0.8.2
+# 114 passed, 1 xfailed, 9 warnings
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-pyte/PLIST
diff -u pkgsrc/devel/py-pyte/PLIST:1.3 pkgsrc/devel/py-pyte/PLIST:1.4
--- pkgsrc/devel/py-pyte/PLIST:1.3      Thu Nov 16 09:37:55 2023
+++ pkgsrc/devel/py-pyte/PLIST  Sat Aug 10 15:05:08 2024
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2023/11/16 09:37:55 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2024/08/10 15:05:08 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pyte/__init__.py
 ${PYSITELIB}/pyte/__init__.pyc
 ${PYSITELIB}/pyte/__init__.pyo

Index: pkgsrc/devel/py-pyte/distinfo
diff -u pkgsrc/devel/py-pyte/distinfo:1.5 pkgsrc/devel/py-pyte/distinfo:1.6
--- pkgsrc/devel/py-pyte/distinfo:1.5   Thu Nov 16 09:37:55 2023
+++ pkgsrc/devel/py-pyte/distinfo       Sat Aug 10 15:05:08 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2023/11/16 09:37:55 adam Exp $
+$NetBSD: distinfo,v 1.6 2024/08/10 15:05:08 wiz Exp $
 
 BLAKE2s (pyte-0.8.2.tar.gz) = a8181bf73f41b84a9c7ae4bdeba334b61e3a531e8e86661a7dd452deb815b9a7
 SHA512 (pyte-0.8.2.tar.gz) = b11df745131bf7d3602629975b9a39baa1f75f3481bd863f2eb429c714c61f2a759aa21f9eee2679d5de2db6fba405354793e0056d6b75fa9aa1ca896f511410
 Size (pyte-0.8.2.tar.gz) = 92301 bytes
+SHA1 (patch-setup.py) = 0b317086f1072454bab36c6002bcfaf2f21d3a31

Added files:

Index: pkgsrc/devel/py-pyte/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-pyte/patches/patch-setup.py:1.1
--- /dev/null   Sat Aug 10 15:05:08 2024
+++ pkgsrc/devel/py-pyte/patches/patch-setup.py Sat Aug 10 15:05:08 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2024/08/10 15:05:08 wiz Exp $
+
+https://github.com/selectel/pyte/issues/176
+
+--- setup.py.orig      2024-08-10 15:03:06.078284940 +0000
++++ setup.py
+@@ -37,7 +37,7 @@ setup(name="pyte",
+       version="0.8.2",
+       packages=["pyte"],
+       install_requires=["wcwidth"],
+-      setup_requires=["pytest-runner"],
++      setup_requires=[],
+       tests_require=["pytest"],
+       python_requires=">=3.8",
+       platforms=["any"],



Home | Main Index | Thread Index | Old Index