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: upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d25a57406ae2
branches:  trunk
changeset: 379133:d25a57406ae2
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 12 05:13:15 2022 +0000

description:
py-importlib-metadata: updated to 4.11.3

v4.11.3
* Removed cast of path items in FastPath, not needed.

v4.11.2
* Fixed bug where ``EntryPoint.extras`` was returning
  match objects and not the extras strings.

v4.11.1
* In ``Distribution.requires`` for egg-info, if ``requires.txt``
  is empty, return an empty list.

v4.11.0
* bpo-46246: Added ``__slots__`` to ``EntryPoints``.

v4.10.2
* Avoid leaking ``method_name`` in ``DeprecatedList``.

diffstat:

 devel/py-importlib-metadata/Makefile |  22 +++++++++++-----------
 devel/py-importlib-metadata/PLIST    |  23 +++++++++--------------
 devel/py-importlib-metadata/distinfo |   8 ++++----
 3 files changed, 24 insertions(+), 29 deletions(-)

diffs (103 lines):

diff -r 6cc122420f4e -r d25a57406ae2 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Wed May 11 23:34:14 2022 +0000
+++ b/devel/py-importlib-metadata/Makefile      Thu May 12 05:13:15 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2022/01/29 10:36:17 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2022/05/12 05:13:15 adam Exp $
 
-DISTNAME=      importlib_metadata-4.10.1
+DISTNAME=      importlib_metadata-4.11.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib-metadata/}
 
@@ -11,11 +10,14 @@
 COMMENT=       Read metadata from Python packages
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
+DEPENDS+=      ${PYPKGPREFIX}-zipp>=0.5:../../archivers/py-zipp
+TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
 TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs
 TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
-TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
+
+USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
@@ -25,10 +27,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.6.4:../../devel/py-typing-extensions
 .endif
 
-USE_LANGUAGES= # none
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-post-extract:
-       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6cc122420f4e -r d25a57406ae2 devel/py-importlib-metadata/PLIST
--- a/devel/py-importlib-metadata/PLIST Wed May 11 23:34:14 2022 +0000
+++ b/devel/py-importlib-metadata/PLIST Thu May 12 05:13:15 2022 +0000
@@ -1,31 +1,26 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/25 09:19:29 wiz 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
+@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
 ${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
diff -r 6cc122420f4e -r d25a57406ae2 devel/py-importlib-metadata/distinfo
--- a/devel/py-importlib-metadata/distinfo      Wed May 11 23:34:14 2022 +0000
+++ b/devel/py-importlib-metadata/distinfo      Thu May 12 05:13:15 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2022/01/25 09:19:29 wiz Exp $
+$NetBSD: distinfo,v 1.18 2022/05/12 05:13:15 adam Exp $
 
-BLAKE2s (importlib_metadata-4.10.1.tar.gz) = 5471da87eea8e6549ec27196343341e6389e16a1d5f3174517903776b91aa27e
-SHA512 (importlib_metadata-4.10.1.tar.gz) = 96ceb9286145e2933ca3a1724fde4519819c27a1dc0947ef8e0c399a4cc2026875e673ab352f08bb4dd6aa10d78d8c9773a6fb0138e3065961df7e850ff37757
-Size (importlib_metadata-4.10.1.tar.gz) = 42013 bytes
+BLAKE2s (importlib_metadata-4.11.3.tar.gz) = c9f89595f4b21583088624db461afb09140d86a12c4352fb637df9c9ce25ede1
+SHA512 (importlib_metadata-4.11.3.tar.gz) = d33efa2abba5f6f770615f133c940a61948ce5091d59526ee2c7e3866aebd74d79ac464f72602404c2b56fe284a93a9cd1b0cac251ceea53666019485bdddf23
+Size (importlib_metadata-4.11.3.tar.gz) = 43607 bytes



Home | Main Index | Thread Index | Old Index