summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-07-17 08:44:49 -0600
committerTim Harder <radhermit@gentoo.org>2019-07-17 22:55:46 -0600
commitecad2934820150048474dbeb6912b6d17fbfefd6 (patch)
tree857e705a93cf5b5b015a42feb0bf22f6cab2fe70 /dev-python/py-cpuinfo
parentp/f/prefix/s/kernel-2.6.16+/package.mask: remove python-3 mask. (diff)
downloadgentoo-ecad2934820150048474dbeb6912b6d17fbfefd6.tar.gz
gentoo-ecad2934820150048474dbeb6912b6d17fbfefd6.tar.bz2
gentoo-ecad2934820150048474dbeb6912b6d17fbfefd6.zip
dev-python/py-cpuinfo: version bump to 5.0.0
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/py-cpuinfo')
-rw-r--r--dev-python/py-cpuinfo/Manifest1
-rw-r--r--dev-python/py-cpuinfo/py-cpuinfo-5.0.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/py-cpuinfo/Manifest b/dev-python/py-cpuinfo/Manifest
index 44976f5dd196..fb729eceeb5b 100644
--- a/dev-python/py-cpuinfo/Manifest
+++ b/dev-python/py-cpuinfo/Manifest
@@ -1,2 +1,3 @@
DIST py-cpuinfo-3.2.0.tar.gz 76019 BLAKE2B 2a0969911b385e51ead94a92b89a21bf6ebd6a49ce5229329265ec0611fabe1180cf4ac617c1786ab25605fbf11463e85d74a02195cf01ebc40a5f8d1350f83a SHA512 737d5a73d6991ce5cb99125951a75492f48177030986270bbe7dcc0efb4e3200c9957bfbe51bd5a7555bfa8e62db68c3a5227e47e5e6bb2115ff2c10c0bfb688
DIST py-cpuinfo-3.3.0.tar.gz 76052 BLAKE2B ffa9d53ccca034b8b4707cc60c8c38b66bd76101e4c6c8d8bf5de743904270a4b9236c0f03192336c2fb32fefb665c5a6d5587639a408ff0bb9183b33f9c3ce7 SHA512 b31ebfb0f066303813d699a7aa5bd5b8d4e0b3b6e8422dfb4aa53c5b64d2234c5275fc293b3eb3ee72752691e023dc94fc013ccf6a0251d307c4b10619135524
+DIST py-cpuinfo-5.0.0.tar.gz 82118 BLAKE2B 94df998e053de04cf7b470799eb7595b5a398bf7d2da6417e3f5f6313a3e1152adfa5ef6a67461cd10d521be88d0a9ccf9495715a23cefb557f673f10dec7468 SHA512 d3a22ffdc4d1668a58330016e3297e57c07f6380e544497b1ad9dfcf0410b000f69418bf1cb9a434a2ffdbc8f17be89a25d33c65817913a823c6e181df6b760e
diff --git a/dev-python/py-cpuinfo/py-cpuinfo-5.0.0.ebuild b/dev-python/py-cpuinfo/py-cpuinfo-5.0.0.ebuild
new file mode 100644
index 000000000000..88a18ba0cac9
--- /dev/null
+++ b/dev-python/py-cpuinfo/py-cpuinfo-5.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Get CPU info with pure Python 2 & 3"
+HOMEPAGE="https://github.com/workhorsy/py-cpuinfo https://pypi.org/project/py-cpuinfo/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DOCS=( ChangeLog )
+
+python_test() {
+ "${PYTHON}" test_suite.py -v || die
+}