git: 6d9e0c7c80fc - main - devel/py-importlib-metadata7: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jul 2024 18:22:37 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d9e0c7c80fc10db893e694552f27d4280778b4c

commit 6d9e0c7c80fc10db893e694552f27d4280778b4c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-07-30 18:05:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-07-30 18:22:19 +0000

    devel/py-importlib-metadata7: New port
    
    This is the 7.X branch of devel/py-importlib-metadata added in
    preparation upgrading the same to 8.X.
---
 devel/Makefile                         |  1 +
 devel/py-importlib-metadata7/Makefile  | 28 ++++++++++++++++++++++++++++
 devel/py-importlib-metadata7/distinfo  |  3 +++
 devel/py-importlib-metadata7/pkg-descr |  1 +
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index baed1b2e314a..374f7f19ffc9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4936,6 +4936,7 @@
     SUBDIR += py-importlab
     SUBDIR += py-importlib-metadata
     SUBDIR += py-importlib-metadata6
+    SUBDIR += py-importlib-metadata7
     SUBDIR += py-importlib-resources
     SUBDIR += py-incremental
     SUBDIR += py-infinity
diff --git a/devel/py-importlib-metadata7/Makefile b/devel/py-importlib-metadata7/Makefile
new file mode 100644
index 000000000000..5ae3cce9019d
--- /dev/null
+++ b/devel/py-importlib-metadata7/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	importlib-metadata
+DISTVERSION=	7.2.1
+CATEGORIES=	devel
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	7
+DISTNAME=	importlib_metadata-${PORTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Read metadata from Python packages
+WWW=		https://github.com/python/importlib_metadata
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517 pytest
+
+NO_ARCH=	yes
+
+TESTING_UNSAFE=	ModuleNotFoundError: No module named 'pyfakefs'
+
+.include <bsd.port.mk>
diff --git a/devel/py-importlib-metadata7/distinfo b/devel/py-importlib-metadata7/distinfo
new file mode 100644
index 000000000000..bcd30299acb4
--- /dev/null
+++ b/devel/py-importlib-metadata7/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722239228
+SHA256 (importlib_metadata-7.2.1.tar.gz) = 509ecb2ab77071db5137c655e24ceb3eee66e7bbc6574165d0d114d9fc4bbe68
+SIZE (importlib_metadata-7.2.1.tar.gz) = 52834
diff --git a/devel/py-importlib-metadata7/pkg-descr b/devel/py-importlib-metadata7/pkg-descr
new file mode 100644
index 000000000000..39f1b01ed37b
--- /dev/null
+++ b/devel/py-importlib-metadata7/pkg-descr
@@ -0,0 +1 @@
+Read metadata from Python packages