pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-importlib-metadata4 import py-importlib-metad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46ff257b57e2
branches:  trunk
changeset: 379108:46ff257b57e2
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Wed May 11 17:50:12 2022 +0000

description:
import py-importlib-metadata4 4.11.3 to pkgsrc.

Library to access the metadata for a Python package.

This package supplies third-party access to the functionality of
importlib.metadata including improvements added to subsequent Python versions.

diffstat:

 devel/py-importlib-metadata4/DESCR          |   4 ++
 devel/py-importlib-metadata4/Makefile       |  39 +++++++++++++++++++++++++++++
 devel/py-importlib-metadata4/PLIST          |  31 +++++++++++++++++++++++
 devel/py-importlib-metadata4/distinfo       |   5 +++
 devel/py-importlib-metadata4/files/setup.py |   4 ++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r c14e70209a25 -r 46ff257b57e2 devel/py-importlib-metadata4/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata4/DESCR        Wed May 11 17:50:12 2022 +0000
@@ -0,0 +1,4 @@
+Library to access the metadata for a Python package.
+
+This package supplies third-party access to the functionality of
+importlib.metadata including improvements added to subsequent Python versions.
diff -r c14e70209a25 -r 46ff257b57e2 devel/py-importlib-metadata4/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata4/Makefile     Wed May 11 17:50:12 2022 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2022/05/11 17:50:12 bouyer Exp $
+
+DISTNAME=      importlib_metadata-4.11.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_metadata/-metadata4/}
+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
+LICENSE=       apache-2.0
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs
+TEST_DEPENDS+= ${PYPKGPREFIX}-pep517-[0-9]*:../../devel/py-pep517
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser
+DEPENDS+=      ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+.endif
+.if ${_PYTHON_VERSION} < 39
+TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.3:../../devel/py-importlib-resources
+.endif
+
+PYTHON_VERSIONED_DEPENDENCIES+=        packaging zipp
+
+USE_LANGUAGES= # none
+
+post-extract: setuppy
+       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
+
+.PHONY: setuppy
+setuppy:
+       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c14e70209a25 -r 46ff257b57e2 devel/py-importlib-metadata4/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata4/PLIST        Wed May 11 17:50:12 2022 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/11 17:50:12 bouyer 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/_adapters.py
+${PYSITELIB}/importlib_metadata/_adapters.pyc
+${PYSITELIB}/importlib_metadata/_adapters.pyo
+${PYSITELIB}/importlib_metadata/_collections.py
+${PYSITELIB}/importlib_metadata/_collections.pyc
+${PYSITELIB}/importlib_metadata/_collections.pyo
+${PYSITELIB}/importlib_metadata/_compat.py
+${PYSITELIB}/importlib_metadata/_compat.pyc
+${PYSITELIB}/importlib_metadata/_compat.pyo
+${PYSITELIB}/importlib_metadata/_functools.py
+${PYSITELIB}/importlib_metadata/_functools.pyc
+${PYSITELIB}/importlib_metadata/_functools.pyo
+${PYSITELIB}/importlib_metadata/_itertools.py
+${PYSITELIB}/importlib_metadata/_itertools.pyc
+${PYSITELIB}/importlib_metadata/_itertools.pyo
+${PYSITELIB}/importlib_metadata/_meta.py
+${PYSITELIB}/importlib_metadata/_meta.pyc
+${PYSITELIB}/importlib_metadata/_meta.pyo
+${PYSITELIB}/importlib_metadata/_text.py
+${PYSITELIB}/importlib_metadata/_text.pyc
+${PYSITELIB}/importlib_metadata/_text.pyo
+${PYSITELIB}/importlib_metadata/py.typed
diff -r c14e70209a25 -r 46ff257b57e2 devel/py-importlib-metadata4/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata4/distinfo     Wed May 11 17:50:12 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/11 17:50:12 bouyer Exp $
+
+BLAKE2s (importlib_metadata-4.11.3.tar.gz) = c9f89595f4b21583088624db461afb09140d86a12c4352fb637df9c9ce25ede1
+SHA512 (importlib_metadata-4.11.3.tar.gz) = d33efa2abba5f6f770615f133c940a61948ce5091d59526ee2c7e3866aebd74d79ac464f72602404c2b56fe284a93a9cd1b0cac251ceea53666019485bdddf23
+Size (importlib_metadata-4.11.3.tar.gz) = 43607 bytes
diff -r c14e70209a25 -r 46ff257b57e2 devel/py-importlib-metadata4/files/setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-importlib-metadata4/files/setup.py       Wed May 11 17:50:12 2022 +0000
@@ -0,0 +1,4 @@
+from setuptools import setup
+
+if __name__ == '__main__':
+    setup()



Home | Main Index | Thread Index | Old Index