pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pexpect



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 26 12:30:46 UTC 2023

Modified Files:
        pkgsrc/devel/py-pexpect: Makefile PLIST

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

Mark as not for Python 2.

Add a missing test dependency, but tests hangs for me.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/py-pexpect/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-pexpect/PLIST

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-pexpect/Makefile
diff -u pkgsrc/devel/py-pexpect/Makefile:1.32 pkgsrc/devel/py-pexpect/Makefile:1.33
--- pkgsrc/devel/py-pexpect/Makefile:1.32       Sun Nov 26 10:04:16 2023
+++ pkgsrc/devel/py-pexpect/Makefile    Sun Nov 26 12:30:46 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2023/11/26 10:04:16 adam Exp $
+# $NetBSD: Makefile,v 1.33 2023/11/26 12:30:46 wiz Exp $
 
 DISTNAME=      pexpect-4.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pexpect/}
 
@@ -10,9 +11,14 @@ HOMEPAGE=    https://pexpect.readthedocs.io
 COMMENT=       Pure Python Expect-like module
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-ptyprocess>=0.5:../../sysutils/py-ptyprocess
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+USE_TOOLS+=    bash:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-pexpect/PLIST
diff -u pkgsrc/devel/py-pexpect/PLIST:1.12 pkgsrc/devel/py-pexpect/PLIST:1.13
--- pkgsrc/devel/py-pexpect/PLIST:1.12  Sun Nov 26 10:04:16 2023
+++ pkgsrc/devel/py-pexpect/PLIST       Sun Nov 26 12:30:46 2023
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.12 2023/11/26 10:04:16 adam Exp $
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.13 2023/11/26 12:30:46 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pexpect/ANSI.py
 ${PYSITELIB}/pexpect/ANSI.pyc
 ${PYSITELIB}/pexpect/ANSI.pyo
@@ -18,11 +17,11 @@ ${PYSITELIB}/pexpect/_async.py
 ${PYSITELIB}/pexpect/_async.pyc
 ${PYSITELIB}/pexpect/_async.pyo
 ${PYSITELIB}/pexpect/_async_pre_await.py
-${PLIST.py3x}${PYSITELIB}/pexpect/_async_pre_await.pyc
-${PLIST.py3x}${PYSITELIB}/pexpect/_async_pre_await.pyo
+${PYSITELIB}/pexpect/_async_pre_await.pyc
+${PYSITELIB}/pexpect/_async_pre_await.pyo
 ${PYSITELIB}/pexpect/_async_w_await.py
-${PLIST.py3x}${PYSITELIB}/pexpect/_async_w_await.pyc
-${PLIST.py3x}${PYSITELIB}/pexpect/_async_w_await.pyo
+${PYSITELIB}/pexpect/_async_w_await.pyc
+${PYSITELIB}/pexpect/_async_w_await.pyo
 ${PYSITELIB}/pexpect/bashrc.sh
 ${PYSITELIB}/pexpect/exceptions.py
 ${PYSITELIB}/pexpect/exceptions.pyc
@@ -52,8 +51,8 @@ ${PYSITELIB}/pexpect/screen.py
 ${PYSITELIB}/pexpect/screen.pyc
 ${PYSITELIB}/pexpect/screen.pyo
 ${PYSITELIB}/pexpect/socket_pexpect.py
-${PLIST.py3x}${PYSITELIB}/pexpect/socket_pexpect.pyc
-${PLIST.py3x}${PYSITELIB}/pexpect/socket_pexpect.pyo
+${PYSITELIB}/pexpect/socket_pexpect.pyc
+${PYSITELIB}/pexpect/socket_pexpect.pyo
 ${PYSITELIB}/pexpect/spawnbase.py
 ${PYSITELIB}/pexpect/spawnbase.pyc
 ${PYSITELIB}/pexpect/spawnbase.pyo



Home | Main Index | Thread Index | Old Index