pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Wed May 29 19:51:10 UTC 2019
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-importlib-metadata: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2853 -r1.2854 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-importlib-metadata/DESCR \
pkgsrc/devel/py-importlib-metadata/Makefile \
pkgsrc/devel/py-importlib-metadata/PLIST \
pkgsrc/devel/py-importlib-metadata/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2853 pkgsrc/devel/Makefile:1.2854
--- pkgsrc/devel/Makefile:1.2853 Wed May 15 08:39:05 2019
+++ pkgsrc/devel/Makefile Wed May 29 19:51:10 2019
@@ -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
Added files:
Index: pkgsrc/devel/py-importlib-metadata/DESCR
diff -u /dev/null pkgsrc/devel/py-importlib-metadata/DESCR:1.1
--- /dev/null Wed May 29 19:51:10 2019
+++ pkgsrc/devel/py-importlib-metadata/DESCR Wed May 29 19:51:10 2019
@@ -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.
Index: pkgsrc/devel/py-importlib-metadata/Makefile
diff -u /dev/null pkgsrc/devel/py-importlib-metadata/Makefile:1.1
--- /dev/null Wed May 29 19:51:10 2019
+++ pkgsrc/devel/py-importlib-metadata/Makefile Wed May 29 19:51:10 2019
@@ -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"
Index: pkgsrc/devel/py-importlib-metadata/PLIST
diff -u /dev/null pkgsrc/devel/py-importlib-metadata/PLIST:1.1
--- /dev/null Wed May 29 19:51:10 2019
+++ pkgsrc/devel/py-importlib-metadata/PLIST Wed May 29 19:51:10 2019
@@ -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
Index: pkgsrc/devel/py-importlib-metadata/distinfo
diff -u /dev/null pkgsrc/devel/py-importlib-metadata/distinfo:1.1
--- /dev/null Wed May 29 19:51:10 2019
+++ pkgsrc/devel/py-importlib-metadata/distinfo Wed May 29 19:51:10 2019
@@ -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