1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port: sysutils/py-cpuinfo: Module for getting CPU info with pure Python

This commit is contained in:
Yuri Victorovich 2019-03-21 06:42:16 +00:00
parent 5c51ee2bd4
commit 2c487cf927
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496423
4 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1553150245
SHA256 (py-cpuinfo-5.0.0.tar.gz) = 2cf6426f776625b21d1db8397d3297ef7acfa59018f02a8779123f3190f18500
SIZE (py-cpuinfo-5.0.0.tar.gz) = 82118

View File

@ -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