summaryrefslogtreecommitdiff
path: root/dev-python/hypothesis
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r--dev-python/hypothesis/Manifest6
-rw-r--r--dev-python/hypothesis/hypothesis-4.50.8.ebuild2
-rw-r--r--dev-python/hypothesis/hypothesis-4.57.1.ebuild2
-rw-r--r--dev-python/hypothesis/hypothesis-5.5.2.ebuild56
4 files changed, 62 insertions, 4 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 8384c94f11db..8b8570b3ef7c 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -4,10 +4,12 @@ DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a1
DIST hypothesis-python-5.4.1.tar.gz 8993002 BLAKE2B b96f9080f7a5b307698ee1119495cb5356ccd2836f1d3ae66077bc0be2793d5d62beba09b2a38e5486f6d0d09e95ac85e81511c5ab7434c7285608a0ae62caa7 SHA512 bf01c50ea998aee2a547132806845aa9330a3830ce2b864f0ab9e2d9b9dd7dbdc9ec4db2ef77bfb9a76467b00f3ca1c00acbba7bdea569dab3038914a598d0c0
DIST hypothesis-python-5.5.0.tar.gz 8996266 BLAKE2B c9eebe4bf1df5cbf7a40dabeecc9991e71ceda4c2084a1b045f77a2455d5581d055e55b22dde48d627eb3cd3b111bdb06b14ada2f31dccd201390430a4a38c15 SHA512 302211f91be253e15bb84c81e80e72c6de41c3a640569363aeac27b2650e569275f9614a678beb9e03f1e97090de4eab7954bc39b55a4324be0ef0b45daf5228
DIST hypothesis-python-5.5.1.tar.gz 8996186 BLAKE2B 0e1e013b0339e504603b583882f6d05efa96e5b97b02967c49001c329923df7b2b2666a5351f223ab991cc86f6b0b7ae91c3f6e34c1e089a9f06a271dc7b887f SHA512 4129d85a0e4d2614cd2d8d018043b6346d59f973cce79cdbab2d8688d1c18e9dd0b9044515d715c80e03812020f134a8897931a9942eaad181567750a7cee049
+DIST hypothesis-python-5.5.2.tar.gz 8996253 BLAKE2B eccdbae595e3242b6e0f8d5b363aa4b23f279959bf87e801885be2f072ea8cafa39ec1122695f26a333ee99a191cf17342d95b74a4d216e06fecda53ab47d96f SHA512 e2be0bfd07e0e192e104b827616f822c1a4e87f7691a6b754a623d8ec268851f769ff9a0bf64c424cf583b5d87e4040df92ec203eac1b41034b4d24d5ea1d1d2
EBUILD hypothesis-4.47.5.ebuild 1715 BLAKE2B e11813476869c123bce76c05955412b1f6697df88060b5e9bdb205b4bca60c9042194210106b6ecb80e5465cd098821189f1dbe2c1f31d4336e7d0b2bb58abfd SHA512 54049e33fb298392b89c992bf3c73cb928716076060f4fa7b65ab8680e52dbae16ead0affdd5ccdd03550259faf5629d43b30d57a944cabeebd9751e8be41b16
-EBUILD hypothesis-4.50.8.ebuild 1717 BLAKE2B 97201f02ff2fa9b0618fe299f0859ff63065a179d145c101240f72c5b2b46ceab075b7cb20d3e5e5acfdaedb62b5c1ddc117a69e9f43ffe29aec65e57a62f0bc SHA512 60ec681c4eff1ed0d84c13353ad790ce45751eda94a55434b10d67d10ab4e7af381a9157f214bb6bd79e40f8def2ef8d098ae1dcae7f85c7fb27563afe728363
-EBUILD hypothesis-4.57.1.ebuild 1715 BLAKE2B 614bdbfe337cde8a097bcd96b71b3513407f40107778ec7dfbbc7162e2c0fa5bf6aad522bebd2b985c11b79be63c9af9ed1c51bdfc92fafc17de38dae4f71567 SHA512 2d191a6cae2b4df603f262c3fe010ca31577b0f8eadc2937209ce937e2dd8529f850a9c2bd0752179df5c5fb5b435ed25b9b9cbf6aeb16f492f5b5ddfd0f8b0c
+EBUILD hypothesis-4.50.8.ebuild 1716 BLAKE2B 633d6c449f59a01891ab387f2ce6a31db64b51eb43995e7cf2a807abb41a8136d8261de8ba4c41b74b14d5e5b23394ea0d733a22692f06dffa0ab3826ba5c614 SHA512 303966a8b4c0751b3785d53b88732599cc61dc6b762293c472bb18c81da03bdcab883301cf0d24040991738d9ae720d0f8becf1972e29feb8f3434e7efd382dd
+EBUILD hypothesis-4.57.1.ebuild 1714 BLAKE2B 07b5453f2f310e8c25684e95e6b47dd4b7065de5a2f08b8869d2559adb6f933dec37d2b529c0d1ae53af37cd7fd940111488dd335ea7ee8a77da048e2f096b2d SHA512 2424cfe7fc424e1a9de603e8dd4a3dd61a542e43675d2210803b39843d48033a854d0e0c2bd35bbbe9e9963b168134c554a0dfcd1239919c3244becb0fb6e72c
EBUILD hypothesis-5.4.1.ebuild 1572 BLAKE2B ddd7da2122ffc5ee7f060e4be9b55a44f01057c91728555bf2b826c76eddf58f701c73332f805a649441a97a23152220e1dbafc9454f5d489813c4396082cfba SHA512 8905352d77dfe2b72ee1eede9eed0ff35f8889a660cae61e4dcd7a3c51404b28f582304ccbe2385612d8438db45566a7754bdd7339801e39be54b324a53a321f
EBUILD hypothesis-5.5.0.ebuild 1572 BLAKE2B ddd7da2122ffc5ee7f060e4be9b55a44f01057c91728555bf2b826c76eddf58f701c73332f805a649441a97a23152220e1dbafc9454f5d489813c4396082cfba SHA512 8905352d77dfe2b72ee1eede9eed0ff35f8889a660cae61e4dcd7a3c51404b28f582304ccbe2385612d8438db45566a7754bdd7339801e39be54b324a53a321f
EBUILD hypothesis-5.5.1.ebuild 1572 BLAKE2B ddd7da2122ffc5ee7f060e4be9b55a44f01057c91728555bf2b826c76eddf58f701c73332f805a649441a97a23152220e1dbafc9454f5d489813c4396082cfba SHA512 8905352d77dfe2b72ee1eede9eed0ff35f8889a660cae61e4dcd7a3c51404b28f582304ccbe2385612d8438db45566a7754bdd7339801e39be54b324a53a321f
+EBUILD hypothesis-5.5.2.ebuild 1555 BLAKE2B 0ed364bbc68fc33d23b0794b48e63dd843b1ee00bbe4e85aa1f3f6d8610fe7e190424ad65ec5f66509b69c3c9fd12c8b7ad61b5b273354744d67b2108aa27858 SHA512 5547cb6dc751ee9247d8780b11801632ce901c05b43b2b7b608d5477af1f4e2371f7230b618c95fa2586de629470b7125ca2237592ce959514ecb3f5b69ba2de
MISC metadata.xml 643 BLAKE2B f8871008e348f0d703ddbee0ce13928f14800f3c10a9f440e9afaa881ee8eb916aed20112469a40d6f7bd899848aa70a36de1d857374fd32fa6b127888be0cb2 SHA512 618ee045f44c096c6402a549ac2ec3abbff25aa76e511c326f8a8ea470bb33a1e5cb1bb1b7b4e149c911ccbd08f69ff72b99edcd92fe9e1237055515b19bd514
diff --git a/dev-python/hypothesis/hypothesis-4.50.8.ebuild b/dev-python/hypothesis/hypothesis-4.50.8.ebuild
index ed9f59113c75..9ef46441156d 100644
--- a/dev-python/hypothesis/hypothesis-4.50.8.ebuild
+++ b/dev-python/hypothesis/hypothesis-4.50.8.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar
LICENSE="MPL-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/dev-python/hypothesis/hypothesis-4.57.1.ebuild b/dev-python/hypothesis/hypothesis-4.57.1.ebuild
index 0f9269e5ab40..81d602fd53c0 100644
--- a/dev-python/hypothesis/hypothesis-4.57.1.ebuild
+++ b/dev-python/hypothesis/hypothesis-4.57.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar
LICENSE="MPL-2.0"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/dev-python/hypothesis/hypothesis-5.5.2.ebuild b/dev-python/hypothesis/hypothesis-5.5.2.ebuild
new file mode 100644
index 000000000000..a0f000b29f96
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-5.5.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 eutils
+
+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="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}]
+ !!<dev-python/typing-3.7.4.1
+ )
+"
+
+src_prepare() {
+ # avoid pytest-xdist dep for one test
+ sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \
+ tests/pytest/test_statistics.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ pytest -vv tests/cover tests/pytest tests/quality ||
+ 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
+}