pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-importlib-metadata py-importlib-metadata: swi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cee08f39ef9
branches:  trunk
changeset: 379191:1cee08f39ef9
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 12 19:37:39 2022 +0000

description:
py-importlib-metadata: switch to egg to avoid dependency hell

diffstat:

 devel/py-importlib-metadata/Makefile |   8 ++++++--
 devel/py-importlib-metadata/PLIST    |  23 ++++++++++++++---------
 2 files changed, 20 insertions(+), 11 deletions(-)

diffs (67 lines):

diff -r 276b1fb423e0 -r 1cee08f39ef9 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Thu May 12 19:04:27 2022 +0000
+++ b/devel/py-importlib-metadata/Makefile      Thu May 12 19:37:39 2022 +0000
@@ -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 @@
 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"
diff -r 276b1fb423e0 -r 1cee08f39ef9 devel/py-importlib-metadata/PLIST
--- a/devel/py-importlib-metadata/PLIST Thu May 12 19:04:27 2022 +0000
+++ b/devel/py-importlib-metadata/PLIST Thu May 12 19:37:39 2022 +0000
@@ -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