summaryrefslogtreecommitdiff
path: root/dev-python/genty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
commit17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch)
tree7166d1b58a582290a4ad23ff5882cca911b8035c /dev-python/genty
parenta0ce545d52f231499bf9f3644493113d8af58ec9 (diff)
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'dev-python/genty')
-rw-r--r--dev-python/genty/Manifest1
-rw-r--r--dev-python/genty/genty-1.3.2-r3.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/genty/Manifest b/dev-python/genty/Manifest
index 1a3ba98ff227..29cb981f34b0 100644
--- a/dev-python/genty/Manifest
+++ b/dev-python/genty/Manifest
@@ -1,3 +1,4 @@
DIST genty-1.3.2.tar.gz 20818 BLAKE2B a3344869e63f4f6e564836fdcf5e36b3184f5df2a20994ded3a20ee0ff1360ea5e9db574bf6097f5b47673fc7db70bb9bfd3238075fb0a3b7b722a6461f09632 SHA512 cfe984dfe5af48ba9f4f959a1d0ab1d331d3c2fdb64c680572e5652b845e5c290097ec3ed2b4e472a563cd6ab79489124f6eb212902a05a2f1ce5ff254a82e13
EBUILD genty-1.3.2-r2.ebuild 656 BLAKE2B 1ca177b95d1289c27d1697d981397fb48025c0a42766cc657f057166ebde0b022049f955c0f188f1f444a381f299b2b46a900b77a8f040a5096550997101570e SHA512 a1d57d57e25a9d934505be48cdf352f636b25e85b40dbeda832ee8f642a11eb99a9d1b2f173a895de112901e2fe30c4731acd5824d2847747f8dc8ea2b461e61
+EBUILD genty-1.3.2-r3.ebuild 721 BLAKE2B 345b418b00800a2082ce488f88b8b3c6b2d6c8b805727de01aa0e48e174ba0af0f630e5e30fc861b23470fdf1381e07365f375104769b25c93b6f9a8b401a13f SHA512 aeac1c4d36f1d1a11830c65a2f5a4c13ba75b6ae6ec42592dadb6171a95b99953bcad5b1ca449c527bacabdf023f34713df544af4c4010716b24780cace75aa3
MISC metadata.xml 382 BLAKE2B dc3dc87f3c25fdad2cec23a3e1e2bf87a458712c95b2f4899761f110622cc267daaec25e3b2c64355c91669317ce93b8a33d077f0708b9c3bb69b8a81cf1133b SHA512 b97a5b4f8fb65d0357ba5a24e53ad841cb7db237009e36af61e1803944293e40b765516d8ed8195c224ff7947394080ac06332b994f749fee86f13b71a33cf3c
diff --git a/dev-python/genty/genty-1.3.2-r3.ebuild b/dev-python/genty/genty-1.3.2-r3.ebuild
new file mode 100644
index 000000000000..f8305dabfdf3
--- /dev/null
+++ b/dev-python/genty/genty-1.3.2-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Allows you to run a test with multiple data sets"
+HOMEPAGE="
+ https://pypi.org/project/genty/
+ https://github.com/box/genty/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ sed -i -e 's:from mock:from unittest.mock:' test/test_genty.py || die
+}