1 |
commit: 0f5ad79359e4f8e19030f0f62985be242c81fe67 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 11:17:19 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 11:17:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5ad793 |
7 |
|
8 |
dev-python/hypothesis: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/Manifest | 1 - |
13 |
dev-python/hypothesis/hypothesis-6.46.11.ebuild | 73 ------------------------- |
14 |
2 files changed, 74 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
17 |
index 56b07d9475f3..c232913e5bc4 100644 |
18 |
--- a/dev-python/hypothesis/Manifest |
19 |
+++ b/dev-python/hypothesis/Manifest |
20 |
@@ -4,4 +4,3 @@ DIST hypothesis-6.52.2.gh.tar.gz 9321530 BLAKE2B d54b97bf15895b503d14629c61cd99d |
21 |
DIST hypothesis-6.52.3.gh.tar.gz 9321591 BLAKE2B 50415d463d2513b023b8a6ac87a2bb6dae433b823fd209ec1137a26184bb5550fb9606e006cffecbff09c523fb244b9f8c119e1c9dc765b925f8aa6b0dc43bed SHA512 f8aae5976cc2bd47e157310434d2717caea5e639daf1d794fa6c45332fe44fc5873904451f1fb0b53d56e64147428c4c87e130b4776fd3b14e2c2b961660231d |
22 |
DIST hypothesis-6.52.4.gh.tar.gz 9323011 BLAKE2B fece23da48d4849252a0fa48ae741506f49aa1f2b63f81afe3b71d18e0325a4e337bebde1a1707390d38bdf57e2ce1145985231f68557b36c58886d82774a7d9 SHA512 c51f29d52757d08652f83deda48825ca38c86e0bc67743c2cff9c85f52d726671f07d0249dfdc761b2ba8250d40beacdf5e037e8629f24df5baeddd297f38030 |
23 |
DIST hypothesis-6.53.0.gh.tar.gz 9323355 BLAKE2B 589cd4803351e72cc1896453e5e548bb6fb5f998032bce91708e02f3c8ff5d288ec76d65eeffde5fa31b6b86fbb3ad81dfe3eebaaac841f197de3a07acfa12bd SHA512 ab4de3764ca3ce8e5e50966ea94fcadd85e7c9f170dbbd17383b5516528e091ebfe3b06846513ee77a1f7a2e827236d323c12cc120cac421ec7aa9f3a2ca5e4a |
24 |
-DIST hypothesis-hypothesis-python-6.46.11.gh.tar.gz 9312248 BLAKE2B 78b5ca5bd38bd62d2fe50ab929df075e253c059aed329d6b52051fb01449f8de84ae340ba42a4af94ef592411139a45d34aad232fe4bb2d8412165730bbeca01 SHA512 6fdd54f28d275eb65a4f6e6919437d503eba6254c25e22298c34ac67e6de03cd99a5178b1a475b1da7f7afeed8406e89c20b4818436143f442222d26f0d94796 |
25 |
|
26 |
diff --git a/dev-python/hypothesis/hypothesis-6.46.11.ebuild b/dev-python/hypothesis/hypothesis-6.46.11.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0dba02dcf600..000000000000 |
29 |
--- a/dev-python/hypothesis/hypothesis-6.46.11.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,73 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-DISTUTILS_USE_PEP517=setuptools |
38 |
-CLI_COMPAT=( python3_{8..10} ) |
39 |
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) |
40 |
-PYTHON_REQ_USE="threads(+),sqlite" |
41 |
- |
42 |
-inherit distutils-r1 multiprocessing optfeature |
43 |
- |
44 |
-TAG=hypothesis-python-${PV} |
45 |
-MY_P=hypothesis-${TAG} |
46 |
-DESCRIPTION="A library for property based testing" |
47 |
-HOMEPAGE=" |
48 |
- https://github.com/HypothesisWorks/hypothesis/ |
49 |
- https://pypi.org/project/hypothesis/ |
50 |
-" |
51 |
-SRC_URI=" |
52 |
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz |
53 |
- -> ${MY_P}.gh.tar.gz |
54 |
-" |
55 |
-S="${WORKDIR}/${MY_P}/hypothesis-python" |
56 |
- |
57 |
-LICENSE="MPL-2.0" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
60 |
-IUSE="cli" |
61 |
- |
62 |
-RDEPEND=" |
63 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
64 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
65 |
- cli? ( |
66 |
- $(python_gen_cond_dep ' |
67 |
- dev-python/black[${PYTHON_USEDEP}] |
68 |
- dev-python/click[${PYTHON_USEDEP}] |
69 |
- ' "${CLI_COMPAT[@]}") |
70 |
- ) |
71 |
-" |
72 |
-BDEPEND=" |
73 |
- test? ( |
74 |
- dev-python/mock[${PYTHON_USEDEP}] |
75 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
76 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
77 |
- ) |
78 |
-" |
79 |
- |
80 |
-distutils_enable_tests pytest |
81 |
- |
82 |
-python_test() { |
83 |
- # subtests are broken by warnings from random plugins |
84 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
85 |
- local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin |
86 |
- |
87 |
- epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" |
88 |
-} |
89 |
- |
90 |
-python_install() { |
91 |
- distutils-r1_python_install |
92 |
- if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then |
93 |
- rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die |
94 |
- fi |
95 |
-} |
96 |
- |
97 |
-pkg_postinst() { |
98 |
- optfeature "datetime support" dev-python/pytz |
99 |
- optfeature "dateutil support" dev-python/python-dateutil |
100 |
- optfeature "numpy support" dev-python/numpy |
101 |
- optfeature "django support" dev-python/django dev-python/pytz |
102 |
- optfeature "pandas support" dev-python/pandas |
103 |
- optfeature "pytest support" dev-python/pytest |
104 |
-} |