dev-python/pymdstat: New package, ebuild written by me

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-02-17 09:27:14 +01:00
parent 908fbf3075
commit dc5a941879
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pymdstat-0.4.2.tar.gz 5010 SHA256 fef53c6f1864fdfe8616d6e985498b7f05ef19d0952f7ec3e7f8379298b9ada9 SHA512 2e3c07d59151069962e1ba601b3751b331e233fdc6bbdeb0cada69ce36a731c12bcc6447218cc0c1ae4dd63d39d2be2bc3677aba739797cc534c5e38d1c72458 WHIRLPOOL 781fbc8b2217ed1e36a798fd05cc9d309085b75a2f4d56cf280bba63626c1d65a1bed1200d07d891261821e1e0f4a0733f66ba3f53e626b6d8be6a1600d3f801

View File

@@ -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>

View File

@@ -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
}