summaryrefslogtreecommitdiff
path: root/dev-python/pymdstat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pymdstat
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pymdstat')
-rw-r--r--dev-python/pymdstat/Manifest3
-rw-r--r--dev-python/pymdstat/metadata.xml16
-rw-r--r--dev-python/pymdstat/pymdstat-0.4.2.ebuild29
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pymdstat/Manifest b/dev-python/pymdstat/Manifest
new file mode 100644
index 000000000000..9022a356d48e
--- /dev/null
+++ b/dev-python/pymdstat/Manifest
@@ -0,0 +1,3 @@
+DIST pymdstat-0.4.2.tar.gz 5010 BLAKE2B 4fe196916809513b063144ca4097676e2c826f38bccfdcb387aabd95d6b5d471eceec1a29fc5ffb41e7019e1570e2d805bbfa10f22ec7ececcb30afd7fc1a4ed SHA512 2e3c07d59151069962e1ba601b3751b331e233fdc6bbdeb0cada69ce36a731c12bcc6447218cc0c1ae4dd63d39d2be2bc3677aba739797cc534c5e38d1c72458
+EBUILD pymdstat-0.4.2.ebuild 617 BLAKE2B 0fcf8c3a7d567bcce364a1445c68859f68a7bbb810b9354f48b9dd3ba6e1dd9558262dd6f9e2f83c55c2578d54dacbe9f3e7b7aa2de265c7bc48a45bf163cac7 SHA512 05db55b70c09b892e9523d1a1e655e6bc8fa84e5083ddd4b05044d3cd4b8a2fd91d1f3b2073f6a646a8b1fdaa630c354f1f08715c7ae7d970cb1a1ae709c3ed3
+MISC metadata.xml 511 BLAKE2B 764b07013ad9a90442a60051d2cd17184b5058b24d1dfe08f0eac50102822e13cb38941e52b1f2a330682ab62d3b0f2983120b8985f0efc86e7dbc051d569f85 SHA512 54862557fb9d9ec32f94086ba8df5dfb5f4e4e804f1ea280157418b46ff9ecdedee8b3e333ec2643b8a09d54c769d010514789c3bc75fa28c75623b732a088ac
diff --git a/dev-python/pymdstat/metadata.xml b/dev-python/pymdstat/metadata.xml
new file mode 100644
index 000000000000..d6b6f33633cb
--- /dev/null
+++ b/dev-python/pymdstat/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pymdstat</remote-id>
+ <maintainer status="unknown">
+ <email>nicolas@nicolargo.com</email>
+ <name>Nicolas Hennion</name>
+ </maintainer>
+ <remote-id type="github">nicolargo/pymdstat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pymdstat/pymdstat-0.4.2.ebuild b/dev-python/pymdstat/pymdstat-0.4.2.ebuild
new file mode 100644
index 000000000000..2306a582fb77
--- /dev/null
+++ b/dev-python/pymdstat/pymdstat-0.4.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to parse Linux /proc/mdstat"
+HOMEPAGE="https://github.com/nicolargo/pymdstat
+ https://pypi.org/project/pymdstat/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+# Not included
+RESTRICT=test
+
+python_test() {
+ ${PYTHON} unitest.py || die
+}