git: 431bfb2326da - main - devel/py-stdlibs: Add py-stdlibs 2024.1.28

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 00:01:15 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=431bfb2326da5683855083337ef5cfa04ca5f599

commit 431bfb2326da5683855083337ef5cfa04ca5f599
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-05 23:56:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-05 23:56:48 +0000

    devel/py-stdlibs: Add py-stdlibs 2024.1.28
    
    stdlibs provides a static listing of all known modules in the Python standard
    library, with separate lists available for each major release dating back to
    Python 2.3. It also includes combined lists of all module names that were ever
    available in any 3.x release, any 2.x release, or both.
    
    Note: On Python versions 3.10 or newer, a list of module names for the active
    runtime is available sys.stdlib_module_names. This package exists to provide an
    historical record for use with static analysis and other tooling.
    
    This package only includes listings for CPython releases. If other runtimes
    would be useful, open an issue and start a discussion on how best that can be
    accomodated.
---
 devel/Makefile             |  1 +
 devel/py-stdlibs/Makefile  | 22 ++++++++++++++++++++++
 devel/py-stdlibs/distinfo  |  3 +++
 devel/py-stdlibs/pkg-descr | 12 ++++++++++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c0f887ef5c5e..d234ef48768d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5702,6 +5702,7 @@
     SUBDIR += py-statgrab
     SUBDIR += py-statsd
     SUBDIR += py-stdlib-list
+    SUBDIR += py-stdlibs
     SUBDIR += py-stdnum
     SUBDIR += py-stevedore
     SUBDIR += py-stone
diff --git a/devel/py-stdlibs/Makefile b/devel/py-stdlibs/Makefile
new file mode 100644
index 000000000000..8f7024d27b68
--- /dev/null
+++ b/devel/py-stdlibs/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	stdlibs
+PORTVERSION=	2024.1.28
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	List of packages in the stdlib
+WWW=		https://stdlibs.omnilib.dev/en/stable/ \
+		https://github.com/omnilib/stdlibs
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.8<4:devel/py-flit-core@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-stdlibs/distinfo b/devel/py-stdlibs/distinfo
new file mode 100644
index 000000000000..d4c705db45f0
--- /dev/null
+++ b/devel/py-stdlibs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712330557
+SHA256 (stdlibs-2024.1.28.tar.gz) = ea158ac5b23c1a304153678908044d89a94c6354fa724f4452d754f9d6c16941
+SIZE (stdlibs-2024.1.28.tar.gz) = 25491
diff --git a/devel/py-stdlibs/pkg-descr b/devel/py-stdlibs/pkg-descr
new file mode 100644
index 000000000000..b1c3a4d8fe2e
--- /dev/null
+++ b/devel/py-stdlibs/pkg-descr
@@ -0,0 +1,12 @@
+stdlibs provides a static listing of all known modules in the Python standard
+library, with separate lists available for each major release dating back to
+Python 2.3. It also includes combined lists of all module names that were ever
+available in any 3.x release, any 2.x release, or both.
+
+Note: On Python versions 3.10 or newer, a list of module names for the active
+runtime is available sys.stdlib_module_names. This package exists to provide an
+historical record for use with static analysis and other tooling.
+
+This package only includes listings for CPython releases. If other runtimes
+would be useful, open an issue and start a discussion on how best that can be
+accomodated.