pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-importlib-resources py-importlib-resources: u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86454a9105d3
branches:  trunk
changeset: 440890:86454a9105d3
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 21 08:40:54 2020 +0000

description:
py-importlib-resources: updated to 3.0.0

v3.0.0

Package no longer exposes importlib_resources.__version__. Users that wish to inspect the version of importlib_resources should instead invoke .version('importlib_resources') from importlib-metadata 
( stdlib or backport) directly. This change eliminates the dependency on importlib_metadata.
Package now always includes its data.
Declare hidden imports for PyInstaller.

v2.0.1

Select pathlib and contextlib imports based on Python version and avoid pulling in deprecated [pathlib](https://pypi.org/project/pathlib).

v2.0.0

Loaders are no longer expected to implement the abc.TraversableResources interface, but are instead expected to return TraversableResources from their get_resource_reader method.

diffstat:

 devel/py-importlib-resources/Makefile |   5 +++--
 devel/py-importlib-resources/PLIST    |  12 +++++++++++-
 devel/py-importlib-resources/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 8 deletions(-)

diffs (68 lines):

diff -r 14c413d02d94 -r 86454a9105d3 devel/py-importlib-resources/Makefile
--- a/devel/py-importlib-resources/Makefile     Wed Oct 21 08:28:42 2020 +0000
+++ b/devel/py-importlib-resources/Makefile     Wed Oct 21 08:40:54 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/05/12 18:42:30 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/10/21 08:40:54 adam Exp $
 
-DISTNAME=      importlib_resources-1.5.0
+DISTNAME=      importlib_resources-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib_resources/}
@@ -13,6 +13,7 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
 DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
 DEPENDS+=      ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
diff -r 14c413d02d94 -r 86454a9105d3 devel/py-importlib-resources/PLIST
--- a/devel/py-importlib-resources/PLIST        Wed Oct 21 08:28:42 2020 +0000
+++ b/devel/py-importlib-resources/PLIST        Wed Oct 21 08:40:54 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/05/12 18:42:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/10/21 08:40:54 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -22,6 +22,10 @@
 ${PYSITELIB}/importlib_resources/abc.py
 ${PYSITELIB}/importlib_resources/abc.pyc
 ${PYSITELIB}/importlib_resources/abc.pyo
+${PYSITELIB}/importlib_resources/py.typed
+${PYSITELIB}/importlib_resources/readers.py
+${PYSITELIB}/importlib_resources/readers.pyc
+${PYSITELIB}/importlib_resources/readers.pyo
 ${PYSITELIB}/importlib_resources/tests/__init__.py
 ${PYSITELIB}/importlib_resources/tests/__init__.pyc
 ${PYSITELIB}/importlib_resources/tests/__init__.pyo
@@ -49,6 +53,12 @@
 ${PYSITELIB}/importlib_resources/tests/data03/__init__.py
 ${PYSITELIB}/importlib_resources/tests/data03/__init__.pyc
 ${PYSITELIB}/importlib_resources/tests/data03/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion1/__init__.py
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion1/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion1/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion2/__init__.py
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion2/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data03/namespace/portion2/__init__.pyo
 ${PYSITELIB}/importlib_resources/tests/data03/namespace/resource1.txt
 ${PYSITELIB}/importlib_resources/tests/test_files.py
 ${PYSITELIB}/importlib_resources/tests/test_files.pyc
diff -r 14c413d02d94 -r 86454a9105d3 devel/py-importlib-resources/distinfo
--- a/devel/py-importlib-resources/distinfo     Wed Oct 21 08:28:42 2020 +0000
+++ b/devel/py-importlib-resources/distinfo     Wed Oct 21 08:40:54 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2020/05/12 18:42:30 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/10/21 08:40:54 adam Exp $
 
-SHA1 (importlib_resources-1.5.0.tar.gz) = 7fe714bd58d153a8861f2f586d26dbcc48cc24a7
-RMD160 (importlib_resources-1.5.0.tar.gz) = a46cdc176023f7f037123eadf075c9438e02f976
-SHA512 (importlib_resources-1.5.0.tar.gz) = 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
-Size (importlib_resources-1.5.0.tar.gz) = 23660 bytes
+SHA1 (importlib_resources-3.0.0.tar.gz) = 25fe26613c3b3ab8e92c3d7bafc04cf8c53a5778
+RMD160 (importlib_resources-3.0.0.tar.gz) = d56316df5b65d7888048980e3e0cddf832d64568
+SHA512 (importlib_resources-3.0.0.tar.gz) = cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54
+Size (importlib_resources-3.0.0.tar.gz) = 26725 bytes



Home | Main Index | Thread Index | Old Index