pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-importlib-metadata2
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jan 25 08:55:50 UTC 2022
Added Files:
pkgsrc/devel/py-importlib-metadata2: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-importlib-metadata2/DESCR \
pkgsrc/devel/py-importlib-metadata2/Makefile \
pkgsrc/devel/py-importlib-metadata2/PLIST \
pkgsrc/devel/py-importlib-metadata2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-importlib-metadata2/DESCR
diff -u /dev/null pkgsrc/devel/py-importlib-metadata2/DESCR:1.1
--- /dev/null Tue Jan 25 08:55:50 2022
+++ pkgsrc/devel/py-importlib-metadata2/DESCR Tue Jan 25 08:55:50 2022
@@ -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.
Index: pkgsrc/devel/py-importlib-metadata2/Makefile
diff -u /dev/null pkgsrc/devel/py-importlib-metadata2/Makefile:1.1
--- /dev/null Tue Jan 25 08:55:50 2022
+++ pkgsrc/devel/py-importlib-metadata2/Makefile Tue Jan 25 08:55:50 2022
@@ -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"
Index: pkgsrc/devel/py-importlib-metadata2/PLIST
diff -u /dev/null pkgsrc/devel/py-importlib-metadata2/PLIST:1.1
--- /dev/null Tue Jan 25 08:55:50 2022
+++ pkgsrc/devel/py-importlib-metadata2/PLIST Tue Jan 25 08:55:50 2022
@@ -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
Index: pkgsrc/devel/py-importlib-metadata2/distinfo
diff -u /dev/null pkgsrc/devel/py-importlib-metadata2/distinfo:1.1
--- /dev/null Tue Jan 25 08:55:50 2022
+++ pkgsrc/devel/py-importlib-metadata2/distinfo Tue Jan 25 08:55:50 2022
@@ -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