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, 18 Sep 2020 09:38:23
Message-Id: 1600421879.d9d93c65d99561452d78d32ca68e672888049a37.mgorny@gentoo
1 commit: d9d93c65d99561452d78d32ca68e672888049a37
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 18 09:27:35 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 18 09:37:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d93c65
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-5.35.0.ebuild | 63 --------------------------
14 dev-python/hypothesis/hypothesis-5.35.2.ebuild | 63 --------------------------
15 3 files changed, 128 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index 8bc98bd01ab..11855509c0a 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -1,6 +1,4 @@
22 DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952
23 DIST hypothesis-python-5.24.4.tar.gz 9054743 BLAKE2B 5c64c86ed58d8f0e4a07390b1b1b5e405878b9632bf14233e0515ad9d98ec6ddcc57bf39be6b61f53739d34e393b3af64c0d362880019d29a649a9523a0204e3 SHA512 147f4fa47b54bf3ec4dfcebf2a6c98cee26ea6780244ef99e181bada65978375ca7731ed05cb98f1b92f7a44a357faae374d97d489ec6e2318ff94e526cd9a40
24 DIST hypothesis-python-5.29.4.tar.gz 9071060 BLAKE2B 0668f3c7859fae7024c15f693b1f56ce8d02d6f3b8187d24b2d84e38e7bdb73c0824d2b02cfecc6b40bdfbbb1c91c0aa83d40848c499a97ab7e9223aaa6c78d4 SHA512 9da4b487fd3c56540a20e2fbff635704f0720f422d8a398d0accd24a1fb9517476b0d29135b9113a96e8dc98fcfc31cc53215ad82cb727be54e4e77b44d4c8e4
25 -DIST hypothesis-python-5.35.0.tar.gz 9081292 BLAKE2B 8f1d50d76f589103f7b734cea6008b3533d3c0d62f45ab95a71f079833cb20b766d398a1b9492d592a93156d097d58c14041caf609f035b547f2234cbef2d602 SHA512 e99ce4c2801341fc43c4290afb551bcae69e0747a6b98a633b284bce009cc18d978b75a23bf22dafb39c5020595159806d5627128577770be3aad72a022549a3
26 -DIST hypothesis-python-5.35.2.tar.gz 9082095 BLAKE2B 6d2d2f74519975455a6d73f5d006837f7f71d162c5fe84c33afe81c7a110ecd93d2643db5b1ed8b00aec212c5c311254dcfbd66ae5bd08b077335a3754c9e9b4 SHA512 f17b7783d689986703bc6755a7dc30e8bfd4977a128954481067780d14b1b3f4bbfb21751a607a215357b5d300ad4e06ce951b81059ac8638c84005d682e2398
27 DIST hypothesis-python-5.35.3.tar.gz 9084707 BLAKE2B ff0638194067a1c52a0297254be572ba66d67afa49c1f2fbcc42bff694ab4fe545d408d9144118314a6decfdffdbe950e2b72e89b689ae99b82ad3d3321e72fd SHA512 d862cba17444b36fa05877419495b5e49e8686980e0203da388e2dc4e528ace928f0bcb244afc8512f97bf466f2e5a2a421a2c873053849af61de71421d5c61a
28
29 diff --git a/dev-python/hypothesis/hypothesis-5.35.0.ebuild b/dev-python/hypothesis/hypothesis-5.35.0.ebuild
30 deleted file mode 100644
31 index c8d53477c0b..00000000000
32 --- a/dev-python/hypothesis/hypothesis-5.35.0.ebuild
33 +++ /dev/null
34 @@ -1,63 +0,0 @@
35 -# Copyright 1999-2020 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_{6,7,8,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="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
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 - ' python3_{6..9})
65 - )
66 -"
67 -BDEPEND="
68 - test? (
69 - ${RDEPEND}
70 - dev-python/mock[${PYTHON_USEDEP}]
71 - dev-python/pexpect[${PYTHON_USEDEP}]
72 - >=dev-python/pytest-5.3.5[${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 - pytest -vv tests/cover tests/pytest tests/quality \
86 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
87 - die "Tests fail with ${EPYTHON}"
88 -}
89 -
90 -pkg_postinst() {
91 - optfeature "datetime support" dev-python/pytz
92 - optfeature "dateutil support" dev-python/python-dateutil
93 - optfeature "numpy support" dev-python/numpy
94 - optfeature "django support" dev-python/django dev-python/pytz
95 - optfeature "pandas support" dev-python/pandas
96 - optfeature "pytest support" dev-python/pytest
97 -}
98
99 diff --git a/dev-python/hypothesis/hypothesis-5.35.2.ebuild b/dev-python/hypothesis/hypothesis-5.35.2.ebuild
100 deleted file mode 100644
101 index c8d53477c0b..00000000000
102 --- a/dev-python/hypothesis/hypothesis-5.35.2.ebuild
103 +++ /dev/null
104 @@ -1,63 +0,0 @@
105 -# Copyright 1999-2020 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -DISTUTILS_USE_SETUPTOOLS=rdepend
111 -PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
112 -PYTHON_REQ_USE="threads(+),sqlite"
113 -
114 -inherit distutils-r1 eutils multiprocessing optfeature
115 -
116 -DESCRIPTION="A library for property based testing"
117 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
118 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
119 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
120 -
121 -LICENSE="MPL-2.0"
122 -SLOT="0"
123 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
124 -IUSE="cli test"
125 -RESTRICT="!test? ( test )"
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 - ' python3_{6..9})
135 - )
136 -"
137 -BDEPEND="
138 - test? (
139 - ${RDEPEND}
140 - dev-python/mock[${PYTHON_USEDEP}]
141 - dev-python/pexpect[${PYTHON_USEDEP}]
142 - >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}]
143 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
144 - !!<dev-python/typing-3.7.4.1
145 - )
146 -"
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 - pytest -vv tests/cover tests/pytest tests/quality \
156 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
157 - die "Tests fail with ${EPYTHON}"
158 -}
159 -
160 -pkg_postinst() {
161 - optfeature "datetime support" dev-python/pytz
162 - optfeature "dateutil support" dev-python/python-dateutil
163 - optfeature "numpy support" dev-python/numpy
164 - optfeature "django support" dev-python/django dev-python/pytz
165 - optfeature "pandas support" dev-python/pandas
166 - optfeature "pytest support" dev-python/pytest
167 -}