1 |
commit: 826eb0ed928b4fff087487eb551f6ccc50953bea |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 05:57:24 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 06:30:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=826eb0ed |
7 |
|
8 |
dev-python/kgb: add 7.1, enable py3.11 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/kgb/Manifest | 1 + |
13 |
dev-python/kgb/kgb-7.1.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/kgb/Manifest b/dev-python/kgb/Manifest |
17 |
index 2fc77a4ca1da..19d312691a2e 100644 |
18 |
--- a/dev-python/kgb/Manifest |
19 |
+++ b/dev-python/kgb/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST kgb-7.1.tar.gz 60779 BLAKE2B 86fdcc6c0bbcd178df16110e2330c620f43417ab7986fa16c9d9d58822701d87aa6639b414d3ccb9bd40117635a309ed747653b3984c91b2f8bee50a29291b2b SHA512 0e3f03a53ea4c21e4e0d7ffa83e272c2de0893cdb230519ecf241fef7a8b982cc84811ecfe74536308fca8591864efe31c2f61c5eed351965be0705d359f55cf |
22 |
DIST kgb-release-7.0.tar.gz 54742 BLAKE2B 22193a573c797221382f5f6117f67dd5fbc00322e43d67079882a251fd3fd361672fbbadb523bcb14e8671b274789cc39dd591ee0b20f3b28649c8f39b58711c SHA512 571f077b4c4be10044d05ab1f88d75315afe4ebf7661851daff68e2782fd408dcf994c6db2bd620f38a56ffd89c1f52f41139defc30f05ec792663ae5f351364 |
23 |
|
24 |
diff --git a/dev-python/kgb/kgb-7.1.ebuild b/dev-python/kgb/kgb-7.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c7f92d10cca2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/kgb/kgb-7.1.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 2022 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=( pypy3 python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P=${PN}-release-${PV} |
41 |
+DESCRIPTION="Python function spy support for unit tests" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/beanbaginc/kgb/ |
44 |
+ https://pypi.org/project/kgb/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+distutils_enable_tests pytest |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ # remove .dev tag that breaks revdeps |
56 |
+ sed -i -e '/tag_build/d' setup.cfg || die |
57 |
+ distutils-r1_src_prepare |
58 |
+} |