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/8353a527605e
branches:  trunk
changeset: 413163:8353a527605e
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Mar 15 23:14:40 2020 +0000

description:
py-importlib-resources: updated to 1.3.1

v1.3.1
For improved compatibility, importlib_resources.trees is now imported implicitly.

v1.3.0
Add extensibility support for non-standard loaders to supply Traversable resources. Introduces a new abstract base class abc.TraversableResources that supersedes (but implements for compatibility) 
abc.ResourceReader. Any loader that implements (implicitly or explicitly) the TraversableResources.files method will be capable of supplying resources with subdirectory support.
Preferred way to access as_file is now from top-level module. importlib_resources.trees.as_file is deprecated and discouraged.
Moved Traversable abc to abc module.

diffstat:

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

diffs (56 lines):

diff -r c53e8058d615 -r 8353a527605e devel/py-importlib-resources/Makefile
--- a/devel/py-importlib-resources/Makefile     Sun Mar 15 23:09:56 2020 +0000
+++ b/devel/py-importlib-resources/Makefile     Sun Mar 15 23:14:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/03/12 07:35:23 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/15 23:14:40 adam Exp $
 
-DISTNAME=      importlib_resources-1.2.0
+DISTNAME=      importlib_resources-1.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib_resources/}
@@ -10,8 +10,7 @@
 COMMENT=       Read resources from Python packages
 LICENSE=       apache-2.0
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
diff -r c53e8058d615 -r 8353a527605e devel/py-importlib-resources/PLIST
--- a/devel/py-importlib-resources/PLIST        Sun Mar 15 23:09:56 2020 +0000
+++ b/devel/py-importlib-resources/PLIST        Sun Mar 15 23:14:40 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/03/03 06:01:00 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/03/15 23:14:40 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,6 +7,9 @@
 ${PYSITELIB}/importlib_resources/__init__.py
 ${PYSITELIB}/importlib_resources/__init__.pyc
 ${PYSITELIB}/importlib_resources/__init__.pyo
+${PYSITELIB}/importlib_resources/_common.py
+${PYSITELIB}/importlib_resources/_common.pyc
+${PYSITELIB}/importlib_resources/_common.pyo
 ${PYSITELIB}/importlib_resources/_compat.py
 ${PYSITELIB}/importlib_resources/_compat.pyc
 ${PYSITELIB}/importlib_resources/_compat.pyo
diff -r c53e8058d615 -r 8353a527605e devel/py-importlib-resources/distinfo
--- a/devel/py-importlib-resources/distinfo     Sun Mar 15 23:09:56 2020 +0000
+++ b/devel/py-importlib-resources/distinfo     Sun Mar 15 23:14:40 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2020/03/03 06:01:00 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/03/15 23:14:40 adam Exp $
 
-SHA1 (importlib_resources-1.2.0.tar.gz) = d6912270015a1266cf8537afaaff9946245bf3ff
-RMD160 (importlib_resources-1.2.0.tar.gz) = 189c3be54509fa0a8c04bc0577abe2c7fa9e38d6
-SHA512 (importlib_resources-1.2.0.tar.gz) = e9b406ed849fe00721becf50cee5b30df40c618b3fa62aa2499fba98f91c13ae250a0c45ca7093765b644aff888e448ca3842192867dc2c5e2801736dab3f3a0
-Size (importlib_resources-1.2.0.tar.gz) = 23250 bytes
+SHA1 (importlib_resources-1.3.1.tar.gz) = 85960918fd61426af38abf4e08284ba581efa39f
+RMD160 (importlib_resources-1.3.1.tar.gz) = e0c5373589d5684676652c825a41dbe63a87bd90
+SHA512 (importlib_resources-1.3.1.tar.gz) = 28661fff19475d27caaa420244a4e2a1fe12ce525eaea4f9892fad5f50a1b991be8c9764c34c1ca0bcc840d49535a963f9784caab221848f0ce0e43b9991dd3d
+Size (importlib_resources-1.3.1.tar.gz) = 23683 bytes



Home | Main Index | Thread Index | Old Index