From bf04f40a1b1a2cdacadb0a1d89f9ae53e3e69c4d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 30 Jan 2023 08:05:57 +0100 Subject: dev-python/pymdstat: Bump to 0.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pymdstat/Manifest | 1 + dev-python/pymdstat/pymdstat-0.4.3.ebuild | 33 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/pymdstat/pymdstat-0.4.3.ebuild (limited to 'dev-python/pymdstat') diff --git a/dev-python/pymdstat/Manifest b/dev-python/pymdstat/Manifest index fecc9308e5fd..e7c8f0abffd1 100644 --- a/dev-python/pymdstat/Manifest +++ b/dev-python/pymdstat/Manifest @@ -1 +1,2 @@ DIST pymdstat-0.4.2-r1.tar.gz 14798 BLAKE2B 179c88a8999b4908586a3bc1698de9df25e94203b723b2981f9ac6e1b2ef47845c9e625c1daa40990dff7e90aece34fc471c3c5a0278a85c4c526d37574e5fed SHA512 7c9815b365fdb37ffe37c65d280a3bc4370f09fb8dad18ff9c68f61b8cc906e6b8d8e0fe0dd1570e68349f535f23cfb8afd52ba805d78e795d5c6f9730f7f2d0 +DIST pymdstat-0.4.3.gh.tar.gz 17359 BLAKE2B ac89ab5ec874ed1384c8ddd45d01bc1496352e64fc74ef5d4b327571fb599780f1d30f7cf49cbc923ab1c7269e43645a6b9572a31619fcc18e31b8cabb56ac38 SHA512 fd0c11ce511659e48e6f480d974f48b6da9ce184de4f910f0ac07ab2a517e7ea66a5ddf56afe0ae93e5c1dd26ec9189f0c6167689975238b2800c944dd577a1f 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}" +} -- cgit v1.2.3-65-gdbad