pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-importlib-metadata



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May 12 19:37:39 UTC 2022

Modified Files:
        pkgsrc/devel/py-importlib-metadata: Makefile PLIST

Log Message:
py-importlib-metadata: switch to egg to avoid dependency hell


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-importlib-metadata/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-importlib-metadata/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-importlib-metadata/Makefile
diff -u pkgsrc/devel/py-importlib-metadata/Makefile:1.28 pkgsrc/devel/py-importlib-metadata/Makefile:1.29
--- pkgsrc/devel/py-importlib-metadata/Makefile:1.28    Thu May 12 06:50:16 2022
+++ pkgsrc/devel/py-importlib-metadata/Makefile Thu May 12 19:37:39 2022
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2022/05/12 06:50:16 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/05/12 19:37:39 adam Exp $
 
 DISTNAME=      importlib_metadata-4.11.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib-metadata/}
 
@@ -31,5 +32,8 @@ DEPENDS+=     ${PYPKGPREFIX}-typing-extensio
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/wheel.mk"
+# IMPORTANT: as long as there is Python 3.7, do not use wheel.mk;
+# it requires devel/py-build which depends on this package.
+PYSETUP=       -c 'from setuptools import setup; setup()'
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-importlib-metadata/PLIST
diff -u pkgsrc/devel/py-importlib-metadata/PLIST:1.4 pkgsrc/devel/py-importlib-metadata/PLIST:1.5
--- pkgsrc/devel/py-importlib-metadata/PLIST:1.4        Thu May 12 05:13:15 2022
+++ pkgsrc/devel/py-importlib-metadata/PLIST    Thu May 12 19:37:39 2022
@@ -1,26 +1,31 @@
-@comment $NetBSD: PLIST,v 1.4 2022/05/12 05:13:15 adam Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2022/05/12 19:37:39 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
 ${PYSITELIB}/importlib_metadata/__init__.py
 ${PYSITELIB}/importlib_metadata/__init__.pyc
+${PYSITELIB}/importlib_metadata/__init__.pyo
 ${PYSITELIB}/importlib_metadata/_adapters.py
 ${PYSITELIB}/importlib_metadata/_adapters.pyc
+${PYSITELIB}/importlib_metadata/_adapters.pyo
 ${PYSITELIB}/importlib_metadata/_collections.py
 ${PYSITELIB}/importlib_metadata/_collections.pyc
+${PYSITELIB}/importlib_metadata/_collections.pyo
 ${PYSITELIB}/importlib_metadata/_compat.py
 ${PYSITELIB}/importlib_metadata/_compat.pyc
+${PYSITELIB}/importlib_metadata/_compat.pyo
 ${PYSITELIB}/importlib_metadata/_functools.py
 ${PYSITELIB}/importlib_metadata/_functools.pyc
+${PYSITELIB}/importlib_metadata/_functools.pyo
 ${PYSITELIB}/importlib_metadata/_itertools.py
 ${PYSITELIB}/importlib_metadata/_itertools.pyc
+${PYSITELIB}/importlib_metadata/_itertools.pyo
 ${PYSITELIB}/importlib_metadata/_meta.py
 ${PYSITELIB}/importlib_metadata/_meta.pyc
+${PYSITELIB}/importlib_metadata/_meta.pyo
 ${PYSITELIB}/importlib_metadata/_text.py
 ${PYSITELIB}/importlib_metadata/_text.pyc
+${PYSITELIB}/importlib_metadata/_text.pyo
 ${PYSITELIB}/importlib_metadata/py.typed



Home | Main Index | Thread Index | Old Index