pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-importlib-metadata2 devel/py-importlib-metada...
details: https://anonhg.NetBSD.org/pkgsrc/rev/700ed1aae608
branches: trunk
changeset: 372461:700ed1aae608
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jan 25 08:55:50 2022 +0000
description:
devel/py-importlib-metadata2: import py27-importlib-metadata-2.0.0nb1
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 package contains the last version supporting python 2.7.
diffstat:
devel/py-importlib-metadata2/DESCR | 15 +++++++++++
devel/py-importlib-metadata2/Makefile | 32 +++++++++++++++++++++++++
devel/py-importlib-metadata2/PLIST | 44 +++++++++++++++++++++++++++++++++++
devel/py-importlib-metadata2/distinfo | 5 +++
4 files changed, 96 insertions(+), 0 deletions(-)
diffs (112 lines):
diff -r ee79d7709154 -r 700ed1aae608 devel/py-importlib-metadata2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata2/DESCR Tue Jan 25 08:55:50 2022 +0000
@@ -0,0 +1,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 package contains the last version supporting python 2.7.
diff -r ee79d7709154 -r 700ed1aae608 devel/py-importlib-metadata2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata2/Makefile Tue Jan 25 08:55:50 2022 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2022/01/25 08:55:50 wiz Exp $
+
+DISTNAME= importlib_metadata-2.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+PKGREVISION= 1
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib-metadata/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://importlib-metadata.readthedocs.io/
+COMMENT= Read metadata from Python packages (python 2.x)
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
+DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
+DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging2
+DEPENDS+= ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp1
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5
+TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs
+TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.3:../../devel/py-importlib-resources
+TEST_DEPENDS+= ${PYPKGPREFIX}-pep517-[0-9]*:../../devel/py-pep517
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+USE_LANGUAGES= # none
+
+post-extract:
+ ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ee79d7709154 -r 700ed1aae608 devel/py-importlib-metadata2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata2/PLIST Tue Jan 25 08:55:50 2022 +0000
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/25 08:55:50 wiz 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_integration.py
+${PYSITELIB}/importlib_metadata/tests/test_integration.pyc
+${PYSITELIB}/importlib_metadata/tests/test_integration.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 ee79d7709154 -r 700ed1aae608 devel/py-importlib-metadata2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata2/distinfo Tue Jan 25 08:55:50 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/25 08:55:50 wiz Exp $
+
+BLAKE2s (importlib_metadata-2.0.0.tar.gz) = bbde33ce188b218f37227e733c60b21231ee23395d780c1c9d676e615bcf000b
+SHA512 (importlib_metadata-2.0.0.tar.gz) = 3f789d717f04f7649dd4a75895669b4f9b875671937035c1c76bd089504afff8c2ba5bfb6a91096ba29eccadc88dca98ea1da5107772fd2053541db15c52b16a
+Size (importlib_metadata-2.0.0.tar.gz) = 29289 bytes
Home |
Main Index |
Thread Index |
Old Index