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