git: 6828bb9fa097 - main - sysutils/py-py-cpuinfo2: Add py-py-cpuinfo2 10.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 14:52:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6828bb9fa097fde92c0e5162e0f6226462a5e8ac

commit 6828bb9fa097fde92c0e5162e0f6226462a5e8ac
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-09 14:33:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-09 14:47:40 +0000

    sysutils/py-py-cpuinfo2: Add py-py-cpuinfo2 10.1.1
    
    Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without any
    extra programs or libraries, beyond what your OS provides. It does not require
    any compilation(C/C++, assembly, et cetera) to use. It works with Python 3.
---
 sysutils/Makefile                 |  1 +
 sysutils/py-py-cpuinfo2/Makefile  | 22 ++++++++++++++++++++++
 sysutils/py-py-cpuinfo2/distinfo  |  3 +++
 sysutils/py-py-cpuinfo2/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index a9c4d685a037..f368b1241f1d 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1131,6 +1131,7 @@
     SUBDIR += py-puremagic
     SUBDIR += py-py-consul
     SUBDIR += py-py-cpuinfo
+    SUBDIR += py-py-cpuinfo2
     SUBDIR += py-pyinfra
     SUBDIR += py-python-bareos
     SUBDIR += py-python-consul
diff --git a/sysutils/py-py-cpuinfo2/Makefile b/sysutils/py-py-cpuinfo2/Makefile
new file mode 100644
index 000000000000..4d47417e64ef
--- /dev/null
+++ b/sysutils/py-py-cpuinfo2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	py-cpuinfo2
+PORTVERSION=	10.1.1
+CATEGORIES=	sysutils python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	py_cpuinfo2-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Get CPU info with pure Python
+WWW=		https://github.com/akx/py-cpuinfo2
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-py-cpuinfo2/distinfo b/sysutils/py-py-cpuinfo2/distinfo
new file mode 100644
index 000000000000..4d6e73bc496d
--- /dev/null
+++ b/sysutils/py-py-cpuinfo2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1788499894
+SHA256 (py_cpuinfo2-10.1.1.tar.gz) = 7861133863663f16e06eca63b12904ef100b5760415e92372dac0162799a4771
+SIZE (py_cpuinfo2-10.1.1.tar.gz) = 100840
diff --git a/sysutils/py-py-cpuinfo2/pkg-descr b/sysutils/py-py-cpuinfo2/pkg-descr
new file mode 100644
index 000000000000..fb8a91d322f3
--- /dev/null
+++ b/sysutils/py-py-cpuinfo2/pkg-descr
@@ -0,0 +1,3 @@
+Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without any
+extra programs or libraries, beyond what your OS provides. It does not require
+any compilation(C/C++, assembly, et cetera) to use. It works with Python 3.