summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-05 08:57:24 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-05 09:30:55 +0300
commit826eb0ed928b4fff087487eb551f6ccc50953bea (patch)
tree60c4d7f8217c9178729283c943499a437214d5d0 /dev-python/kgb
parentapp-admin/awscli: add 1.25.46 (diff)
downloadgentoo-826eb0ed928b4fff087487eb551f6ccc50953bea.tar.gz
gentoo-826eb0ed928b4fff087487eb551f6ccc50953bea.tar.bz2
gentoo-826eb0ed928b4fff087487eb551f6ccc50953bea.zip
dev-python/kgb: add 7.1, enable py3.11
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/kgb')
-rw-r--r--dev-python/kgb/Manifest1
-rw-r--r--dev-python/kgb/kgb-7.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/kgb/Manifest b/dev-python/kgb/Manifest
index 2fc77a4ca1da..19d312691a2e 100644
--- a/dev-python/kgb/Manifest
+++ b/dev-python/kgb/Manifest
@@ -1 +1,2 @@
+DIST kgb-7.1.tar.gz 60779 BLAKE2B 86fdcc6c0bbcd178df16110e2330c620f43417ab7986fa16c9d9d58822701d87aa6639b414d3ccb9bd40117635a309ed747653b3984c91b2f8bee50a29291b2b SHA512 0e3f03a53ea4c21e4e0d7ffa83e272c2de0893cdb230519ecf241fef7a8b982cc84811ecfe74536308fca8591864efe31c2f61c5eed351965be0705d359f55cf
DIST kgb-release-7.0.tar.gz 54742 BLAKE2B 22193a573c797221382f5f6117f67dd5fbc00322e43d67079882a251fd3fd361672fbbadb523bcb14e8671b274789cc39dd591ee0b20f3b28649c8f39b58711c SHA512 571f077b4c4be10044d05ab1f88d75315afe4ebf7661851daff68e2782fd408dcf994c6db2bd620f38a56ffd89c1f52f41139defc30f05ec792663ae5f351364
diff --git a/dev-python/kgb/kgb-7.1.ebuild b/dev-python/kgb/kgb-7.1.ebuild
new file mode 100644
index 000000000000..c7f92d10cca2
--- /dev/null
+++ b/dev-python/kgb/kgb-7.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+MY_P=${PN}-release-${PV}
+DESCRIPTION="Python function spy support for unit tests"
+HOMEPAGE="
+ https://github.com/beanbaginc/kgb/
+ https://pypi.org/project/kgb/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # remove .dev tag that breaks revdeps
+ sed -i -e '/tag_build/d' setup.cfg || die
+ distutils-r1_src_prepare
+}