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: Tue, 11 Jan 2022 22:03:08
Message-Id: 1641938488.b4c978b439b517ca999393d8d56c965383d5d8cd.mgorny@gentoo
1 commit: b4c978b439b517ca999393d8d56c965383d5d8cd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 11 22:01:28 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 22:01:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c978b4
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 | 1 -
13 dev-python/hypothesis/hypothesis-6.30.1.ebuild | 62 --------------------------
14 2 files changed, 63 deletions(-)
15
16 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
17 index a6441b835ebf..ecb290f25188 100644
18 --- a/dev-python/hypothesis/Manifest
19 +++ b/dev-python/hypothesis/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST hypothesis-python-6.30.1.tar.gz 9180975 BLAKE2B 3b0e8e29d74f579a9ace6fc341451992386de3358defcf42936d2d535c31bae07d7ab49fa6d4a8d1a2bd0e8231086dd9795d78125555e668425fba2bc539b224 SHA512 8abf31debf94124744d17d5ddac6698a21981feca7b776e97d92d5f6d1404ec17794bdf11b256dc7b0a335a041af6d3f1f20ae6fd6a62abc1ad78c2b39354fa9
22 DIST hypothesis-python-6.31.4.tar.gz 9183157 BLAKE2B a8c82cd2e798b7dc0b149a09d52cdde77677473d91f3192783a8903fa7513ce410a89e67df32a812a12b59ca113b065c52e84fae0632f8a2dd852f4a39e90cbd SHA512 b1783d7463b575afa40418e4d67aff04c025bd9d733b1c6b2ac671d8d1c9a5d58ee7d10ce5e27aaa14156285abb6b182f7ee5f3ebe8eb335421680d20dbb4405
23 DIST hypothesis-python-6.32.1.tar.gz 9176925 BLAKE2B 0b57c8b46b766055a19c8831620b6ad780bd1a3b3e4835496cbd01f4fb861c64679171c685797458ec56ff07fe9524840cffce1e1930390de71225b707163880 SHA512 f64b0ca16a47d9f4dbce4986aa2c4414e86e596b6e167bd8be373fda05f8bbb626de7a615861a71313faebde50b1fe55e54c8b20247c71fa4ecb2223de171502
24 DIST hypothesis-python-6.33.0.tar.gz 9177426 BLAKE2B ad1b1a358345f9b92bf41cee196c7bba5374054c84b7ca96500cf41b095e7ae6df12499dcb3b656907df30b360d167630d3d4c640c9d5d903125158af6db3089 SHA512 0165b7c431980d7758be50e834dbe04356478590d5fc54656ea9d31508bbae81f9fbb53b38178862b2d4959e17fa3564bc6971d466ba95555c8e80a6fb208639
25
26 diff --git a/dev-python/hypothesis/hypothesis-6.30.1.ebuild b/dev-python/hypothesis/hypothesis-6.30.1.ebuild
27 deleted file mode 100644
28 index a708f1a69a39..000000000000
29 --- a/dev-python/hypothesis/hypothesis-6.30.1.ebuild
30 +++ /dev/null
31 @@ -1,62 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 -PYTHON_REQ_USE="threads(+),sqlite"
39 -
40 -inherit distutils-r1 multiprocessing optfeature
41 -
42 -DESCRIPTION="A library for property based testing"
43 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
44 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
45 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
46 -
47 -LICENSE="MPL-2.0"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
50 -IUSE="cli"
51 -
52 -RDEPEND="
53 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
54 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
55 - cli? (
56 - $(python_gen_cond_dep '
57 - dev-python/black[${PYTHON_USEDEP}]
58 - dev-python/click[${PYTHON_USEDEP}]
59 - ' python3_{7..9})
60 - )
61 -"
62 -BDEPEND="
63 - test? (
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/pexpect[${PYTHON_USEDEP}]
66 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
67 - !!<dev-python/typing-3.7.4.1
68 - )
69 -"
70 -
71 -distutils_enable_tests --install pytest
72 -
73 -python_prepare() {
74 - if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
75 - sed -i -e '/console_scripts/d' setup.py || die
76 - fi
77 -}
78 -
79 -python_test() {
80 - distutils_install_for_testing
81 - epytest tests/cover tests/pytest tests/quality \
82 - -p no:pytest-describe \
83 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
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 -}