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:           Wed Sep 11 09:52:30 UTC 2019

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-importlib-metadata/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-importlib-metadata/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-importlib-metadata/distinfo

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.4 pkgsrc/devel/py-importlib-metadata/Makefile:1.5
--- pkgsrc/devel/py-importlib-metadata/Makefile:1.4     Tue Aug 13 16:52:58 2019
+++ pkgsrc/devel/py-importlib-metadata/Makefile Wed Sep 11 09:52:30 2019
@@ -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 @@ BUILD_DEPENDS+=       ${PYPKGPREFIX}-setuptool
 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

Index: pkgsrc/devel/py-importlib-metadata/PLIST
diff -u pkgsrc/devel/py-importlib-metadata/PLIST:1.1 pkgsrc/devel/py-importlib-metadata/PLIST:1.2
--- pkgsrc/devel/py-importlib-metadata/PLIST:1.1        Wed May 29 19:51:10 2019
+++ pkgsrc/devel/py-importlib-metadata/PLIST    Wed Sep 11 09:52:30 2019
@@ -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/fi
 ${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

Index: pkgsrc/devel/py-importlib-metadata/distinfo
diff -u pkgsrc/devel/py-importlib-metadata/distinfo:1.2 pkgsrc/devel/py-importlib-metadata/distinfo:1.3
--- pkgsrc/devel/py-importlib-metadata/distinfo:1.2     Wed Aug 14 15:20:16 2019
+++ pkgsrc/devel/py-importlib-metadata/distinfo Wed Sep 11 09:52:30 2019
@@ -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