1 |
commit: bf04f40a1b1a2cdacadb0a1d89f9ae53e3e69c4d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 07:05:57 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 07:10:05 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf04f40a |
7 |
|
8 |
dev-python/pymdstat: Bump to 0.4.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pymdstat/Manifest | 1 + |
13 |
dev-python/pymdstat/pymdstat-0.4.3.ebuild | 33 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pymdstat/Manifest b/dev-python/pymdstat/Manifest |
17 |
index fecc9308e5fd..e7c8f0abffd1 100644 |
18 |
--- a/dev-python/pymdstat/Manifest |
19 |
+++ b/dev-python/pymdstat/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pymdstat-0.4.2-r1.tar.gz 14798 BLAKE2B 179c88a8999b4908586a3bc1698de9df25e94203b723b2981f9ac6e1b2ef47845c9e625c1daa40990dff7e90aece34fc471c3c5a0278a85c4c526d37574e5fed SHA512 7c9815b365fdb37ffe37c65d280a3bc4370f09fb8dad18ff9c68f61b8cc906e6b8d8e0fe0dd1570e68349f535f23cfb8afd52ba805d78e795d5c6f9730f7f2d0 |
22 |
+DIST pymdstat-0.4.3.gh.tar.gz 17359 BLAKE2B ac89ab5ec874ed1384c8ddd45d01bc1496352e64fc74ef5d4b327571fb599780f1d30f7cf49cbc923ab1c7269e43645a6b9572a31619fcc18e31b8cabb56ac38 SHA512 fd0c11ce511659e48e6f480d974f48b6da9ce184de4f910f0ac07ab2a517e7ea66a5ddf56afe0ae93e5c1dd26ec9189f0c6167689975238b2800c944dd577a1f |
23 |
|
24 |
diff --git a/dev-python/pymdstat/pymdstat-0.4.3.ebuild b/dev-python/pymdstat/pymdstat-0.4.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c562d55f30e3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pymdstat/pymdstat-0.4.3.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python library to parse Linux /proc/mdstat" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/nicolargo/pymdstat/ |
43 |
+ https://pypi.org/project/pymdstat/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/nicolargo/pymdstat/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+python_prepare_all() { |
55 |
+ # docs |
56 |
+ sed -e '/data_files/ d' -i setup.py || die "sed failed" |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |
59 |
+ |
60 |
+python_test() { |
61 |
+ "${EPYTHON}" unitest.py -v || die "testing failed with ${EPYTHON}" |
62 |
+} |