pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-importlib-resources



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 21 08:40:54 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-importlib-resources/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-importlib-resources/PLIST \
    pkgsrc/devel/py-importlib-resources/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-resources/Makefile
diff -u pkgsrc/devel/py-importlib-resources/Makefile:1.7 pkgsrc/devel/py-importlib-resources/Makefile:1.8
--- pkgsrc/devel/py-importlib-resources/Makefile:1.7    Tue May 12 18:42:30 2020
+++ pkgsrc/devel/py-importlib-resources/Makefile        Wed Oct 21 08:40:54 2020
@@ -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 @@ LICENSE=      apache-2.0
 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

Index: pkgsrc/devel/py-importlib-resources/PLIST
diff -u pkgsrc/devel/py-importlib-resources/PLIST:1.6 pkgsrc/devel/py-importlib-resources/PLIST:1.7
--- pkgsrc/devel/py-importlib-resources/PLIST:1.6       Tue May 12 18:42:30 2020
+++ pkgsrc/devel/py-importlib-resources/PLIST   Wed Oct 21 08:40:54 2020
@@ -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 @@ ${PLIST.py3x}${PYSITELIB}/importlib_reso
 ${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/d
 ${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
Index: pkgsrc/devel/py-importlib-resources/distinfo
diff -u pkgsrc/devel/py-importlib-resources/distinfo:1.6 pkgsrc/devel/py-importlib-resources/distinfo:1.7
--- pkgsrc/devel/py-importlib-resources/distinfo:1.6    Tue May 12 18:42:30 2020
+++ pkgsrc/devel/py-importlib-resources/distinfo        Wed Oct 21 08:40:54 2020
@@ -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