diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 08:57:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-30 08:57:14 +0000 |
commit | 552fc3ba95eab5c2c1a8b2b55ab432a1019739a0 (patch) | |
tree | adad36adc624e114d5b985e392ac40a7b94d8ac6 /dev-python/pymdstat/pymdstat-0.4.3.ebuild | |
parent | 61966498b463d88a09132a9a22c68c0c37159e41 (diff) |
gentoo auto-resync : 30:01:2023 - 08:57:13
Diffstat (limited to 'dev-python/pymdstat/pymdstat-0.4.3.ebuild')
-rw-r--r-- | dev-python/pymdstat/pymdstat-0.4.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pymdstat/pymdstat-0.4.3.ebuild b/dev-python/pymdstat/pymdstat-0.4.3.ebuild new file mode 100644 index 000000000000..c562d55f30e3 --- /dev/null +++ b/dev-python/pymdstat/pymdstat-0.4.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} 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=" + https://github.com/nicolargo/pymdstat/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +python_prepare_all() { + # docs + sed -e '/data_files/ d' -i setup.py || die "sed failed" + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" unitest.py -v || die "testing failed with ${EPYTHON}" +} |