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: Tue, 30 Mar 2021 11:10:22
Message-Id: 1617102463.4efe03897a3a00cda859350946cbb69ffb72c86e.mgorny@gentoo
1 commit: 4efe03897a3a00cda859350946cbb69ffb72c86e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 11:07:43 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 11:07:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efe0389
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.2.0.ebuild | 64 ---------------------------
14 dev-python/hypothesis/hypothesis-6.4.3.ebuild | 63 --------------------------
15 3 files changed, 129 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index 42e0c567db2..e07172618b5 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -1,6 +1,4 @@
22 -DIST hypothesis-python-6.2.0.tar.gz 9108590 BLAKE2B 73a6b71c68aec1ec51f791187bbe5be679d5e3b4da9e66745767dafb109d298b0c61bd461ed838a0c75884d155fb408bddebc75d1cf887629da5cf5d6b053e03 SHA512 b249124f90d1d68aa6e106965b0ae78e37f095be0adc1833895f0895357d46c907074e2abe458be566708ba006b6c4375908b40ef89d52300fd41ad63abc2e52
23 DIST hypothesis-python-6.3.4.tar.gz 9112374 BLAKE2B 78867f0ff142d6059a20c437c3fab333de06eff5247d93c1e70f75d801e54984c20da01322b7d4d4999cb30f2c59c6e7cf955fe60ecc0e90b452b8ddf6b6f2ff SHA512 7baee8758d86afbb0a8a16e18b2f14d3870ee2f5623857fc691ca1afc7f0c6555b367fbe758ff02c08af492b4569ef2aeb8d61bf3bd91ac458312a43b02d02f6
24 -DIST hypothesis-python-6.4.3.tar.gz 9113616 BLAKE2B f3761a22b574edc0b001a25c836c3a845fb3a1396dbc4afc2caa1f31870793cfca8646e6b9b45386e835fce97b9bc68226018c50675931e48968e9502ad41844 SHA512 010d140538bd6a361326d00bf38a50ffbbe08adc55cc7597cf69563b5d028335493c1925bcb91f618afd87f4d754e8109776be89f229e8b25b91510fbf64d7bd
25 DIST hypothesis-python-6.6.0.tar.gz 9117847 BLAKE2B bb88ebee9db53f1c5753730d04e5dfe6a39ac4c5f7d534778b22b813ba188a55de6ad8a34f611f7863d1c3287be39ed7e10981e9d6ed8d8dd106688f154c3a49 SHA512 a446b4a11c6ee013225bfcd58e26efc6c9d867545d9bcf90a19468cb01fc5e2c5a7280ff9a80d4a1adbfe06dd155df6152941d5f53869d85e1d259e68a33a5e2
26 DIST hypothesis-python-6.8.1.tar.gz 9119495 BLAKE2B 4d98e30a04f652af79dd49e921b856124a312b63f087a6fd200282e9b0a0cd6fcad1a42a6008406bc347f21bf9cd6c5ff2db79d013987281f59365bd9d91550d SHA512 2f25e994438479b5faa15b2038146ab385445bf2722b0951ff55f324b074248d7322c4c6f3e9c659c18d0aa94150eea4c6567a7ac24debf2de4b32bab37a4dcc
27 DIST hypothesis-python-6.8.3.tar.gz 9120421 BLAKE2B 9511f63aafe499316750ec8a993726d4e8db87b42fb772cf79cde1be18b23e99f55c1a2638f3ee7afadae5f323792322cf87b747ac428146fea2abc92793f8f5 SHA512 83660978dc4ff49a04d7167994821a18c769039c49dcbc515b28591651bb9ab2121e3a7267cb20281efade85003a5808e0898fda5dfe1e4be563a03d4688085c
28
29 diff --git a/dev-python/hypothesis/hypothesis-6.2.0.ebuild b/dev-python/hypothesis/hypothesis-6.2.0.ebuild
30 deleted file mode 100644
31 index 60bc6007a39..00000000000
32 --- a/dev-python/hypothesis/hypothesis-6.2.0.ebuild
33 +++ /dev/null
34 @@ -1,64 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -DISTUTILS_USE_SETUPTOOLS=rdepend
41 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
42 -PYTHON_REQ_USE="threads(+),sqlite"
43 -
44 -inherit distutils-r1 eutils multiprocessing optfeature
45 -
46 -DESCRIPTION="A library for property based testing"
47 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
48 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
49 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
50 -
51 -LICENSE="MPL-2.0"
52 -SLOT="0"
53 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
54 -IUSE="cli test"
55 -RESTRICT="!test? ( test )"
56 -
57 -RDEPEND="
58 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
59 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
60 - cli? (
61 - $(python_gen_cond_dep '
62 - dev-python/black[${PYTHON_USEDEP}]
63 - dev-python/click[${PYTHON_USEDEP}]
64 - ' 'python*')
65 - )
66 -"
67 -BDEPEND="
68 - test? (
69 - ${RDEPEND}
70 - dev-python/mock[${PYTHON_USEDEP}]
71 - dev-python/pexpect[${PYTHON_USEDEP}]
72 - <dev-python/pytest-6.2[${PYTHON_USEDEP}]
73 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
74 - !!<dev-python/typing-3.7.4.1
75 - )
76 -"
77 -
78 -python_prepare() {
79 - if ! use cli || [[ ${EPYTHON} != python* ]]; then
80 - sed -i -e '/console_scripts/d' setup.py || die
81 - fi
82 -}
83 -
84 -python_test() {
85 - distutils_install_for_testing --via-root
86 - pytest -vv tests/cover tests/pytest tests/quality \
87 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
88 - die "Tests fail with ${EPYTHON}"
89 -}
90 -
91 -pkg_postinst() {
92 - optfeature "datetime support" dev-python/pytz
93 - optfeature "dateutil support" dev-python/python-dateutil
94 - optfeature "numpy support" dev-python/numpy
95 - optfeature "django support" dev-python/django dev-python/pytz
96 - optfeature "pandas support" dev-python/pandas
97 - optfeature "pytest support" dev-python/pytest
98 -}
99
100 diff --git a/dev-python/hypothesis/hypothesis-6.4.3.ebuild b/dev-python/hypothesis/hypothesis-6.4.3.ebuild
101 deleted file mode 100644
102 index 46ee7df74d3..00000000000
103 --- a/dev-python/hypothesis/hypothesis-6.4.3.ebuild
104 +++ /dev/null
105 @@ -1,63 +0,0 @@
106 -# Copyright 1999-2021 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=7
110 -
111 -DISTUTILS_USE_SETUPTOOLS=rdepend
112 -PYTHON_COMPAT=( python3_{7..9} pypy3 )
113 -PYTHON_REQ_USE="threads(+),sqlite"
114 -
115 -inherit distutils-r1 eutils multiprocessing optfeature
116 -
117 -DESCRIPTION="A library for property based testing"
118 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
119 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
120 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
121 -
122 -LICENSE="MPL-2.0"
123 -SLOT="0"
124 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
125 -IUSE="cli"
126 -
127 -RDEPEND="
128 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
129 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
130 - cli? (
131 - $(python_gen_cond_dep '
132 - dev-python/black[${PYTHON_USEDEP}]
133 - dev-python/click[${PYTHON_USEDEP}]
134 - ' 'python*')
135 - )
136 -"
137 -BDEPEND="
138 - test? (
139 - dev-python/mock[${PYTHON_USEDEP}]
140 - dev-python/pexpect[${PYTHON_USEDEP}]
141 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
142 - !!<dev-python/typing-3.7.4.1
143 - )
144 -"
145 -
146 -distutils_enable_tests --install pytest
147 -
148 -python_prepare() {
149 - if ! use cli || [[ ${EPYTHON} != python* ]]; then
150 - sed -i -e '/console_scripts/d' setup.py || die
151 - fi
152 -}
153 -
154 -python_test() {
155 - distutils_install_for_testing --via-root
156 - pytest -vv tests/cover tests/pytest tests/quality \
157 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
158 - die "Tests fail with ${EPYTHON}"
159 -}
160 -
161 -pkg_postinst() {
162 - optfeature "datetime support" dev-python/pytz
163 - optfeature "dateutil support" dev-python/python-dateutil
164 - optfeature "numpy support" dev-python/numpy
165 - optfeature "django support" dev-python/django dev-python/pytz
166 - optfeature "pandas support" dev-python/pandas
167 - optfeature "pytest support" dev-python/pytest
168 -}