Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/
Date: Sun, 25 Sep 2022 19:31:31
Message-Id: 1664134284.b11ed6b164ba0cc4a90ae62a572eae0f20a618bc.mgorny@gentoo
1 commit: b11ed6b164ba0cc4a90ae62a572eae0f20a618bc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 19:02:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 19:31:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11ed6b1
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 | 2 -
13 dev-python/hypothesis/hypothesis-6.54.3.ebuild | 76 --------------------------
14 dev-python/hypothesis/hypothesis-6.54.4.ebuild | 76 --------------------------
15 3 files changed, 154 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index dfe265a31710..206c47573fe6 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST hypothesis-6.54.3.gh.tar.gz 9325211 BLAKE2B e0d6bc21057b50676ef98d1c9721b82c30986670758b2a7bfd1b101cc8d42258bf0d61887867445aafe13b8064c47d64583ab492e21b6fea510ef0c26fe01782 SHA512 288c5ea9c1dd8ee0839c11385f52ba8b8122f408aa11c6d2416460233ef78890e3014e659ef4312da4822da3abe2dd9163f68d2711556800e805ae41280aa132
23 -DIST hypothesis-6.54.4.gh.tar.gz 9325437 BLAKE2B 2000c806a0c791d1eb353a829e5e96d53e935d360fd450b3807186121fec4dfd171b8821e08b6c23b0cbea8d24b0d88c32126281173a0de2f12b29d09ec2d62b SHA512 7e5b70cc2df874163205e3d35f3f5e6a71319e779b35f1596c69222373e9b766a143ccf37aa1699de6b98827978e44ccbca0b1e30e6ffe29c8b68c83bb3af869
24 DIST hypothesis-6.54.5.gh.tar.gz 9325448 BLAKE2B b4cb8a413ad96f11f4dbf4a1a529e389dbca45561264cf0922721a25009d1065fdce21064faf53bd7aad2f589c159b52d899aa7b12c12da68beae8c9186c0505 SHA512 37205ea28b44537409a94592e466376e9612f84a8501ad2ff5504fc648e062555ffb600416bdd1f9a74f39ba39729defd581025e0611c501839721721f7cf6e3
25 DIST hypothesis-6.54.6.gh.tar.gz 9325898 BLAKE2B 01dde1d57192ede0a732ba2a50954fb6b1a1532e584715186f813977b2f22fd3411ec489874da67e687ca470ac58340dc45b821923ab01b03888c44a7882c0c0 SHA512 d678d0936c7906c839c29ad6c08154a067f8be2e18344139051ecc4b5c737f5088d2775a25758da2e29b74574b47c5f817643ccb762db851bc2b25e4fdbb3259
26
27 diff --git a/dev-python/hypothesis/hypothesis-6.54.3.ebuild b/dev-python/hypothesis/hypothesis-6.54.3.ebuild
28 deleted file mode 100644
29 index 4fc4aa3ee205..000000000000
30 --- a/dev-python/hypothesis/hypothesis-6.54.3.ebuild
31 +++ /dev/null
32 @@ -1,76 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -DISTUTILS_USE_PEP517=setuptools
39 -CLI_COMPAT=( python3_{8..10} )
40 -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
41 -PYTHON_REQ_USE="threads(+),sqlite"
42 -
43 -inherit distutils-r1 multiprocessing optfeature
44 -
45 -TAG=hypothesis-python-${PV}
46 -MY_P=hypothesis-${TAG}
47 -DESCRIPTION="A library for property based testing"
48 -HOMEPAGE="
49 - https://github.com/HypothesisWorks/hypothesis/
50 - https://pypi.org/project/hypothesis/
51 -"
52 -SRC_URI="
53 - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
54 - -> ${P}.gh.tar.gz
55 -"
56 -S="${WORKDIR}/${MY_P}/hypothesis-python"
57 -
58 -LICENSE="MPL-2.0"
59 -SLOT="0"
60 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
61 -IUSE="cli"
62 -
63 -RDEPEND="
64 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
65 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
66 - $(python_gen_cond_dep '
67 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
68 - ' 3.8 3.9 3.10)
69 - cli? (
70 - $(python_gen_cond_dep '
71 - dev-python/black[${PYTHON_USEDEP}]
72 - dev-python/click[${PYTHON_USEDEP}]
73 - ' "${CLI_COMPAT[@]}")
74 - )
75 -"
76 -BDEPEND="
77 - test? (
78 - dev-python/mock[${PYTHON_USEDEP}]
79 - dev-python/pexpect[${PYTHON_USEDEP}]
80 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
81 - )
82 -"
83 -
84 -distutils_enable_tests pytest
85 -
86 -python_test() {
87 - # subtests are broken by warnings from random plugins
88 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
89 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
90 -
91 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
92 -}
93 -
94 -python_install() {
95 - distutils-r1_python_install
96 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
97 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
98 - fi
99 -}
100 -
101 -pkg_postinst() {
102 - optfeature "datetime support" dev-python/pytz
103 - optfeature "dateutil support" dev-python/python-dateutil
104 - optfeature "numpy support" dev-python/numpy
105 - optfeature "django support" dev-python/django dev-python/pytz
106 - optfeature "pandas support" dev-python/pandas
107 - optfeature "pytest support" dev-python/pytest
108 -}
109
110 diff --git a/dev-python/hypothesis/hypothesis-6.54.4.ebuild b/dev-python/hypothesis/hypothesis-6.54.4.ebuild
111 deleted file mode 100644
112 index 1065b755121f..000000000000
113 --- a/dev-python/hypothesis/hypothesis-6.54.4.ebuild
114 +++ /dev/null
115 @@ -1,76 +0,0 @@
116 -# Copyright 1999-2022 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=8
120 -
121 -DISTUTILS_USE_PEP517=setuptools
122 -CLI_COMPAT=( python3_{8..10} )
123 -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 )
124 -PYTHON_REQ_USE="threads(+),sqlite"
125 -
126 -inherit distutils-r1 multiprocessing optfeature
127 -
128 -TAG=hypothesis-python-${PV}
129 -MY_P=hypothesis-${TAG}
130 -DESCRIPTION="A library for property based testing"
131 -HOMEPAGE="
132 - https://github.com/HypothesisWorks/hypothesis/
133 - https://pypi.org/project/hypothesis/
134 -"
135 -SRC_URI="
136 - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
137 - -> ${P}.gh.tar.gz
138 -"
139 -S="${WORKDIR}/${MY_P}/hypothesis-python"
140 -
141 -LICENSE="MPL-2.0"
142 -SLOT="0"
143 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
144 -IUSE="cli"
145 -
146 -RDEPEND="
147 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
148 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
149 - $(python_gen_cond_dep '
150 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
151 - ' 3.8 3.9 3.10)
152 - cli? (
153 - $(python_gen_cond_dep '
154 - dev-python/black[${PYTHON_USEDEP}]
155 - dev-python/click[${PYTHON_USEDEP}]
156 - ' "${CLI_COMPAT[@]}")
157 - )
158 -"
159 -BDEPEND="
160 - test? (
161 - dev-python/mock[${PYTHON_USEDEP}]
162 - dev-python/pexpect[${PYTHON_USEDEP}]
163 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
164 - )
165 -"
166 -
167 -distutils_enable_tests pytest
168 -
169 -python_test() {
170 - # subtests are broken by warnings from random plugins
171 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
172 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
173 -
174 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
175 -}
176 -
177 -python_install() {
178 - distutils-r1_python_install
179 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
180 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
181 - fi
182 -}
183 -
184 -pkg_postinst() {
185 - optfeature "datetime support" dev-python/pytz
186 - optfeature "dateutil support" dev-python/python-dateutil
187 - optfeature "numpy support" dev-python/numpy
188 - optfeature "django support" dev-python/django dev-python/pytz
189 - optfeature "pandas support" dev-python/pandas
190 - optfeature "pytest support" dev-python/pytest
191 -}