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/e9d1e06130e6
branches:  trunk
changeset: 401086:e9d1e06130e6
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 11 09:52:30 2019 +0000

description:
py-importlib-metadata: updated to 0.21

0.21
importlib.metadata now exposes the DistributionFinder metaclass and references it in the docs for extending the search algorithm.
Add Distribution.at for constructing a Distribution object from a known metadata directory on the file system.
Distribution finders now receive a context object that supplies .path and .name properties. This change introduces a fundamental backward incompatibility for any projects implementing a 
find_distributions method on a MetaPathFinder. This new layer of abstraction allows this context to be supplied directly or constructed on demand and opens the opportunity for a find_distributions 
method to solicit additional context from the caller.

0.20
Clarify in the docs that calls to .files could return None when the metadata is not present.
Return all requirements and not just the first for dist-info packages.

diffstat:

 devel/py-importlib-metadata/Makefile |   6 +++---
 devel/py-importlib-metadata/PLIST    |   5 ++++-
 devel/py-importlib-metadata/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (55 lines):

diff -r 094282640eb3 -r e9d1e06130e6 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Wed Sep 11 09:50:59 2019 +0000
+++ b/devel/py-importlib-metadata/Makefile      Wed Sep 11 09:52:30 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2019/08/13 16:52:58 gdt Exp $
+# $NetBSD: Makefile,v 1.5 2019/09/11 09:52:30 adam Exp $
 
-DISTNAME=      importlib_metadata-0.19
+DISTNAME=      importlib_metadata-0.21
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib-metadata/}
@@ -14,7 +14,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-zipp>=0.5:../../archivers/py-zipp
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
+DEPENDS+=      ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
 DEPENDS+=      ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
 DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
 .endif
diff -r 094282640eb3 -r e9d1e06130e6 devel/py-importlib-metadata/PLIST
--- a/devel/py-importlib-metadata/PLIST Wed Sep 11 09:50:59 2019 +0000
+++ b/devel/py-importlib-metadata/PLIST Wed Sep 11 09:52:30 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/05/29 19:51:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/09/11 09:52:30 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -33,6 +33,9 @@
 ${PYSITELIB}/importlib_metadata/tests/test_api.py
 ${PYSITELIB}/importlib_metadata/tests/test_api.pyc
 ${PYSITELIB}/importlib_metadata/tests/test_api.pyo
+${PYSITELIB}/importlib_metadata/tests/test_integration.py
+${PYSITELIB}/importlib_metadata/tests/test_integration.pyc
+${PYSITELIB}/importlib_metadata/tests/test_integration.pyo
 ${PYSITELIB}/importlib_metadata/tests/test_main.py
 ${PYSITELIB}/importlib_metadata/tests/test_main.pyc
 ${PYSITELIB}/importlib_metadata/tests/test_main.pyo
diff -r 094282640eb3 -r e9d1e06130e6 devel/py-importlib-metadata/distinfo
--- a/devel/py-importlib-metadata/distinfo      Wed Sep 11 09:50:59 2019 +0000
+++ b/devel/py-importlib-metadata/distinfo      Wed Sep 11 09:52:30 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/08/14 15:20:16 wiz Exp $
+$NetBSD: distinfo,v 1.3 2019/09/11 09:52:30 adam Exp $
 
-SHA1 (importlib_metadata-0.19.tar.gz) = 925128563c8baf63bb1f2374a28cc978d159d7bc
-RMD160 (importlib_metadata-0.19.tar.gz) = 0770d1960c430f05c41a62d9070257edeef4f938
-SHA512 (importlib_metadata-0.19.tar.gz) = 2d0126e7430804b2295ec159778082806957cb86b5c7408c38064cc7c7e62229d382778284a5a231925ab336a7cc6da8e705f6bd7ae6da66f11acd1229bda17b
-Size (importlib_metadata-0.19.tar.gz) = 23338 bytes
+SHA1 (importlib_metadata-0.21.tar.gz) = e207ae4b9706e4385492d33d97b67c22733d0163
+RMD160 (importlib_metadata-0.21.tar.gz) = 40c5e44fe4eba5c21c70eb16b80841964af8640c
+SHA512 (importlib_metadata-0.21.tar.gz) = f20e05c7806a08417020573b0e1d6c57009325c7e21dba46d18c93e24d8c696d66d4628b83093815f443d7f0797ca5a946f1e5476037007c04378c24cca0a2be
+Size (importlib_metadata-0.21.tar.gz) = 24693 bytes



Home | Main Index | Thread Index | Old Index