pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-importlib-metadata4



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Wed May 11 17:50:13 UTC 2022

Added Files:
        pkgsrc/devel/py-importlib-metadata4: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-importlib-metadata4/files: setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-importlib-metadata4/DESCR \
    pkgsrc/devel/py-importlib-metadata4/Makefile \
    pkgsrc/devel/py-importlib-metadata4/PLIST \
    pkgsrc/devel/py-importlib-metadata4/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-importlib-metadata4/files/setup.py

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-metadata4/DESCR
diff -u /dev/null pkgsrc/devel/py-importlib-metadata4/DESCR:1.1
--- /dev/null   Wed May 11 17:50:13 2022
+++ pkgsrc/devel/py-importlib-metadata4/DESCR   Wed May 11 17:50:12 2022
@@ -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.
Index: pkgsrc/devel/py-importlib-metadata4/Makefile
diff -u /dev/null pkgsrc/devel/py-importlib-metadata4/Makefile:1.1
--- /dev/null   Wed May 11 17:50:13 2022
+++ pkgsrc/devel/py-importlib-metadata4/Makefile        Wed May 11 17:50:12 2022
@@ -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"
Index: pkgsrc/devel/py-importlib-metadata4/PLIST
diff -u /dev/null pkgsrc/devel/py-importlib-metadata4/PLIST:1.1
--- /dev/null   Wed May 11 17:50:13 2022
+++ pkgsrc/devel/py-importlib-metadata4/PLIST   Wed May 11 17:50:12 2022
@@ -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
Index: pkgsrc/devel/py-importlib-metadata4/distinfo
diff -u /dev/null pkgsrc/devel/py-importlib-metadata4/distinfo:1.1
--- /dev/null   Wed May 11 17:50:13 2022
+++ pkgsrc/devel/py-importlib-metadata4/distinfo        Wed May 11 17:50:12 2022
@@ -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

Index: pkgsrc/devel/py-importlib-metadata4/files/setup.py
diff -u /dev/null pkgsrc/devel/py-importlib-metadata4/files/setup.py:1.1
--- /dev/null   Wed May 11 17:50:13 2022
+++ pkgsrc/devel/py-importlib-metadata4/files/setup.py  Wed May 11 17:50:13 2022
@@ -0,0 +1,4 @@
+from setuptools import setup
+
+if __name__ == '__main__':
+    setup()



Home | Main Index | Thread Index | Old Index