summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-20 11:02:02 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-20 11:13:01 +0200
commited6d15dc64231983069c8cda3418f13e6472d232 (patch)
tree3adae8e67b69fb6d383d5df7e777e840deda38b1 /dev-python/kgb
parentdev-python/numpy: Skip test_identityless_reduction_huge_array on arm (diff)
downloadgentoo-ed6d15dc64231983069c8cda3418f13e6472d232.tar.gz
gentoo-ed6d15dc64231983069c8cda3418f13e6472d232.tar.bz2
gentoo-ed6d15dc64231983069c8cda3418f13e6472d232.zip
dev-python/kgb: New package, v7.0
Requested by graaff, for dev-util/rbtools. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/kgb')
-rw-r--r--dev-python/kgb/Manifest1
-rw-r--r--dev-python/kgb/kgb-7.0.ebuild27
-rw-r--r--dev-python/kgb/metadata.xml13
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/kgb/Manifest b/dev-python/kgb/Manifest
new file mode 100644
index 000000000000..2fc77a4ca1da
--- /dev/null
+++ b/dev-python/kgb/Manifest
@@ -0,0 +1 @@
+DIST kgb-release-7.0.tar.gz 54742 BLAKE2B 22193a573c797221382f5f6117f67dd5fbc00322e43d67079882a251fd3fd361672fbbadb523bcb14e8671b274789cc39dd591ee0b20f3b28649c8f39b58711c SHA512 571f077b4c4be10044d05ab1f88d75315afe4ebf7661851daff68e2782fd408dcf994c6db2bd620f38a56ffd89c1f52f41139defc30f05ec792663ae5f351364
diff --git a/dev-python/kgb/kgb-7.0.ebuild b/dev-python/kgb/kgb-7.0.ebuild
new file mode 100644
index 000000000000..fc718ad7efc4
--- /dev/null
+++ b/dev-python/kgb/kgb-7.0.ebuild
@@ -0,0 +1,27 @@
+# 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..10} )
+
+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="
+ https://github.com/beanbaginc/kgb/archive/release-${PV}.tar.gz
+ -> ${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest
diff --git a/dev-python/kgb/metadata.xml b/dev-python/kgb/metadata.xml
new file mode 100644
index 000000000000..a731373a8ba7
--- /dev/null
+++ b/dev-python/kgb/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">beanbaginc/kgb</remote-id>
+ <remote-id type="pypi">kgb</remote-id>
+ </upstream>
+</pkgmetadata>