Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-cpuinfo sysutils/py-cpuinfo: import py-cpu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71bb86ef437e
branches:  trunk
changeset: 432043:71bb86ef437e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 12:22:49 2020 +0000

description:
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:

 sysutils/py-cpuinfo/ALTERNATIVES |   1 +
 sysutils/py-cpuinfo/DESCR        |   4 ++++
 sysutils/py-cpuinfo/Makefile     |  22 ++++++++++++++++++++++
 sysutils/py-cpuinfo/PLIST        |  16 ++++++++++++++++
 sysutils/py-cpuinfo/distinfo     |   6 ++++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 1695bf8a2413 -r 71bb86ef437e sysutils/py-cpuinfo/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-cpuinfo/ALTERNATIVES  Mon May 18 12:22:49 2020 +0000
@@ -0,0 +1,1 @@
+bin/cpuinfo @PREFIX@/bin/cpuinfo-@PYVERSSUFFIX@
diff -r 1695bf8a2413 -r 71bb86ef437e sysutils/py-cpuinfo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-cpuinfo/DESCR Mon May 18 12:22:49 2020 +0000
@@ -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 -r 1695bf8a2413 -r 71bb86ef437e sysutils/py-cpuinfo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-cpuinfo/Makefile      Mon May 18 12:22:49 2020 +0000
@@ -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@localhost
+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 -r 1695bf8a2413 -r 71bb86ef437e sysutils/py-cpuinfo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-cpuinfo/PLIST Mon May 18 12:22:49 2020 +0000
@@ -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 -r 1695bf8a2413 -r 71bb86ef437e sysutils/py-cpuinfo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-cpuinfo/distinfo      Mon May 18 12:22:49 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index