summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2020-02-03 15:14:18 -0700
committerTim Harder <radhermit@gentoo.org>2020-02-03 15:16:16 -0700
commitbfa77d73279cbcb82dcf63cce739272834209574 (patch)
tree4ad5ba03c58734be9935526c9884b36ced7308af /dev-python/py-cpuinfo
parentnet-misc/owncloud-client: update USE=gnome-keyring dependency (diff)
downloadgentoo-bfa77d73279cbcb82dcf63cce739272834209574.tar.gz
gentoo-bfa77d73279cbcb82dcf63cce739272834209574.tar.bz2
gentoo-bfa77d73279cbcb82dcf63cce739272834209574.zip
dev-python/py-cpuinfo: add py38 support and fix setuptools dep
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/py-cpuinfo')
-rw-r--r--dev-python/py-cpuinfo/py-cpuinfo-5.0.0-r1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/py-cpuinfo/py-cpuinfo-5.0.0-r1.ebuild b/dev-python/py-cpuinfo/py-cpuinfo-5.0.0-r1.ebuild
new file mode 100644
index 000000000000..5c322340dc0b
--- /dev/null
+++ b/dev-python/py-cpuinfo/py-cpuinfo-5.0.0-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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=""
+
+distutils_enable_tests setup.py
+
+DOCS=( ChangeLog )