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: Sat, 27 Aug 2022 23:12:38
Message-Id: 1661579912.843a2a48283db087cc0a1a1bece6b116c9fafe3f.mgorny@gentoo
1 commit: 843a2a48283db087cc0a1a1bece6b116c9fafe3f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 27 05:58:32 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 27 05:58:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=843a2a48
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.52.4.ebuild | 76 --------------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
17 index 7df1ab789b4e..dbb1126ec83b 100644
18 --- a/dev-python/hypothesis/Manifest
19 +++ b/dev-python/hypothesis/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST hypothesis-6.52.4.gh.tar.gz 9323011 BLAKE2B fece23da48d4849252a0fa48ae741506f49aa1f2b63f81afe3b71d18e0325a4e337bebde1a1707390d38bdf57e2ce1145985231f68557b36c58886d82774a7d9 SHA512 c51f29d52757d08652f83deda48825ca38c86e0bc67743c2cff9c85f52d726671f07d0249dfdc761b2ba8250d40beacdf5e037e8629f24df5baeddd297f38030
22 DIST hypothesis-6.53.0.gh.tar.gz 9323355 BLAKE2B 589cd4803351e72cc1896453e5e548bb6fb5f998032bce91708e02f3c8ff5d288ec76d65eeffde5fa31b6b86fbb3ad81dfe3eebaaac841f197de3a07acfa12bd SHA512 ab4de3764ca3ce8e5e50966ea94fcadd85e7c9f170dbbd17383b5516528e091ebfe3b06846513ee77a1f7a2e827236d323c12cc120cac421ec7aa9f3a2ca5e4a
23 DIST hypothesis-6.54.1.gh.tar.gz 9324403 BLAKE2B 897fa4901a5c5c0e32c4197020702dbe5d85a5ada79f52b66fc7f19180a32f4dce54f5300722f500fb560766e1ff76b5df648be6be0f229ece4b3aa0af856fc3 SHA512 ba4a7a3f5daa7437e903604d26a9dd0e4ce77d0a44a2e81fec5620f48a5f6a9080b5e5401fa1f7ee6c66d4e1d51cca095ce7e74999b0439b5a8a0c2d26f64464
24 DIST hypothesis-6.54.2.gh.tar.gz 9324746 BLAKE2B 25e3effa9667e8b6c57dff0ed00c14cc36385678475a1a1ac9fd30d2e293ea3a49d76ad34e391b33bad7214ce97b5d23aebedcb5d7f74686f3182a72e133416f SHA512 f53d589426b2340f6d747763cc4228f632474bc833e53e2d67fd6545437fc46cf976055dd0f1a55c4cb6377667ce0b0d8bc7dae33454157fbb91af7a5b009b62
25
26 diff --git a/dev-python/hypothesis/hypothesis-6.52.4.ebuild b/dev-python/hypothesis/hypothesis-6.52.4.ebuild
27 deleted file mode 100644
28 index 4fc4aa3ee205..000000000000
29 --- a/dev-python/hypothesis/hypothesis-6.52.4.ebuild
30 +++ /dev/null
31 @@ -1,76 +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 - -> ${P}.gh.tar.gz
54 -"
55 -S="${WORKDIR}/${MY_P}/hypothesis-python"
56 -
57 -LICENSE="MPL-2.0"
58 -SLOT="0"
59 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86"
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 - $(python_gen_cond_dep '
66 - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
67 - ' 3.8 3.9 3.10)
68 - cli? (
69 - $(python_gen_cond_dep '
70 - dev-python/black[${PYTHON_USEDEP}]
71 - dev-python/click[${PYTHON_USEDEP}]
72 - ' "${CLI_COMPAT[@]}")
73 - )
74 -"
75 -BDEPEND="
76 - test? (
77 - dev-python/mock[${PYTHON_USEDEP}]
78 - dev-python/pexpect[${PYTHON_USEDEP}]
79 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
80 - )
81 -"
82 -
83 -distutils_enable_tests pytest
84 -
85 -python_test() {
86 - # subtests are broken by warnings from random plugins
87 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
88 - local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
89 -
90 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)"
91 -}
92 -
93 -python_install() {
94 - distutils-r1_python_install
95 - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
96 - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
97 - fi
98 -}
99 -
100 -pkg_postinst() {
101 - optfeature "datetime support" dev-python/pytz
102 - optfeature "dateutil support" dev-python/python-dateutil
103 - optfeature "numpy support" dev-python/numpy
104 - optfeature "django support" dev-python/django dev-python/pytz
105 - optfeature "pandas support" dev-python/pandas
106 - optfeature "pytest support" dev-python/pytest
107 -}