pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel py-importlib-metadata: added version 0.15
details: https://anonhg.NetBSD.org/pkgsrc/rev/128fb18700dc
branches: trunk
changeset: 334505:128fb18700dc
user: adam <adam%pkgsrc.org@localhost>
date: Wed May 29 19:51:10 2019 +0000
description:
py-importlib-metadata: added version 0.15
importlib_metadata is a library which provides an API for accessing an
installed package's metadata, such as its entry points or its top-level name.
This functionality intends to replace most uses of pkg_resources entry point
API and metadata API. Along with importlib.resources in Python 3.7 and newer
(backported as importlib_resources for older versions of Python), this can
eliminate the need to use the older and less efficient pkg_resources package.
importlib_metadata is a backport of Python 3.8's standard library
importlib.metadata module for Python 2.7, and 3.4 through 3.7. Users of Python
3.8 and beyond are encouraged to use the standard library module, and in fact
for these versions, importlib_metadata just shadows that module. Developers
looking for detailed API descriptions should refer to the Python 3.8 standard
library documentation.
diffstat:
devel/Makefile | 3 +-
devel/py-importlib-metadata/DESCR | 13 +++++++++++
devel/py-importlib-metadata/Makefile | 24 +++++++++++++++++++++
devel/py-importlib-metadata/PLIST | 41 ++++++++++++++++++++++++++++++++++++
devel/py-importlib-metadata/distinfo | 6 +++++
5 files changed, 86 insertions(+), 1 deletions(-)
diffs (117 lines):
diff -r f5398360e799 -r 128fb18700dc devel/Makefile
--- a/devel/Makefile Wed May 29 19:48:29 2019 +0000
+++ b/devel/Makefile Wed May 29 19:51:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2853 2019/05/15 08:39:05 markd Exp $
+# $NetBSD: Makefile,v 1.2854 2019/05/29 19:51:10 adam Exp $
#
COMMENT= Development utilities
@@ -2129,6 +2129,7 @@
SUBDIR+= py-hyperscan
SUBDIR+= py-hypothesis
SUBDIR+= py-idle
+SUBDIR+= py-importlib-metadata
SUBDIR+= py-incremental
SUBDIR+= py-intervaltree
SUBDIR+= py-iowait
diff -r f5398360e799 -r 128fb18700dc devel/py-importlib-metadata/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata/DESCR Wed May 29 19:51:10 2019 +0000
@@ -0,0 +1,13 @@
+importlib_metadata is a library which provides an API for accessing an
+installed package's metadata, such as its entry points or its top-level name.
+This functionality intends to replace most uses of pkg_resources entry point
+API and metadata API. Along with importlib.resources in Python 3.7 and newer
+(backported as importlib_resources for older versions of Python), this can
+eliminate the need to use the older and less efficient pkg_resources package.
+
+importlib_metadata is a backport of Python 3.8's standard library
+importlib.metadata module for Python 2.7, and 3.4 through 3.7. Users of Python
+3.8 and beyond are encouraged to use the standard library module, and in fact
+for these versions, importlib_metadata just shadows that module. Developers
+looking for detailed API descriptions should refer to the Python 3.8 standard
+library documentation.
diff -r f5398360e799 -r 128fb18700dc devel/py-importlib-metadata/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata/Makefile Wed May 29 19:51:10 2019 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2019/05/29 19:51:10 adam Exp $
+
+DISTNAME= importlib_metadata-0.15
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib-metadata/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://importlib-metadata.readthedocs.io/
+COMMENT= Read metadata from Python packages
+LICENSE= apache-2.0
+
+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}-contextlib2-[0-9]*:../../devel/py-contextlib2
+DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+.endif
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f5398360e799 -r 128fb18700dc devel/py-importlib-metadata/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata/PLIST Wed May 29 19:51:10 2019 +0000
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/29 19:51:10 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_metadata/__init__.py
+${PYSITELIB}/importlib_metadata/__init__.pyc
+${PYSITELIB}/importlib_metadata/__init__.pyo
+${PYSITELIB}/importlib_metadata/_compat.py
+${PYSITELIB}/importlib_metadata/_compat.pyc
+${PYSITELIB}/importlib_metadata/_compat.pyo
+${PYSITELIB}/importlib_metadata/docs/__init__.py
+${PYSITELIB}/importlib_metadata/docs/__init__.pyc
+${PYSITELIB}/importlib_metadata/docs/__init__.pyo
+${PYSITELIB}/importlib_metadata/docs/changelog.rst
+${PYSITELIB}/importlib_metadata/docs/conf.py
+${PYSITELIB}/importlib_metadata/docs/conf.pyc
+${PYSITELIB}/importlib_metadata/docs/conf.pyo
+${PYSITELIB}/importlib_metadata/docs/index.rst
+${PYSITELIB}/importlib_metadata/docs/using.rst
+${PYSITELIB}/importlib_metadata/tests/__init__.py
+${PYSITELIB}/importlib_metadata/tests/__init__.pyc
+${PYSITELIB}/importlib_metadata/tests/__init__.pyo
+${PYSITELIB}/importlib_metadata/tests/data/__init__.py
+${PYSITELIB}/importlib_metadata/tests/data/__init__.pyc
+${PYSITELIB}/importlib_metadata/tests/data/__init__.pyo
+${PYSITELIB}/importlib_metadata/tests/data/example-21.12-py3-none-any.whl
+${PYSITELIB}/importlib_metadata/tests/data/example-21.12-py3.6.egg
+${PYSITELIB}/importlib_metadata/tests/fixtures.py
+${PYSITELIB}/importlib_metadata/tests/fixtures.pyc
+${PYSITELIB}/importlib_metadata/tests/fixtures.pyo
+${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_main.py
+${PYSITELIB}/importlib_metadata/tests/test_main.pyc
+${PYSITELIB}/importlib_metadata/tests/test_main.pyo
+${PYSITELIB}/importlib_metadata/tests/test_zip.py
+${PYSITELIB}/importlib_metadata/tests/test_zip.pyc
+${PYSITELIB}/importlib_metadata/tests/test_zip.pyo
diff -r f5398360e799 -r 128fb18700dc devel/py-importlib-metadata/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata/distinfo Wed May 29 19:51:10 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/05/29 19:51:10 adam Exp $
+
+SHA1 (importlib_metadata-0.15.tar.gz) = b09865a933d56da8b0638bb167ce3a9f901943dd
+RMD160 (importlib_metadata-0.15.tar.gz) = 505f7be32e23313cd7a36d58f10029f07316587d
+SHA512 (importlib_metadata-0.15.tar.gz) = 3d243cd6d8f5e8e9b50fa48772c9144f445986709013b66e0e45111022f38ff049a44014e22ed4b9d0c79ca733fc05d8f4d05d214de283f8f7694bbf3c1b87dd
+Size (importlib_metadata-0.15.tar.gz) = 22893 bytes
Home |
Main Index |
Thread Index |
Old Index