BSD Ports

sysutils/py-py-cpuinfo 9.0.0_2 MidnightBSD

Module for getting CPU info with pure Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
sysutils, python

Description

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.

In the other systems

SystemPortVersion
MidnightBSDsysutils/py-py-cpuinfo9.0.0_2
DragonFlysysutils/py-py-cpuinfo9.0.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}py-cpuinfo

From mports:

cd /usr/mports/sysutils/py-py-cpuinfo && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py-cpuinfo>0:sysutils/py-py-cpuinfo

Dependencies

Configuration

Options name: sysutils_py-cpuinfo

OptionDefaultDescription
LSCPUonUse sysutils/lscpu as a data source
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
py-cpuinfo-9.0.0.tar.gz1047163cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690
Master sites 1
  • PYPI