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: added version 1.0.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50d32258b699
branches:  trunk
changeset: 423115:50d32258b699
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 10 18:28:25 2020 +0000

description:
py-importlib-resources: added version 1.0.2

importlib_resources is a backport of Python 3.7's standard library
importlib.resources module for Python 2.7, and 3.4 through 3.6. Users of Python
3.7 and beyond should use the standard library module, since for these
versions, importlib_resources just delegates to that module.

diffstat:

 devel/Makefile                        |   3 +-
 devel/py-importlib-resources/DESCR    |   4 +
 devel/py-importlib-resources/Makefile |  24 ++++++++++
 devel/py-importlib-resources/PLIST    |  80 +++++++++++++++++++++++++++++++++++
 devel/py-importlib-resources/distinfo |   6 ++
 5 files changed, 116 insertions(+), 1 deletions(-)

diffs (147 lines):

diff -r aff9f4305801 -r 50d32258b699 devel/Makefile
--- a/devel/Makefile    Mon Feb 10 17:58:54 2020 +0000
+++ b/devel/Makefile    Mon Feb 10 18:28:25 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3046 2020/02/10 14:30:29 mef Exp $
+# $NetBSD: Makefile,v 1.3047 2020/02/10 18:28:25 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2239,6 +2239,7 @@
 SUBDIR+=       py-hypothesis
 SUBDIR+=       py-idle
 SUBDIR+=       py-importlib-metadata
+SUBDIR+=       py-importlib-resources
 SUBDIR+=       py-incremental
 SUBDIR+=       py-intervaltree
 SUBDIR+=       py-iowait
