pkgsrc-WIP-changes archive

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

py-extra-platforms: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri May 29 10:33:47 2026 +0200
Changeset:	5e81f9c4efaa3858b08bbac460deff3ac0b95647

Modified Files:
	Makefile
Added Files:
	py-extra-platforms/DESCR
	py-extra-platforms/Makefile
	py-extra-platforms/PLIST
	py-extra-platforms/distinfo

Log Message:
py-extra-platforms: add new package

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

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

diffstat:
 Makefile                    |  3 ++-
 py-extra-platforms/DESCR    |  5 ++++
 py-extra-platforms/Makefile | 24 ++++++++++++++++++
 py-extra-platforms/PLIST    | 62 +++++++++++++++++++++++++++++++++++++++++++++
 py-extra-platforms/distinfo |  5 ++++
 5 files changed, 98 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index d93443504e..5f1669017a 100644
--- a/Makefile
+++ b/Makefile
@@ -3847,6 +3847,7 @@ SUBDIR+=	py-executor
 SUBDIR+=	py-exocode
 SUBDIR+=	py-expander
 SUBDIR+=	py-expression
+SUBDIR+=	py-extra-platforms
 SUBDIR+=	py-extremes
 SUBDIR+=	py-face
 SUBDIR+=	py-factory-boy
@@ -5314,9 +5315,9 @@ SUBDIR+=	ruby-xmpp4r
 SUBDIR+=	ruby-yaml_waml
 SUBDIR+=	runas
 SUBDIR+=	runcpm
-SUBDIR+=	rust195
 SUBDIR+=	rust-beta
 SUBDIR+=	rust-synapse-compress-state
+SUBDIR+=	rust195
 SUBDIR+=	s-nail
 SUBDIR+=	s2tc
 SUBDIR+=	s3cmd
diff --git a/py-extra-platforms/DESCR b/py-extra-platforms/DESCR
new file mode 100644
index 0000000000..6f58ae16ab
--- /dev/null
+++ b/py-extra-platforms/DESCR
@@ -0,0 +1,5 @@
+Extra Platforms detects the runtime architecture, operating system
+(including Linux distribution), shell, terminal, CI environment &
+AI coding agents, and exposes rich, cacheable metadata (version,
+codename, icon, canonical URL). It also groups them into reusable
+families.
diff --git a/py-extra-platforms/Makefile b/py-extra-platforms/Makefile
new file mode 100644
index 0000000000..17e1d287d7
--- /dev/null
+++ b/py-extra-platforms/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	extra_platforms-13.0.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES=	sysutils python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kdeldycke/}
+GITHUB_PROJECT=	extra-platforms
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/kdeldycke/extra-platforms/
+COMMENT=	Detect architecture, OS, terminal, CI environment & AI coding agents
+LICENSE=	apache-2.0
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-uv-build-[0-9]*:../../devel/py-uv-build
+
+PY_RENAME_BINARIES=	extra-platforms
+
+# TODO: Extract dependencies from pyproject.toml
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-extra-platforms/PLIST b/py-extra-platforms/PLIST
new file mode 100644
index 0000000000..26e7b2f6fd
--- /dev/null
+++ b/py-extra-platforms/PLIST
@@ -0,0 +1,62 @@
+@comment $NetBSD$
+bin/extra-platforms-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/license
+${PYSITELIB}/extra_platforms/__init__.py
+${PYSITELIB}/extra_platforms/__init__.pyc
+${PYSITELIB}/extra_platforms/__init__.pyo
+${PYSITELIB}/extra_platforms/__main__.py
+${PYSITELIB}/extra_platforms/__main__.pyc
+${PYSITELIB}/extra_platforms/__main__.pyo
+${PYSITELIB}/extra_platforms/_docstrings.py
+${PYSITELIB}/extra_platforms/_docstrings.pyc
+${PYSITELIB}/extra_platforms/_docstrings.pyo
+${PYSITELIB}/extra_platforms/_types.py
+${PYSITELIB}/extra_platforms/_types.pyc
+${PYSITELIB}/extra_platforms/_types.pyo
+${PYSITELIB}/extra_platforms/_utils.py
+${PYSITELIB}/extra_platforms/_utils.pyc
+${PYSITELIB}/extra_platforms/_utils.pyo
+${PYSITELIB}/extra_platforms/_windows.py
+${PYSITELIB}/extra_platforms/_windows.pyc
+${PYSITELIB}/extra_platforms/_windows.pyo
+${PYSITELIB}/extra_platforms/agent_data.py
+${PYSITELIB}/extra_platforms/agent_data.pyc
+${PYSITELIB}/extra_platforms/agent_data.pyo
+${PYSITELIB}/extra_platforms/architecture_data.py
+${PYSITELIB}/extra_platforms/architecture_data.pyc
+${PYSITELIB}/extra_platforms/architecture_data.pyo
+${PYSITELIB}/extra_platforms/ci_data.py
+${PYSITELIB}/extra_platforms/ci_data.pyc
+${PYSITELIB}/extra_platforms/ci_data.pyo
+${PYSITELIB}/extra_platforms/detection.py
+${PYSITELIB}/extra_platforms/detection.pyc
+${PYSITELIB}/extra_platforms/detection.pyo
+${PYSITELIB}/extra_platforms/group.py
+${PYSITELIB}/extra_platforms/group.pyc
+${PYSITELIB}/extra_platforms/group.pyo
+${PYSITELIB}/extra_platforms/group_data.py
+${PYSITELIB}/extra_platforms/group_data.pyc
+${PYSITELIB}/extra_platforms/group_data.pyo
+${PYSITELIB}/extra_platforms/platform_data.py
+${PYSITELIB}/extra_platforms/platform_data.pyc
+${PYSITELIB}/extra_platforms/platform_data.pyo
+${PYSITELIB}/extra_platforms/platform_info.py
+${PYSITELIB}/extra_platforms/platform_info.pyc
+${PYSITELIB}/extra_platforms/platform_info.pyo
+${PYSITELIB}/extra_platforms/py.typed
+${PYSITELIB}/extra_platforms/pytest.py
+${PYSITELIB}/extra_platforms/pytest.pyc
+${PYSITELIB}/extra_platforms/pytest.pyo
+${PYSITELIB}/extra_platforms/shell_data.py
+${PYSITELIB}/extra_platforms/shell_data.pyc
+${PYSITELIB}/extra_platforms/shell_data.pyo
+${PYSITELIB}/extra_platforms/terminal_data.py
+${PYSITELIB}/extra_platforms/terminal_data.pyc
+${PYSITELIB}/extra_platforms/terminal_data.pyo
+${PYSITELIB}/extra_platforms/trait.py
+${PYSITELIB}/extra_platforms/trait.pyc
+${PYSITELIB}/extra_platforms/trait.pyo
diff --git a/py-extra-platforms/distinfo b/py-extra-platforms/distinfo
new file mode 100644
index 0000000000..e000d777a3
--- /dev/null
+++ b/py-extra-platforms/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (extra_platforms-13.0.0.tar.gz) = 00a626208178721c34897e842620dcc21ad0b136f83653bc898e4c51b4c2de0e
+SHA512 (extra_platforms-13.0.0.tar.gz) = 8896140e6856e81dec20b9a8304da3ca76f6d40d6cca9cacaf2a99ac4539f09d699774d711ead758261720cd2e8c02d138310278fff3234596fce0d50f2519a5
+Size (extra_platforms-13.0.0.tar.gz) = 80874 bytes


Home | Main Index | Thread Index | Old Index