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: Mon, 02 Dec 2019 08:31:04
Message-Id: 1575275384.281e5b8f3d9ea98182079f864ea53cbeae38076e.mgorny@gentoo
1 commit: 281e5b8f3d9ea98182079f864ea53cbeae38076e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 07:54:38 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 08:29:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281e5b8f
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-4.50.1.ebuild | 58 --------------------------
14 dev-python/hypothesis/hypothesis-4.50.2.ebuild | 58 --------------------------
15 3 files changed, 118 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index 302c4c49a0b..c484310cbc5 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -3,6 +3,4 @@ DIST hypothesis-python-3.74.3.tar.gz 552616 BLAKE2B e19a0991e7ae2fa6208c81d336cc
22 DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7
23 DIST hypothesis-python-4.44.2.tar.gz 3240386 BLAKE2B 3fe3295ba1f7401e1fb74af894d91eda525f8ef51eb893f1f8e5224cead8572f3c06f6a4bb345c123e56ed06d0676c85dc4477a80e54480baa6bd9f5f2bc069e SHA512 bebc5da337fa74a75d08cb57531c2f6b8ba1ab16d1a3d9be8348cd56ada1ab25a34e3b812a4aa71bf172bc97ebc8df0accdad37466f9162c3f8f2a8edbea9da9
24 DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b38858d47fddba613ce37eb9a9554afa3c189776e9172965dd31f8497747ac13b2ab1d34ee6de8671646972e71b82c5260db489b9a SHA512 9b6920181dca75b9e551ae5e598101f35cfc26e9e3a1b20cab652c151bc6355413d0c9602d3242fb23f808ab00335793009df938d55ee19a6af1ce2a8b085e3c
25 -DIST hypothesis-python-4.50.1.tar.gz 6811489 BLAKE2B 26efeb6b648f494e5d6c7b36f6c32c92bb7bf6ae0ae776d39d9e4a815122cb3832fc8b035823b7e11de41afa0b529b9ed38ee63b0a3cf0aafa3bded50fc04abb SHA512 b6d2799b2ab8e5809f9ac7bb910bd6844c853a50e1bdacb77afc4c3a09631cd626036dd4edf3b1e211bec4982feeb07c2273ad1a4029b737dc188b0d7c5a3beb
26 -DIST hypothesis-python-4.50.2.tar.gz 6812169 BLAKE2B bcdba296b76d8fad64d2f3fcb23ff7452f558b1b47f1924048395c34f2dc49bd2525a3363a35e0013c8762954b681f96c3309eea3f64b276c13893d3ce40b564 SHA512 cd8a0f62caab16544abf923a43c411dea8abf1e0ed5e8ce18cf574959bbc20c31245b3022def80b0a08f234933cbc354804308942cb575a652a6b36814b58c59
27 DIST hypothesis-python-4.50.3.tar.gz 6812208 BLAKE2B 2c5102e3fe62cf405f4e9216e516d9cf0a1fb3f138cb6578a75187bc8d5e1736eba9e88c88521ec9439e91f520d3077ea7bc116c9f059331534791e3ce969b31 SHA512 fbf4b5ca052ca6e3fc647b2b48c3f91d6aa6eba630abfe44c545d1d618834875ed8fe87b49daccc0780478bc259b790178640072e509e8dacbac9bc4b20d99fa
28
29 diff --git a/dev-python/hypothesis/hypothesis-4.50.1.ebuild b/dev-python/hypothesis/hypothesis-4.50.1.ebuild
30 deleted file mode 100644
31 index 3def9e85121..00000000000
32 --- a/dev-python/hypothesis/hypothesis-4.50.1.ebuild
33 +++ /dev/null
34 @@ -1,58 +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~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 -"
59 -BDEPEND="
60 - dev-python/setuptools[${PYTHON_USEDEP}]
61 - test? (
62 - ${RDEPEND}
63 - dev-python/mock[${PYTHON_USEDEP}]
64 - dev-python/pexpect[${PYTHON_USEDEP}]
65 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
66 - !!<dev-python/typing-3.7.4.1
67 - )
68 -"
69 -
70 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
71 -
72 -src_prepare() {
73 - # avoid pytest-xdist dep for one test
74 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
75 - tests/pytest/test_statistics.py || die
76 - distutils-r1_src_prepare
77 -}
78 -
79 -python_test() {
80 - local pyver=$(python_is_python3 && echo 3 || echo 2)
81 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
82 - die "Tests fail with ${EPYTHON}"
83 -}
84 -
85 -pkg_postinst() {
86 - optfeature "datetime support" dev-python/pytz
87 - optfeature "dateutil support" dev-python/python-dateutil
88 - optfeature "numpy support" dev-python/numpy
89 - optfeature "django support" dev-python/django dev-python/pytz
90 - optfeature "pandas support" dev-python/pandas
91 - optfeature "pytest support" dev-python/pytest
92 -}
93
94 diff --git a/dev-python/hypothesis/hypothesis-4.50.2.ebuild b/dev-python/hypothesis/hypothesis-4.50.2.ebuild
95 deleted file mode 100644
96 index 3def9e85121..00000000000
97 --- a/dev-python/hypothesis/hypothesis-4.50.2.ebuild
98 +++ /dev/null
99 @@ -1,58 +0,0 @@
100 -# Copyright 1999-2019 Gentoo Authors
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=7
104 -
105 -PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
106 -PYTHON_REQ_USE="threads(+),sqlite"
107 -
108 -inherit distutils-r1 eutils
109 -
110 -DESCRIPTION="A library for property based testing"
111 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
112 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
113 -
114 -LICENSE="MPL-2.0"
115 -SLOT="0"
116 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
117 -IUSE="test"
118 -RESTRICT="!test? ( test )"
119 -
120 -RDEPEND="
121 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
122 - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)
123 -"
124 -BDEPEND="
125 - dev-python/setuptools[${PYTHON_USEDEP}]
126 - test? (
127 - ${RDEPEND}
128 - dev-python/mock[${PYTHON_USEDEP}]
129 - dev-python/pexpect[${PYTHON_USEDEP}]
130 - >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
131 - !!<dev-python/typing-3.7.4.1
132 - )
133 -"
134 -
135 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
136 -
137 -src_prepare() {
138 - # avoid pytest-xdist dep for one test
139 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
140 - tests/pytest/test_statistics.py || die
141 - distutils-r1_src_prepare
142 -}
143 -
144 -python_test() {
145 - local pyver=$(python_is_python3 && echo 3 || echo 2)
146 - pytest -vv tests/cover tests/pytest tests/py${pyver} ||
147 - die "Tests fail with ${EPYTHON}"
148 -}
149 -
150 -pkg_postinst() {
151 - optfeature "datetime support" dev-python/pytz
152 - optfeature "dateutil support" dev-python/python-dateutil
153 - optfeature "numpy support" dev-python/numpy
154 - optfeature "django support" dev-python/django dev-python/pytz
155 - optfeature "pandas support" dev-python/pandas
156 - optfeature "pytest support" dev-python/pytest
157 -}