summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-17 09:27:14 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-17 09:57:11 +0100
commitdc5a9418795ba1115032c7a1934da0a3265fb945 (patch)
tree18c2530c87a66f42e16a7e5ccfef055a2be4b37d /dev-python/pymdstat
parentdev-python/zeroconf: New package, ebuild written by me (diff)
downloadgentoo-dc5a9418795ba1115032c7a1934da0a3265fb945.tar.gz
gentoo-dc5a9418795ba1115032c7a1934da0a3265fb945.tar.bz2
gentoo-dc5a9418795ba1115032c7a1934da0a3265fb945.zip
dev-python/pymdstat: New package, ebuild written by me
Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pymdstat')
-rw-r--r--dev-python/pymdstat/Manifest1
-rw-r--r--dev-python/pymdstat/metadata.xml15
-rw-r--r--dev-python/pymdstat/pymdstat-0.4.2.ebuild29
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pymdstat/Manifest b/dev-python/pymdstat/Manifest
new file mode 100644
index 000000000000..7f4fbdd66d81
--- /dev/null
+++ b/dev-python/pymdstat/Manifest
@@ -0,0 +1 @@
+DIST pymdstat-0.4.2.tar.gz 5010 SHA256 fef53c6f1864fdfe8616d6e985498b7f05ef19d0952f7ec3e7f8379298b9ada9 SHA512 2e3c07d59151069962e1ba601b3751b331e233fdc6bbdeb0cada69ce36a731c12bcc6447218cc0c1ae4dd63d39d2be2bc3677aba739797cc534c5e38d1c72458 WHIRLPOOL 781fbc8b2217ed1e36a798fd05cc9d309085b75a2f4d56cf280bba63626c1d65a1bed1200d07d891261821e1e0f4a0733f66ba3f53e626b6d8be6a1600d3f801
diff --git a/dev-python/pymdstat/metadata.xml b/dev-python/pymdstat/metadata.xml
new file mode 100644
index 000000000000..312478ff35a0
--- /dev/null
+++ b/dev-python/pymdstat/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ </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..46989d05aabe
--- /dev/null
+++ b/dev-python/pymdstat/pymdstat-0.4.2.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="Python library to parse Linux /proc/mdstat"
+HOMEPAGE="https://github.com/nicolargo/pymdstat http://pypi.python.org/pypi/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
+}