Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/
Date: Sun, 29 Oct 2017 06:53:41
Message-Id: 1509258807.95f92d80863704da32adac409641c024c9896e1e.radhermit@gentoo
1 commit: 95f92d80863704da32adac409641c024c9896e1e
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 06:33:27 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 06:33:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f92d80
7
8 dev-python/hypothesis: version bump to 3.33.0
9
10 dev-python/hypothesis/Manifest | 1 +
11 dev-python/hypothesis/hypothesis-3.33.0.ebuild | 34 ++++++++++++++++++++++++++
12 2 files changed, 35 insertions(+)
13
14 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
15 index 21e3ce926d9..d832513f004 100644
16 --- a/dev-python/hypothesis/Manifest
17 +++ b/dev-python/hypothesis/Manifest
18 @@ -1,2 +1,3 @@
19 DIST hypothesis-3.31.1.tar.gz 464365 SHA256 b2e5413e5424b433f013f4c7c5308130a55fa7dde346ffad2e0868139d442e57 SHA512 2bb0bcf1030374a17d0002901a9ffeb2bd522917428989206a3398e13dc0523703b9b39331cc503ee4d815ad48dca4826cc49379434767803373aa7b81a2625d WHIRLPOOL a46599f7e1a5c93e2de4dff00f3b40f75972cdbbab3ee943e1683774cb9dbbb5e7c6cfdbd700e08c72c772b13b21789ee39d6ee954ce47f77ee79a477ae5e5f2
20 +DIST hypothesis-3.33.0.tar.gz 467424 SHA256 cd10a68b65b160da6c957557255dc2aa89c8967c21169a79d765d4aae1d2a929 SHA512 3e89fa183381f2df556016ff4af17d2731685b019aed74d5f8dccd53ad262dce107f83f105b7e950a579ef247cc9b8336f15ee321292522118fa4c3487a21138 WHIRLPOOL ce1d30d72880d841c116dc2b8edd700fa483c845d7c7271efeceb94ba3336e5ed9493d0032c8aa4efb15d67a95490f3bb556b63a4be6168c53ed06406558808b
21 DIST hypothesis-3.6.0.tar.gz 73586 SHA256 ecb0e711ab83032c54605d88fda1e07ca5c6025bdb5e91deab96eca29491f678 SHA512 cb885628e5c38ab9312cfb177ebc3c014617d21031737f5fba343ba485c1b8ff82b1302e7bc1d3e79192bfd8324fd0501498c968f3ac8343829f8965f6354389 WHIRLPOOL 189c788fdd0a326879a468061c271b14056da5f7dc1d5975e8f360cd5a91957eb8f79c26a045fbe49d7b11f7cc09024d3d09a353321b1dda1d4d96b452fd9e7b
22
23 diff --git a/dev-python/hypothesis/hypothesis-3.33.0.ebuild b/dev-python/hypothesis/hypothesis-3.33.0.ebuild
24 new file mode 100644
25 index 00000000000..4869c0b7b9e
26 --- /dev/null
27 +++ b/dev-python/hypothesis/hypothesis-3.33.0.ebuild
28 @@ -0,0 +1,34 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
35 +PYTHON_REQ_USE="threads(+),sqlite"
36 +
37 +inherit distutils-r1 eutils
38 +
39 +DESCRIPTION="A library for property based testing"
40 +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis-python https://pypi.python.org/pypi/hypothesis"
41 +SRC_URI="https://github.com/HypothesisWorks/hypothesis-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MPL-2.0"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 +IUSE=""
47 +
48 +RDEPEND="
49 + dev-python/attrs[${PYTHON_USEDEP}]
50 + dev-python/coverage[${PYTHON_USEDEP}]
51 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy)"
52 +DEPEND="${RDEPEND}
53 + dev-python/setuptools[${PYTHON_USEDEP}]"
54 +
55 +S=${WORKDIR}/${PN}-python-${PV}
56 +
57 +pkg_postinst() {
58 + optfeature "datetime support" dev-python/pytz
59 + optfeature "numpy support" dev-python/numpy
60 + optfeature "django support" dev-python/django dev-python/pytz
61 + optfeature "pytest support" dev-python/pytest
62 +}