summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/py-cpuinfo/Makefile20
-rw-r--r--sysutils/py-cpuinfo/distinfo3
-rw-r--r--sysutils/py-cpuinfo/pkg-descr6
4 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a7f8cd6d6602..b470c12afc2b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1008,6 +1008,7 @@
SUBDIR += py-bcfg2
SUBDIR += py-bitrot
SUBDIR += py-cdmi
+ SUBDIR += py-cpuinfo
SUBDIR += py-croniter
SUBDIR += py-crontab
SUBDIR += py-diffoscope
diff --git a/sysutils/py-cpuinfo/Makefile b/sysutils/py-cpuinfo/Makefile
new file mode 100644
index 000000000000..5494fb6503c7
--- /dev/null
+++ b/sysutils/py-cpuinfo/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= py-cpuinfo
+DISTVERSION= 5.0.0
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Module for getting CPU info with pure Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-cpuinfo/distinfo b/sysutils/py-cpuinfo/distinfo
new file mode 100644
index 000000000000..e122ce4bccb6
--- /dev/null
+++ b/sysutils/py-cpuinfo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1553150245
+SHA256 (py-cpuinfo-5.0.0.tar.gz) = 2cf6426f776625b21d1db8397d3297ef7acfa59018f02a8779123f3190f18500
+SIZE (py-cpuinfo-5.0.0.tar.gz) = 82118
diff --git a/sysutils/py-cpuinfo/pkg-descr b/sysutils/py-cpuinfo/pkg-descr
new file mode 100644
index 000000000000..6672d3742107
--- /dev/null
+++ b/sysutils/py-cpuinfo/pkg-descr
@@ -0,0 +1,6 @@
+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
+2 and 3.
+
+WWW: https://github.com/workhorsy/py-cpuinfo