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, 11 Jan 2020 05:08:10
Message-Id: 1578719277.47c53a5b80072bc878deb90d794cca08669d9de9.mgorny@gentoo
1 commit: 47c53a5b80072bc878deb90d794cca08669d9de9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 11 04:22:11 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 11 05:07:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c53a5b
7
8 dev-python/hypothesis: Remove redundant version
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/hypothesis/Manifest | 1 -
13 dev-python/hypothesis/hypothesis-5.1.1.ebuild | 56 ---------------------------
14 2 files changed, 57 deletions(-)
15
16 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
17 index 8fbc133eb6d..76c5001c67b 100644
18 --- a/dev-python/hypothesis/Manifest
19 +++ b/dev-python/hypothesis/Manifest
20 @@ -3,6 +3,5 @@ DIST hypothesis-python-4.47.5.tar.gz 6805022 BLAKE2B 737a558c794f3ac428bef4b3885
21 DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545
22 DIST hypothesis-python-4.55.4.tar.gz 9004357 BLAKE2B 93fe51581f044cf5f416d9b74b82ce2f9b42e7391beae8f67debdf50494e662f07bf109274d4e29fcf3a1c1c944597cde2a4ff9e7ca65a48f1244c3205f365af SHA512 91d7d2cda32fd40d5368fdd1e60b990b8307573782d822113b6817a5c0b670610693a2f2b013f828913549946fa3dc15f45303bf7d3226bdc1e4527bc18981fb
23 DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952
24 -DIST hypothesis-python-5.1.1.tar.gz 8989696 BLAKE2B b2a231088579d0e3220af915f61d0c92dba7943fcfb6e3324a4a87c189fb44e83bdceb82d1e3601b20f219c65e010cc99d70daf7b042df170ce1536d1380d373 SHA512 dcc3a164f5e04f172fd49f9f21cf7c90cba4cb98b770449b167d0fde65eee88be5b352ddb1a2e254f5220191e3c6171b25e4065c21119df12ee7b6935301e512
25 DIST hypothesis-python-5.1.2.tar.gz 8989829 BLAKE2B 7063b859c8c180412b2d9b2641faefc861e52444b45d4bc455ba8309f44ee24c27e6c9a6d18e93fb0455a93d09d8b30a0d313313212436227f989ad7dd0d1b87 SHA512 48150a3ea6d1c6270cf016a363f110f29e6e2adc2bfa98947581dc963a0a19398609c21251f821c9e741e743411a989730000bff83d9c5a1b95b805408e32df1
26 DIST hypothesis-python-5.1.3.tar.gz 8989332 BLAKE2B a86409b0620b3821aae8f23f0473be08ed1152140f05c2ebcb3f226cc133fdbbb617856c768bc6034bcf25e6603e9e72b1b885df116fb9dfce7164018792fb99 SHA512 dd854158c1e903562c7aa101fe7810837816102b1f5dd840ec3d5df9abd9c1463d05adab79ef428749ea2a5d1a425150971d23ae3259b71baf0e0e8a8a9a3bb8
27
28 diff --git a/dev-python/hypothesis/hypothesis-5.1.1.ebuild b/dev-python/hypothesis/hypothesis-5.1.1.ebuild
29 deleted file mode 100644
30 index 24078c547ce..00000000000
31 --- a/dev-python/hypothesis/hypothesis-5.1.1.ebuild
32 +++ /dev/null
33 @@ -1,56 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
40 -PYTHON_REQ_USE="threads(+),sqlite"
41 -
42 -inherit distutils-r1 eutils
43 -
44 -DESCRIPTION="A library for property based testing"
45 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
46 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
47 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
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 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
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 -src_prepare() {
71 - # avoid pytest-xdist dep for one test
72 - sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
73 - tests/pytest/test_statistics.py || die
74 - distutils-r1_src_prepare
75 -}
76 -
77 -python_test() {
78 - pytest -vv tests/cover tests/pytest tests/quality ||
79 - die "Tests fail with ${EPYTHON}"
80 -}
81 -
82 -pkg_postinst() {
83 - optfeature "datetime support" dev-python/pytz
84 - optfeature "dateutil support" dev-python/python-dateutil
85 - optfeature "numpy support" dev-python/numpy
86 - optfeature "django support" dev-python/django dev-python/pytz
87 - optfeature "pandas support" dev-python/pandas
88 - optfeature "pytest support" dev-python/pytest
89 -}