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: Wed, 01 Jan 2020 16:04:22
Message-Id: 1577894647.ea7768f9e06ce51c74361eee39cb80e1ed365cb1.mgorny@gentoo
1 commit: ea7768f9e06ce51c74361eee39cb80e1ed365cb1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 14:21:34 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 16:04:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea7768f9
7
8 dev-python/hypothesis: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/hypothesis/Manifest | 2 -
13 dev-python/hypothesis/hypothesis-4.55.1.ebuild | 59 --------------------------
14 dev-python/hypothesis/hypothesis-4.55.2.ebuild | 59 --------------------------
15 3 files changed, 120 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index 7e2d0cdfb58..98ebbd01dfd 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -1,6 +1,4 @@
22 DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7
23 DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c
24 DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545
25 -DIST hypothesis-python-4.55.1.tar.gz 9002112 BLAKE2B 16c0c0def078abf2847ce55617c1bfdc93dc085128764fff09724df148b41fd4669ddbee7d9c34f47249283e37b32585fc758e3c6d4cb2035049c3dbf382e568 SHA512 d079bcfce6a37ebf245288d9c615fd0328daa90d81d3dd51a38d351fef4a9da5a79c6abcb63a4f39a71240ae82c5af122f6b01c482225e81889e8474068d6c1a
26 -DIST hypothesis-python-4.55.2.tar.gz 9002965 BLAKE2B 16d46687e787673f1b033037064cbc47edfe517ae6464f8ab5924336240ab87ab24d27b547f41c3888e4609ff4100347485dcc3ba414dc37dad6b170deae0ae4 SHA512 056821a6f03cd564cfe87a0190fb4a4e1b08068e8f5637241859023b44a7600c9ca8508aa9e38464b880c2018753e5010ec9f047959603885175e3c308c3c2bb
27 DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b82ce2f9b42e7391beae8f67debdf50494e662f07bf109274d4e29fcf3a1c1c944597cde2a4ff9e7ca65a48f1244c3205f365af SHA512 91d7d2cda32fd40d5368fdd1e60b990b8307573782d822113b6817a5c0b670610693a2f2b013f828913549946fa3dc15f45303bf7d3226bdc1e4527bc18981fb
28
29 diff --git a/dev-python/hypothesis/hypothesis-4.55.1.ebuild b/dev-python/hypothesis/hypothesis-4.55.1.ebuild
30 deleted file mode 100644
31 index 145b07eb19e..00000000000
32 --- a/dev-python/hypothesis/hypothesis-4.55.1.ebuild
33 +++ /dev/null
34 @@ -1,59 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
41 -PYTHON_REQ_USE="threads(+),sqlite"
42 -
43 -inherit distutils-r1 eutils
44 -
45 -DESCRIPTION="A library for property based testing"
46 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
47 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
48 -
49 -LICENSE="MPL-2.0"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 -IUSE="test"
53 -RESTRICT="!test? ( test )"
54 -
55 -RDEPEND="
56 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
57 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
58 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
59 -"
60 -BDEPEND="
61 - dev-python/setuptools[${PYTHON_USEDEP}]
62 - test? (
63 - ${RDEPEND}
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/pexpect[${PYTHON_USEDEP}]
66 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
67 - !!<dev-python/typing-3.7.4.1
68 - )
69 -"
70 -
71 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
72 -
73 -src_prepare() {
74 - # avoid pytest-xdist dep for one test
75 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
76 - tests/pytest/test_statistics.py || die
77 - distutils-r1_src_prepare
78 -}
79 -
80 -python_test() {
81 - local pyver=$(python_is_python3 && echo 3 || echo 2)
82 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
83 - die "Tests fail with ${EPYTHON}"
84 -}
85 -
86 -pkg_postinst() {
87 - optfeature "datetime support" dev-python/pytz
88 - optfeature "dateutil support" dev-python/python-dateutil
89 - optfeature "numpy support" dev-python/numpy
90 - optfeature "django support" dev-python/django dev-python/pytz
91 - optfeature "pandas support" dev-python/pandas
92 - optfeature "pytest support" dev-python/pytest
93 -}
94
95 diff --git a/dev-python/hypothesis/hypothesis-4.55.2.ebuild b/dev-python/hypothesis/hypothesis-4.55.2.ebuild
96 deleted file mode 100644
97 index 145b07eb19e..00000000000
98 --- a/dev-python/hypothesis/hypothesis-4.55.2.ebuild
99 +++ /dev/null
100 @@ -1,59 +0,0 @@
101 -# Copyright 1999-2019 Gentoo Authors
102 -# Distributed under the terms of the GNU General Public License v2
103 -
104 -EAPI=7
105 -
106 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
107 -PYTHON_REQ_USE="threads(+),sqlite"
108 -
109 -inherit distutils-r1 eutils
110 -
111 -DESCRIPTION="A library for property based testing"
112 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
113 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
114 -
115 -LICENSE="MPL-2.0"
116 -SLOT="0"
117 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
118 -IUSE="test"
119 -RESTRICT="!test? ( test )"
120 -
121 -RDEPEND="
122 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
123 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
124 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
125 -"
126 -BDEPEND="
127 - dev-python/setuptools[${PYTHON_USEDEP}]
128 - test? (
129 - ${RDEPEND}
130 - dev-python/mock[${PYTHON_USEDEP}]
131 - dev-python/pexpect[${PYTHON_USEDEP}]
132 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
133 - !!<dev-python/typing-3.7.4.1
134 - )
135 -"
136 -
137 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
138 -
139 -src_prepare() {
140 - # avoid pytest-xdist dep for one test
141 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
142 - tests/pytest/test_statistics.py || die
143 - distutils-r1_src_prepare
144 -}
145 -
146 -python_test() {
147 - local pyver=$(python_is_python3 && echo 3 || echo 2)
148 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
149 - die "Tests fail with ${EPYTHON}"
150 -}
151 -
152 -pkg_postinst() {
153 - optfeature "datetime support" dev-python/pytz
154 - optfeature "dateutil support" dev-python/python-dateutil
155 - optfeature "numpy support" dev-python/numpy
156 - optfeature "django support" dev-python/django dev-python/pytz
157 - optfeature "pandas support" dev-python/pandas
158 - optfeature "pytest support" dev-python/pytest
159 -}