pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-cpuinfo



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 18 12:22:49 UTC 2020

Added Files:
        pkgsrc/sysutils/py-cpuinfo: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-cpuinfo/ALTERNATIVES \
    pkgsrc/sysutils/py-cpuinfo/DESCR pkgsrc/sysutils/py-cpuinfo/Makefile \
    pkgsrc/sysutils/py-cpuinfo/PLIST pkgsrc/sysutils/py-cpuinfo/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/py-cpuinfo/ALTERNATIVES
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo/ALTERNATIVES:1.1
--- /dev/null   Mon May 18 12:22:49 2020
+++ pkgsrc/sysutils/py-cpuinfo/ALTERNATIVES     Mon May 18 12:22:49 2020
@@ -0,0 +1 @@
+bin/cpuinfo @PREFIX@/bin/cpuinfo-@PYVERSSUFFIX@
Index: pkgsrc/sysutils/py-cpuinfo/DESCR
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo/DESCR:1.1
--- /dev/null   Mon May 18 12:22:49 2020
+++ pkgsrc/sysutils/py-cpuinfo/DESCR    Mon May 18 12:22:49 2020
@@ -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.
Index: pkgsrc/sysutils/py-cpuinfo/Makefile
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo/Makefile:1.1
--- /dev/null   Mon May 18 12:22:49 2020
+++ pkgsrc/sysutils/py-cpuinfo/Makefile Mon May 18 12:22:49 2020
@@ -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"
Index: pkgsrc/sysutils/py-cpuinfo/PLIST
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo/PLIST:1.1
--- /dev/null   Mon May 18 12:22:49 2020
+++ pkgsrc/sysutils/py-cpuinfo/PLIST    Mon May 18 12:22:49 2020
@@ -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
Index: pkgsrc/sysutils/py-cpuinfo/distinfo
diff -u /dev/null pkgsrc/sysutils/py-cpuinfo/distinfo:1.1
--- /dev/null   Mon May 18 12:22:49 2020
+++ pkgsrc/sysutils/py-cpuinfo/distinfo Mon May 18 12:22:49 2020
@@ -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