pkgsrc-WIP-changes archive

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

py-asynctest: convert to wheel.mk



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Sep 27 10:21:34 2024 +0200
Changeset:	d3dd883a17645b9c4c1f2d5c61dc03335b219f79

Modified Files:
	py-asynctest/Makefile
	py-asynctest/PLIST
	py-asynctest/distinfo
Added Files:
	py-asynctest/TODO

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

Note that it doesn't work with Python 3.11+.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d3dd883a17645b9c4c1f2d5c61dc03335b219f79

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

diffstat:
 py-asynctest/Makefile |  5 ++++-
 py-asynctest/PLIST    | 11 ++++++-----
 py-asynctest/TODO     |  2 ++
 py-asynctest/distinfo |  2 +-
 4 files changed, 13 insertions(+), 7 deletions(-)

diffs:
diff --git a/py-asynctest/Makefile b/py-asynctest/Makefile
index f197281297..66956c2110 100644
--- a/py-asynctest/Makefile
+++ b/py-asynctest/Makefile
@@ -10,7 +10,10 @@ HOMEPAGE=	https://github.com/Martiusweb/asynctest/
 COMMENT=	Unittest package with features for testing asyncio libraries
 LICENSE=	apache-2.0
 
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-asynctest/PLIST b/py-asynctest/PLIST
index 3369659bf8..c7df822851 100644
--- a/py-asynctest/PLIST
+++ b/py-asynctest/PLIST
@@ -1,9 +1,10 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
 ${PYSITELIB}/asynctest/__init__.py
 ${PYSITELIB}/asynctest/__init__.pyc
 ${PYSITELIB}/asynctest/__init__.pyo
diff --git a/py-asynctest/TODO b/py-asynctest/TODO
new file mode 100644
index 0000000000..ca86546a4b
--- /dev/null
+++ b/py-asynctest/TODO
@@ -0,0 +1,2 @@
+Does not work with Python 3.11+
+https://github.com/Martiusweb/asynctest/issues/163
diff --git a/py-asynctest/distinfo b/py-asynctest/distinfo
index 853648f94b..8876443bc2 100644
--- a/py-asynctest/distinfo
+++ b/py-asynctest/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (asynctest-0.13.0.tar.gz) = 0c1acd6b3acd963c0893105d302d7d642367d83b
+BLAKE2s (asynctest-0.13.0.tar.gz) = 43529848292a5638132eee65a52fbe10658723f04a506765b300b0bce5463349
 SHA512 (asynctest-0.13.0.tar.gz) = f98a9a330c3e4024373d74ea1899ec74f8242be58856d9a4c0910d397cbf15c1bd2deb2531cf78fd7bfe7d2aa4abad8b404bbb9eaee4b721c9e317ec5ec4a955
 Size (asynctest-0.13.0.tar.gz) = 42301 bytes


Home | Main Index | Thread Index | Old Index