1 |
commit: 6e1989ebfdce8227d13aecb90c506211a6b9ff85 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 3 06:38:12 2020 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 3 06:39:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1989eb |
7 |
|
8 |
dev-python/kconfiglib: version bump to 13.7.0 |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
dev-python/kconfiglib/Manifest | 1 + |
13 |
dev-python/kconfiglib/kconfiglib-13.7.0.ebuild | 38 ++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/kconfiglib/Manifest b/dev-python/kconfiglib/Manifest |
17 |
index db8807dabaa..1d659882303 100644 |
18 |
--- a/dev-python/kconfiglib/Manifest |
19 |
+++ b/dev-python/kconfiglib/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST kconfiglib-12.12.1.tar.gz 181307 BLAKE2B d256148bd6bf01f7951c78751604eae1be4c2fc156b815bdb570e6fcf185c2f5c97259f6ce0ed275104234ff7180afa2000a81feb281e745a8a0c4db162f57b9 SHA512 49e8746e6c83a93b7500130b21b864346ab8106c0c161de0ec62b3efff794080e734d34d88cd9c816c0d6514465729fbc3a4334fcc9c0a68f17c1688bb210325 |
22 |
DIST kconfiglib-13.2.0.tar.gz 181115 BLAKE2B 81aeab65c4d7008dad33d508eb2be5ed53187943c1ec5112a87a47a5f9bb661c521b0d61a3da63da3233f168d62ab6bb5cdf6e3702e53f960159b7ca13c8a0cf SHA512 9d8c76014aa7faa93af216849859eca9bfdc0d4cd3e030e47b72acfdd4981ac1581747adf91bca58a4e8d86b151988309f36c3f94a1ebb216a1412fd004fafd2 |
23 |
+DIST kconfiglib-13.7.0.tar.gz 182782 BLAKE2B 976a8e4e377933e42dc45c79598a175d302d34f48bfadd764c0cbfa2ddd4e15ae6ba22467c50d41657abbaa1f4495c556fb4c1deb9c96e1119a7bdd6ae8a3378 SHA512 0376b2c4e68b7ce4f105f52a3b4793a23cb844dbd9ab183abbdd79e2f7958e3be372024ce82295902af974f010c73c4ac97a4147bdac8ee9b52900bc15b8bb6f |
24 |
|
25 |
diff --git a/dev-python/kconfiglib/kconfiglib-13.7.0.ebuild b/dev-python/kconfiglib/kconfiglib-13.7.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0adf3b139b7 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/kconfiglib/kconfiglib-13.7.0.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{5,6,7,8} pypy3 ) |
36 |
+PYTHON_REQ_USE="ncurses" |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A flexible Python Kconfig implementation" |
41 |
+HOMEPAGE="https://github.com/ulfalizer/Kconfiglib https://pypi.org/project/kconfiglib/" |
42 |
+SRC_URI="https://github.com/ulfalizer/Kconfiglib/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+# pypi tarballs don't include tests |
44 |
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="ISC" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+ |
51 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
52 |
+RDEPEND="${BDEPEND}" |
53 |
+ |
54 |
+S=${WORKDIR}/${P/k/K} |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ distutils-r1_python_prepare_all |
58 |
+ |
59 |
+ # hacks to run tests |
60 |
+ mkdir Kconfiglib || die |
61 |
+ ln -s ../tests Kconfiglib || die |
62 |
+ # don't run kernel Kconfig compat tests |
63 |
+ sed -i 's/run_compatibility_tests()$/#\0/' testsuite.py || die |
64 |
+} |
65 |
+ |
66 |
+python_test() { |
67 |
+ "${PYTHON}" testsuite.py || die "tests failed with ${EPYTHON}" |
68 |
+} |