From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5CA851388BF for ; Wed, 17 Feb 2016 08:57:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE1BC21C00D; Wed, 17 Feb 2016 08:57:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 272E621C00D for ; Wed, 17 Feb 2016 08:57:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05E36340D1A for ; Wed, 17 Feb 2016 08:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 571821074 for ; Wed, 17 Feb 2016 08:57:19 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1455699431.8345c82f2a02149f43c3f014b5b3fbbf71317738.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/py-cpuinfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/py-cpuinfo/Manifest dev-python/py-cpuinfo/metadata.xml dev-python/py-cpuinfo/py-cpuinfo-0.1.8.ebuild X-VCS-Directories: dev-python/py-cpuinfo/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 8345c82f2a02149f43c3f014b5b3fbbf71317738 X-VCS-Branch: master Date: Wed, 17 Feb 2016 08:57:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f16e7e15-1695-48cc-ab67-ccc7d889cf42 X-Archives-Hash: b905f7bbbd01b40d2c1b8ff03f38f04f commit: 8345c82f2a02149f43c3f014b5b3fbbf71317738 Author: Justin Lecher gentoo org> AuthorDate: Wed Feb 17 07:55:46 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Feb 17 08:57:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8345c82f dev-python/py-cpuinfo: New package, ebuild written by me Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/py-cpuinfo/Manifest | 1 + dev-python/py-cpuinfo/metadata.xml | 15 ++++++++++++++ dev-python/py-cpuinfo/py-cpuinfo-0.1.8.ebuild | 29 +++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/dev-python/py-cpuinfo/Manifest b/dev-python/py-cpuinfo/Manifest new file mode 100644 index 0000000..57bc500 --- /dev/null +++ b/dev-python/py-cpuinfo/Manifest @@ -0,0 +1 @@ +DIST py-cpuinfo-0.1.8.tar.gz 15321 SHA256 892abe41eba777c2107c54703dde0c769965c3da79d100d94e4cd5e8a9ba3e59 SHA512 62941ff0a6074c6276568994b54e6b4b12403f3524941c958cb64113ee51e47f38d05a93d5434a17e6b9487ea98f56bed137fe5d82099b4180e0032aeea498d5 WHIRLPOOL 32b81ad3fafb149985960b66fbf1d98765723f2c60794cb9151c99b94b0dda8845fbb1d3373e43761ffe7e8d40623e7634bb41693e2a6a41b2658d2ec73d6e93 diff --git a/dev-python/py-cpuinfo/metadata.xml b/dev-python/py-cpuinfo/metadata.xml new file mode 100644 index 0000000..85c4530 --- /dev/null +++ b/dev-python/py-cpuinfo/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + py-cpuinfo + + matthew.brennan.jones@gmail.com + Matthew Brennan Jones + + + diff --git a/dev-python/py-cpuinfo/py-cpuinfo-0.1.8.ebuild b/dev-python/py-cpuinfo/py-cpuinfo-0.1.8.ebuild new file mode 100644 index 0000000..0cc1f2a --- /dev/null +++ b/dev-python/py-cpuinfo/py-cpuinfo-0.1.8.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Get CPU info with pure Python 2 & 3" +HOMEPAGE="https://github.com/workhorsy/py-cpuinfo http://pypi.python.org/pypi/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}]" + +# https://github.com/workhorsy/py-cpuinfo/issues/32 +RESTRICT="test" + +python_test() { + "${PYTHON}" test_suite.py || die +}