diff options
author | wiz <wiz@pkgsrc.org> | 2020-05-18 12:22:49 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-05-18 12:22:49 +0000 |
commit | 4e5d215ed4b8e8e64585623a191d74121767f5a3 (patch) | |
tree | f732912ecbddb7dee487a7f4baf6e9e69c74cc65 /sysutils | |
parent | b2a619ea37c95b1984121cb63a7b42e42ec630a8 (diff) | |
download | pkgsrc-4e5d215ed4b8e8e64585623a191d74121767f5a3.tar.gz |
sysutils/py-cpuinfo: import py-cpuinfo-5.0.0
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.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-cpuinfo/ALTERNATIVES | 1 | ||||
-rw-r--r-- | sysutils/py-cpuinfo/DESCR | 4 | ||||
-rw-r--r-- | sysutils/py-cpuinfo/Makefile | 22 | ||||
-rw-r--r-- | sysutils/py-cpuinfo/PLIST | 16 | ||||
-rw-r--r-- | sysutils/py-cpuinfo/distinfo | 6 |
5 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/py-cpuinfo/ALTERNATIVES b/sysutils/py-cpuinfo/ALTERNATIVES new file mode 100644 index 00000000000..e759df8cea7 --- /dev/null +++ b/sysutils/py-cpuinfo/ALTERNATIVES @@ -0,0 +1 @@ +bin/cpuinfo @PREFIX@/bin/cpuinfo-@PYVERSSUFFIX@ diff --git a/sysutils/py-cpuinfo/DESCR b/sysutils/py-cpuinfo/DESCR new file mode 100644 index 00000000000..f28389d0268 --- /dev/null +++ b/sysutils/py-cpuinfo/DESCR @@ -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. diff --git a/sysutils/py-cpuinfo/Makefile b/sysutils/py-cpuinfo/Makefile new file mode 100644 index 00000000000..a709585fd5f --- /dev/null +++ b/sysutils/py-cpuinfo/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2020/05/18 12:22:49 wiz Exp $ + +DISTNAME= py-cpuinfo-5.0.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py-//} +CATEGORIES= sysutils python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/py-cpuinfo/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/workhorsy/py-cpuinfo +COMMENT= Get CPU info with pure Python +LICENSE= mit + +#PYTHON_VERSIONED_DEPENDENCIES+= test + +USE_LANGUAGES= # none + +post-install: + cd ${DESTDIR}${PREFIX}/bin && ${MV} cpuinfo cpuinfo-${PYVERSSUFFIX} || ${TRUE} + +#.include "../../lang/python/versioned_dependencies.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/py-cpuinfo/PLIST b/sysutils/py-cpuinfo/PLIST new file mode 100644 index 00000000000..8166474d497 --- /dev/null +++ b/sysutils/py-cpuinfo/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2020/05/18 12:22:49 wiz Exp $ +bin/cpuinfo-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${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 diff --git a/sysutils/py-cpuinfo/distinfo b/sysutils/py-cpuinfo/distinfo new file mode 100644 index 00000000000..c0456ec8326 --- /dev/null +++ b/sysutils/py-cpuinfo/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/05/18 12:22:49 wiz Exp $ + +SHA1 (py-cpuinfo-5.0.0.tar.gz) = 35d1dce8881c4b3860e86217fff3679e653ba8b7 +RMD160 (py-cpuinfo-5.0.0.tar.gz) = b0e8b732e281c3088fd35e3ea9b1cb8e093c33bf +SHA512 (py-cpuinfo-5.0.0.tar.gz) = d3a22ffdc4d1668a58330016e3297e57c07f6380e544497b1ad9dfcf0410b000f69418bf1cb9a434a2ffdbc8f17be89a25d33c65817913a823c6e181df6b760e +Size (py-cpuinfo-5.0.0.tar.gz) = 82118 bytes |