pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-autobahn



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov 13 07:57:53 UTC 2023

Modified Files:
        pkgsrc/www/py-autobahn: Makefile PLIST

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/www/py-autobahn/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/py-autobahn/PLIST

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

Modified files:

Index: pkgsrc/www/py-autobahn/Makefile
diff -u pkgsrc/www/py-autobahn/Makefile:1.38 pkgsrc/www/py-autobahn/Makefile:1.39
--- pkgsrc/www/py-autobahn/Makefile:1.38        Mon Jun 19 08:14:43 2023
+++ pkgsrc/www/py-autobahn/Makefile     Mon Nov 13 07:57:53 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2023/06/19 08:14:43 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2023/11/13 07:57:53 wiz Exp $
 
 DISTNAME=      autobahn-23.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/autobahn/}
 
@@ -10,32 +11,25 @@ HOMEPAGE=   https://crossbar.io/autobahn/
 COMMENT=       WebSocket client and server library, WAMP real-time framework
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-txaio>=21.2.1:../../devel/py-txaio
 DEPENDS+=      ${PYPKGPREFIX}-hyperlink>=21.0.0:../../www/py-hyperlink
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=1.3.0:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-nacl>=0:../../security/py-nacl
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.6:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>=0:../../net/py-twisted
-TEST_ENV+=     USE_ASYNCIO=1
 
 USE_LANGUAGES= c
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
-DISTUTILS_BUILDDIR_IN_TEST_ENV=        yes
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} wamp wamp-${PYVERSSUFFIX}
        cd ${DESTDIR}${PREFIX}/bin && ${MV} xbrnetwork xbrnetwork-${PYVERSSUFFIX}
        cd ${DESTDIR}${PREFIX}/bin && ${MV} xbrnetwork-ui xbrnetwork-ui-${PYVERSSUFFIX}
 
-# doesn't work: collect error with path mismatches between src files and those in build/lib*
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-autobahn/PLIST
diff -u pkgsrc/www/py-autobahn/PLIST:1.19 pkgsrc/www/py-autobahn/PLIST:1.20
--- pkgsrc/www/py-autobahn/PLIST:1.19   Fri May 12 11:37:39 2023
+++ pkgsrc/www/py-autobahn/PLIST        Mon Nov 13 07:57:53 2023
@@ -1,15 +1,14 @@
-@comment $NetBSD: PLIST,v 1.19 2023/05/12 11:37:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.20 2023/11/13 07:57:53 wiz Exp $
 bin/wamp-${PYVERSSUFFIX}
 bin/xbrnetwork-${PYVERSSUFFIX}
 bin/xbrnetwork-ui-${PYVERSSUFFIX}
 ${PYSITELIB}/_nvx_utf8validator.abi3.so
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/autobahn/__init__.py
 ${PYSITELIB}/autobahn/__init__.pyc
 ${PYSITELIB}/autobahn/__init__.pyo



Home | Main Index | Thread Index | Old Index