pkgsrc-WIP-changes archive

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

py-backports.entry_points_selectable: Import py-backports.entry_points_selectable-1.1.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Thu Jul 22 14:36:27 2021 +0900
Changeset:	65c4e5909b052d1495cafbe2e300e03d37b35881

Modified Files:
	Makefile
Added Files:
	py-backports.entry_points_selectable/DESCR
	py-backports.entry_points_selectable/Makefile
	py-backports.entry_points_selectable/PLIST
	py-backports.entry_points_selectable/distinfo

Log Message:
py-backports.entry_points_selectable: Import py-backports.entry_points_selectable-1.1.0

Compatibility shim to ease adoption of importlib_metadata 3.6. Supplies
forward-compatibility of "selectable" entry points even on older versions
of importlib_metadata and importlib.metadata, and avoids usage that
triggers deprecation warnings.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=65c4e5909b052d1495cafbe2e300e03d37b35881

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                      |  1 +
 py-backports.entry_points_selectable/DESCR    |  4 ++++
 py-backports.entry_points_selectable/Makefile | 20 ++++++++++++++++++++
 py-backports.entry_points_selectable/PLIST    | 12 ++++++++++++
 py-backports.entry_points_selectable/distinfo |  6 ++++++
 5 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b15b7cca21..7fcf3c8ed7 100644
--- a/Makefile
+++ b/Makefile
@@ -3355,6 +3355,7 @@ SUBDIR+=	py-azure-storage-blob
 SUBDIR+=	py-b3j0f.aop
 SUBDIR+=	py-backports-datetime-fromisoformat
 SUBDIR+=	py-backports.csv
+SUBDIR+=	py-backports.entry_points_selectable
 SUBDIR+=	py-badges
 SUBDIR+=	py-bandicoot
 SUBDIR+=	py-bandit
diff --git a/py-backports.entry_points_selectable/DESCR b/py-backports.entry_points_selectable/DESCR
new file mode 100644
index 0000000000..f3301d5bb4
--- /dev/null
+++ b/py-backports.entry_points_selectable/DESCR
@@ -0,0 +1,4 @@
+Compatibility shim to ease adoption of importlib_metadata 3.6. Supplies
+forward-compatibility of "selectable" entry points even on older versions
+of importlib_metadata and importlib.metadata, and avoids usage that
+triggers deprecation warnings.
diff --git a/py-backports.entry_points_selectable/Makefile b/py-backports.entry_points_selectable/Makefile
new file mode 100644
index 0000000000..27b99b3cd1
--- /dev/null
+++ b/py-backports.entry_points_selectable/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	backports.entry_points_selectable-1.1.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=b/backports.entry_points_selectable/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/jaraco/backports.entry_points_selectable
+COMMENT=	Compatibility shim providing selectable entry points
+LICENSE=	mit
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=	${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-backports.entry_points_selectable/PLIST b/py-backports.entry_points_selectable/PLIST
new file mode 100644
index 0000000000..b48a7791ba
--- /dev/null
+++ b/py-backports.entry_points_selectable/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+${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}/backports/__init__.py
+${PYSITELIB}/backports/__init__.pyc
+${PYSITELIB}/backports/__init__.pyo
+${PYSITELIB}/backports/entry_points_selectable.py
+${PYSITELIB}/backports/entry_points_selectable.pyc
+${PYSITELIB}/backports/entry_points_selectable.pyo
diff --git a/py-backports.entry_points_selectable/distinfo b/py-backports.entry_points_selectable/distinfo
new file mode 100644
index 0000000000..2275d812e2
--- /dev/null
+++ b/py-backports.entry_points_selectable/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (backports.entry_points_selectable-1.1.0.tar.gz) = fa4750335874bfdbf9d266b8481301da99f08d2c
+RMD160 (backports.entry_points_selectable-1.1.0.tar.gz) = 4d5ac2f2285a16e24d11cf652d65481d01f6b934
+SHA512 (backports.entry_points_selectable-1.1.0.tar.gz) = 86c794899cac2f916b36388fd071a619ef27743ac94f0bb058e6157d02481109088ed7891c7775c2f859b92150315acce9052b04ae000363c54af052fbf50ea7
+Size (backports.entry_points_selectable-1.1.0.tar.gz) = 8770 bytes


Home | Main Index | Thread Index | Old Index