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, 25 Sep 2021 22:00:33
Message-Id: 1632607220.8443fbe536c58ae2ad0afd5d4f65e5e029dfe433.mgorny@gentoo
1 commit: 8443fbe536c58ae2ad0afd5d4f65e5e029dfe433
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 21:44:54 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 22:00:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8443fbe5
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-6.14.5.ebuild | 62 ------------------------
14 dev-python/hypothesis/hypothesis-6.14.9.ebuild | 67 --------------------------
15 3 files changed, 131 deletions(-)
16
17 diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
18 index 626fb383543..999a27d5d67 100644
19 --- a/dev-python/hypothesis/Manifest
20 +++ b/dev-python/hypothesis/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST hypothesis-python-6.14.5.tar.gz 9135819 BLAKE2B 2e42949f81024038b901231a8446203388c8052ebaacf4a87d21356265fd1c09c9aa8b191dcd65780d45cc52ed9d48bb16440fc553addb4671e0ad901213ef64 SHA512 d047eea19129d5855bee5f012f5c91fe1f0de40228600fadad9c76709f951c003450f613f59848064b58f9d0e559b54b44744ae0aae689687488b6506cc8fe1a
23 -DIST hypothesis-python-6.14.9.tar.gz 9138640 BLAKE2B 3cda0edace7b3a1c373bdd61267013874fe78ae18aa7fda02759ac451f7e576614a61c3ce1d588e24afe4333f61680d89eb30f6f055e41fee91312c791b1af5d SHA512 a32d4f09ae6a44354d136164a517ea53c653fccb3e21a39ac63df78ebdf695c887f13749d2f310ac67863b6645a85dca73ef0bfab077aefe0486e445f6a85dce
24 DIST hypothesis-python-6.17.4.tar.gz 9144209 BLAKE2B b110e355b34f386c51e9edeb2589bf11e5d0b574ee7e97437f9eba9ec7d8e823e68ad1e4f5911a1e78f3d5a316f59056301b0238c4b6a8cdcb21e46ea434686c SHA512 95eeadc1655d249008897035660af54f66e8ea78fea78d1069dbddb979505e003d1bdb971371769e90af4a7bc5f96ee0c42a6c14bc42e56677d4f89f39985d41
25 DIST hypothesis-python-6.21.6.tar.gz 9166313 BLAKE2B 19ac66c1674be30e14d54faa61244ac6da5b67678da4c5dbc728fefcac2e5f0a99c31f7cbe6fc4bc8738e1b072b4accba6f97863e6d601303d4fd69d4ccbd96a SHA512 454434f37dfc3f171d1865ac72d58821173654fabdd880c1b699ea0ff281405644bb1b370129843d35368cd9b6eb06fa00458e0aa41b2b7dc0b7e05e7f659a5d
26 DIST hypothesis-python-6.22.0.tar.gz 9166539 BLAKE2B 386c7fd4f9ff0d4d199f686f25743793de4de9f2676cf7c36c16519f5fef007f6b677bd5ef84fa975389c5fea9989dffffc8a18923699c05fecc23ef2e4dc5e6 SHA512 92352a7ba13d8a06532c6fcdb965f156c43369f18ba7c46808d9b6dde1ccdd5b4f938c1ce575d5651835bfe981d22e7a68189c93a368420c915f5d1ce9b8a205
27
28 diff --git a/dev-python/hypothesis/hypothesis-6.14.5.ebuild b/dev-python/hypothesis/hypothesis-6.14.5.ebuild
29 deleted file mode 100644
30 index 9a316963749..00000000000
31 --- a/dev-python/hypothesis/hypothesis-6.14.5.ebuild
32 +++ /dev/null
33 @@ -1,62 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
40 -PYTHON_REQ_USE="threads(+),sqlite"
41 -
42 -inherit distutils-r1 multiprocessing optfeature
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="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
52 -IUSE="cli"
53 -
54 -RDEPEND="
55 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
56 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
57 - cli? (
58 - $(python_gen_cond_dep '
59 - dev-python/black[${PYTHON_USEDEP}]
60 - dev-python/click[${PYTHON_USEDEP}]
61 - ' python3_{7..9})
62 - )
63 -"
64 -BDEPEND="
65 - test? (
66 - dev-python/mock[${PYTHON_USEDEP}]
67 - dev-python/pexpect[${PYTHON_USEDEP}]
68 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
69 - !!dev-python/pytest-describe
70 - !!<dev-python/typing-3.7.4.1
71 - )
72 -"
73 -
74 -distutils_enable_tests --install pytest
75 -
76 -python_prepare() {
77 - if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
78 - sed -i -e '/console_scripts/d' setup.py || die
79 - fi
80 -}
81 -
82 -python_test() {
83 - distutils_install_for_testing
84 - epytest tests/cover tests/pytest tests/quality \
85 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
86 -}
87 -
88 -pkg_postinst() {
89 - optfeature "datetime support" dev-python/pytz
90 - optfeature "dateutil support" dev-python/python-dateutil
91 - optfeature "numpy support" dev-python/numpy
92 - optfeature "django support" dev-python/django dev-python/pytz
93 - optfeature "pandas support" dev-python/pandas
94 - optfeature "pytest support" dev-python/pytest
95 -}
96
97 diff --git a/dev-python/hypothesis/hypothesis-6.14.9.ebuild b/dev-python/hypothesis/hypothesis-6.14.9.ebuild
98 deleted file mode 100644
99 index 5a04d107e65..00000000000
100 --- a/dev-python/hypothesis/hypothesis-6.14.9.ebuild
101 +++ /dev/null
102 @@ -1,67 +0,0 @@
103 -# Copyright 1999-2021 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=8
107 -
108 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
109 -PYTHON_REQ_USE="threads(+),sqlite"
110 -
111 -inherit distutils-r1 multiprocessing optfeature
112 -
113 -DESCRIPTION="A library for property based testing"
114 -HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
115 -SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
116 -S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
117 -
118 -LICENSE="MPL-2.0"
119 -SLOT="0"
120 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
121 -IUSE="cli"
122 -
123 -RDEPEND="
124 - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
125 - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
126 - cli? (
127 - $(python_gen_cond_dep '
128 - dev-python/black[${PYTHON_USEDEP}]
129 - dev-python/click[${PYTHON_USEDEP}]
130 - ' python3_{7..9})
131 - )
132 -"
133 -BDEPEND="
134 - test? (
135 - dev-python/mock[${PYTHON_USEDEP}]
136 - dev-python/pexpect[${PYTHON_USEDEP}]
137 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
138 - !!<dev-python/typing-3.7.4.1
139 - )
140 -"
141 -
142 -distutils_enable_tests --install pytest
143 -
144 -python_prepare() {
145 - if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
146 - sed -i -e '/console_scripts/d' setup.py || die
147 - fi
148 -}
149 -
150 -python_test() {
151 - # disable autoloading pytest-asyncio in nested pytest calls
152 - #local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
153 - # since we disabled autoloading, load necessary plugins explicitly
154 - #local -x PYTEST_PLUGINS=xdist.plugin
155 -
156 - distutils_install_for_testing
157 - epytest tests/cover tests/pytest tests/quality \
158 - -p no:pytest-describe \
159 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
160 -}
161 -
162 -pkg_postinst() {
163 - optfeature "datetime support" dev-python/pytz
164 - optfeature "dateutil support" dev-python/python-dateutil
165 - optfeature "numpy support" dev-python/numpy
166 - optfeature "django support" dev-python/django dev-python/pytz
167 - optfeature "pandas support" dev-python/pandas
168 - optfeature "pytest support" dev-python/pytest
169 -}