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.
This commit is contained in:
parent
28d88c9355
commit
43332ef59c
5 changed files with 86 additions and 1 deletions
|
@ -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-hgview
|
|||
SUBDIR+= py-hyperscan
|
||||
SUBDIR+= py-hypothesis
|
||||
SUBDIR+= py-idle
|
||||
SUBDIR+= py-importlib-metadata
|
||||
SUBDIR+= py-incremental
|
||||
SUBDIR+= py-intervaltree
|
||||
SUBDIR+= py-iowait
|
||||
|
|
13
devel/py-importlib-metadata/DESCR
Normal file
13
devel/py-importlib-metadata/DESCR
Normal file
|
@ -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.
|
24
devel/py-importlib-metadata/Makefile
Normal file
24
devel/py-importlib-metadata/Makefile
Normal file
|
@ -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
|
||||
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"
|
41
devel/py-importlib-metadata/PLIST
Normal file
41
devel/py-importlib-metadata/PLIST
Normal file
|
@ -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
|
6
devel/py-importlib-metadata/distinfo
Normal file
6
devel/py-importlib-metadata/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue