commit:     91009680d742ff5470a08e0441702911f45a0b51
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 08:04:58 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 08:22:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91009680

dev-python/hypothesis: Bump to 6.3.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hypothesis/Manifest                |  1 +
 dev-python/hypothesis/hypothesis-6.3.3.ebuild | 63 +++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index ac3ef4a60a2..df798751c64 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -4,3 +4,4 @@ DIST hypothesis-python-6.2.0.tar.gz 9108590 BLAKE2B 
73a6b71c68aec1ec51f791187bbe
 DIST hypothesis-python-6.3.0.tar.gz 9108690 BLAKE2B 
1b46da2ea5b1eafeb49df28aadbce3cb2d5e597508deaa7b84c22bc1fdd41c6de9473c338c085aec6b2e6d392afe6f9c5cf512d9b9e828c6b328a9244e11ab96
 SHA512 
23f4a75232abf80cd0cafe52b0ccfc47aa79f95687efeb70f30303be611192ea3fb287aaa8c9b25806c64e75b3e0fca685eb73711e170873c9c8b3af925f65e8
 DIST hypothesis-python-6.3.1.tar.gz 9112495 BLAKE2B 
4c6f58911bfa45fe82681631109a9e4ad75927f6970d8fff60ec4a6d0fb2d1ec8a0b345163128b26a902e864984444947d7c96a027b26eae8a11c4f3e4fe6cd7
 SHA512 
6b595942ecb27684f97efb84b1c671bfcd77040516d83cb568e08a47a7add13aeb5c4f47e2e2cd3d84c52911f271d07382e4607cfcdbc751dc754bfbfb07336b
 DIST hypothesis-python-6.3.2.tar.gz 9112580 BLAKE2B 
eb74e089fc5f1f33ec0f34858c0492fd6526f9a61897f94780b5c63f50374e50c61c8a59535bb3814fa9a59478c59f3e43eedde4d401e1ff3fb6fe039d2e3cdf
 SHA512 
b8ea74ce8e479734aa8973d0127351064ccfb3ac6308aad67a57c6545d12a0594b7946f05aabd4bbaa2ddb5ec0ac2959e09db8733cf9e3a96181740aafae8813
+DIST hypothesis-python-6.3.3.tar.gz 9112864 BLAKE2B 
8eeb01d17aad81188856464c488002f29080c92e7dcc150e9189875c070150c2203e208f25527e3ee8163c4aa9a2a72c0fe6f19c4c992e86f59d53f8dc22bdaf
 SHA512 
803755e6cddb2de4b44df707c75858154a97d7888d4009ac4c4d3b577c5d58571176fe4155025c77e1d59843334f82babf0d7998557404d5964d0547e7c1428a

diff --git a/dev-python/hypothesis/hypothesis-6.3.3.ebuild 
b/dev-python/hypothesis/hypothesis-6.3.3.ebuild
new file mode 100644
index 00000000000..46ee7df74d3
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.3.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 eutils multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis 
https://pypi.org/project/hypothesis/";
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz";
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+       >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+       >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+       cli? (
+               $(python_gen_cond_dep '
+                       dev-python/black[${PYTHON_USEDEP}]
+                       dev-python/click[${PYTHON_USEDEP}]
+               ' 'python*')
+       )
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/pexpect[${PYTHON_USEDEP}]
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+               !!<dev-python/typing-3.7.4.1
+       )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare() {
+       if ! use cli || [[ ${EPYTHON} != python* ]]; then
+               sed -i -e '/console_scripts/d' setup.py || die
+       fi
+}
+
+python_test() {
+       distutils_install_for_testing --via-root
+       pytest -vv tests/cover tests/pytest tests/quality \
+               -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
+               die "Tests fail with ${EPYTHON}"
+}
+
+pkg_postinst() {
+       optfeature "datetime support" dev-python/pytz
+       optfeature "dateutil support" dev-python/python-dateutil
+       optfeature "numpy support" dev-python/numpy
+       optfeature "django support" dev-python/django dev-python/pytz
+       optfeature "pandas support" dev-python/pandas
+       optfeature "pytest support" dev-python/pytest
+}

Reply via email to