pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-cpuinfo2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov  9 08:04:18 UTC 2026

Added Files:
        pkgsrc/sysutils/py-cpuinfo2: DESCR Makefile PLIST distinfo

Log Message:
sysutils/py-cpuinfo2: import 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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-cpuinfo2/DESCR \
    pkgsrc/sysutils/py-cpuinfo2/Makefile pkgsrc/sysutils/py-cpuinfo2/PLIST \
    pkgsrc/sysutils/py-cpuinfo2/distinfo

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

Added files:

Index: pkgsrc/sysutils/py-cpuinfo2/DESCR
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo2/DESCR:1.1
--- /dev/null   Mon Nov  9 08:04:18 2026
+++ pkgsrc/sysutils/py-cpuinfo2/DESCR   Mon Nov  9 08:04:18 2026
@@ -0,0 +1,4 @@
+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.
Index: pkgsrc/sysutils/py-cpuinfo2/Makefile
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo2/Makefile:1.1
--- /dev/null   Mon Nov  9 08:04:18 2026
+++ pkgsrc/sysutils/py-cpuinfo2/Makefile        Mon Nov  9 08:04:18 2026
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2026/11/09 08:04:18 wiz Exp $
+
+DISTNAME=      py_cpuinfo2-10.1.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py_//}
+CATEGORIES=    sysutils python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/py_cpuinfo2/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/akx/py-cpuinfo2
+COMMENT=       Get CPU info with pure Python
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
+
+USE_LANGUAGES= # none
+
+# as of 10.1.1
+# 1 failed, 163 passed, 2 skipped
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/py-cpuinfo2/PLIST
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo2/PLIST:1.1
--- /dev/null   Mon Nov  9 08:04:18 2026
+++ pkgsrc/sysutils/py-cpuinfo2/PLIST   Mon Nov  9 08:04:18 2026
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/09 08:04:18 wiz Exp $
+bin/cpuinfo
+${PYSITELIB}/cpuinfo/__init__.py
+${PYSITELIB}/cpuinfo/__init__.pyc
+${PYSITELIB}/cpuinfo/__init__.pyo
+${PYSITELIB}/cpuinfo/__main__.py
+${PYSITELIB}/cpuinfo/__main__.pyc
+${PYSITELIB}/cpuinfo/__main__.pyo
+${PYSITELIB}/cpuinfo/cpuinfo.py
+${PYSITELIB}/cpuinfo/cpuinfo.pyc
+${PYSITELIB}/cpuinfo/cpuinfo.pyo
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
Index: pkgsrc/sysutils/py-cpuinfo2/distinfo
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo2/distinfo:1.1
--- /dev/null   Mon Nov  9 08:04:18 2026
+++ pkgsrc/sysutils/py-cpuinfo2/distinfo        Mon Nov  9 08:04:18 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/09 08:04:18 wiz Exp $
+
+BLAKE2s (py_cpuinfo2-10.1.1.tar.gz) = c7eb80f01b32bce0d6a839eddc27a15d265c1e982929b3206d9c8b71bb1f0214
+SHA512 (py_cpuinfo2-10.1.1.tar.gz) = 5c3472ded2493a7d02acc7921a2753894ef0271137c9003dfdbfa62472c931b653f16768b9f1a730d4088fcfe3455f1512bc8a0525e892de9ef51a160935dab3
+Size (py_cpuinfo2-10.1.1.tar.gz) = 100840 bytes



Home | Main Index | Thread Index | Old Index