diff -r aff9f4305801 -r 50d32258b699 devel/py-importlib-resources/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-resources/DESCR        Mon Feb 10 18:28:25 2020 +0000
@@ -0,0 +1,4 @@
+importlib_resources is a backport of Python 3.7's standard library
+importlib.resources module for Python 2.7, and 3.4 through 3.6. Users of Python
+3.7 and beyond should use the standard library module, since for these
+versions, importlib_resources just delegates to that module.
diff -r aff9f4305801 -r 50d32258b699 devel/py-importlib-resources/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-resources/Makefile     Mon Feb 10 18:28:25 2020 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/02/10 18:28:25 adam Exp $
+
+DISTNAME=      importlib_resources-1.0.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=i/importlib_resources/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://importlib-resources.readthedocs.io/
+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
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
+.endif
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aff9f4305801 -r 50d32258b699 devel/py-importlib-resources/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-resources/PLIST        Mon Feb 10 18:28:25 2020 +0000
@@ -0,0 +1,80 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/10 18:28:25 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/importlib_resources/__init__.py
+${PYSITELIB}/importlib_resources/__init__.pyc
+${PYSITELIB}/importlib_resources/__init__.pyo
+${PYSITELIB}/importlib_resources/_compat.py
+${PYSITELIB}/importlib_resources/_compat.pyc
+${PYSITELIB}/importlib_resources/_compat.pyo
+${PYSITELIB}/importlib_resources/_py2.py
+${PYSITELIB}/importlib_resources/_py2.pyc
+${PYSITELIB}/importlib_resources/_py2.pyo
+${PYSITELIB}/importlib_resources/_py3.py
+${PLIST.py3x}${PYSITELIB}/importlib_resources/_py3.pyc
+${PLIST.py3x}${PYSITELIB}/importlib_resources/_py3.pyo
+${PYSITELIB}/importlib_resources/abc.py
+${PYSITELIB}/importlib_resources/abc.pyc
+${PYSITELIB}/importlib_resources/abc.pyo
+${PYSITELIB}/importlib_resources/docs/changelog.rst
+${PYSITELIB}/importlib_resources/docs/conf.py
+${PYSITELIB}/importlib_resources/docs/conf.pyc
+${PYSITELIB}/importlib_resources/docs/conf.pyo
+${PYSITELIB}/importlib_resources/docs/index.rst
+${PYSITELIB}/importlib_resources/docs/migration.rst
+${PYSITELIB}/importlib_resources/docs/using.rst
+${PYSITELIB}/importlib_resources/tests/__init__.py
+${PYSITELIB}/importlib_resources/tests/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data01/__init__.py
+${PYSITELIB}/importlib_resources/tests/data01/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data01/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data01/binary.file
+${PYSITELIB}/importlib_resources/tests/data01/subdirectory/__init__.py
+${PYSITELIB}/importlib_resources/tests/data01/subdirectory/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data01/subdirectory/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data01/subdirectory/binary.file
+${PYSITELIB}/importlib_resources/tests/data01/utf-16.file
+${PYSITELIB}/importlib_resources/tests/data01/utf-8.file
+${PYSITELIB}/importlib_resources/tests/data02/__init__.py
+${PYSITELIB}/importlib_resources/tests/data02/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data02/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data02/one/__init__.py
+${PYSITELIB}/importlib_resources/tests/data02/one/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data02/one/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data02/one/resource1.txt
+${PYSITELIB}/importlib_resources/tests/data02/two/__init__.py
+${PYSITELIB}/importlib_resources/tests/data02/two/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/data02/two/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/data02/two/resource2.txt
+${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/resource1.txt
+${PYSITELIB}/importlib_resources/tests/test_open.py
+${PYSITELIB}/importlib_resources/tests/test_open.pyc
+${PYSITELIB}/importlib_resources/tests/test_open.pyo
+${PYSITELIB}/importlib_resources/tests/test_path.py
+${PYSITELIB}/importlib_resources/tests/test_path.pyc
+${PYSITELIB}/importlib_resources/tests/test_path.pyo
+${PYSITELIB}/importlib_resources/tests/test_read.py
+${PYSITELIB}/importlib_resources/tests/test_read.pyc
+${PYSITELIB}/importlib_resources/tests/test_read.pyo
+${PYSITELIB}/importlib_resources/tests/test_resource.py
+${PYSITELIB}/importlib_resources/tests/test_resource.pyc
+${PYSITELIB}/importlib_resources/tests/test_resource.pyo
+${PYSITELIB}/importlib_resources/tests/util.py
+${PYSITELIB}/importlib_resources/tests/util.pyc
+${PYSITELIB}/importlib_resources/tests/util.pyo
+${PYSITELIB}/importlib_resources/tests/zipdata01/__init__.py
+${PYSITELIB}/importlib_resources/tests/zipdata01/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/zipdata01/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/zipdata01/ziptestdata.zip
+${PYSITELIB}/importlib_resources/tests/zipdata02/__init__.py
+${PYSITELIB}/importlib_resources/tests/zipdata02/__init__.pyc
+${PYSITELIB}/importlib_resources/tests/zipdata02/__init__.pyo
+${PYSITELIB}/importlib_resources/tests/zipdata02/ziptestdata.zip
+${PYSITELIB}/importlib_resources/version.txt
diff -r aff9f4305801 -r 50d32258b699 devel/py-importlib-resources/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-resources/distinfo     Mon Feb 10 18:28:25 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/02/10 18:28:25 adam Exp $
+
+SHA1 (importlib_resources-1.0.2.tar.gz) = 10be54cfde761c5cb6762739c8347ec59d2302ac
+RMD160 (importlib_resources-1.0.2.tar.gz) = ccbed771125ab62eda228842bc87339dd9aa21a8
+SHA512 (importlib_resources-1.0.2.tar.gz) = 50bfc5130a2c9c9354efef1cd7132e805ed0f13467ba67172f83e11d907212bef3957aeef51fd904b73996c8280008d99c918637956a470448dfd67ef4807f82
+Size (importlib_resources-1.0.2.tar.gz) = 23602 bytes



Home | Main Index | Thread Index | Old Index