diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-29 18:01:47 +0000 |
commit | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (patch) | |
tree | 9f47ee47c31a0f13f9496879cd88a1042550aa81 /dev-python/hypothesis | |
parent | 53cba99042fa967e2a93da9f8db806fe2d035543 (diff) |
gentoo (leap year) resync : 29.02.2020
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 8 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.50.8.ebuild | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-4.57.1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.5.2.ebuild | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-5.5.4.ebuild | 56 |
5 files changed, 64 insertions, 6 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 8b8570b3ef7c..53234aa29844 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,11 +5,13 @@ DIST hypothesis-python-5.4.1.tar.gz 8993002 BLAKE2B b96f9080f7a5b307698ee1119495 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 +DIST hypothesis-python-5.5.4.tar.gz 8997160 BLAKE2B ef85a521a9572afd4fa3d682722bddca04f6e5a5cb4283e05099148b374a635e1ad67d4b72b8baf752d33d4b9967464d28c5e293113af1a2218928352ffb2e15 SHA512 fa1946722a8fa3bb90ec0fa0786b03da11514779d5598d549c98a17217ce6e848603904de06b5f8a24321adbfa7b3c6e0d79e63d158c633619572623243deb13 EBUILD hypothesis-4.47.5.ebuild 1715 BLAKE2B e11813476869c123bce76c05955412b1f6697df88060b5e9bdb205b4bca60c9042194210106b6ecb80e5465cd098821189f1dbe2c1f31d4336e7d0b2bb58abfd SHA512 54049e33fb298392b89c992bf3c73cb928716076060f4fa7b65ab8680e52dbae16ead0affdd5ccdd03550259faf5629d43b30d57a944cabeebd9751e8be41b16 -EBUILD hypothesis-4.50.8.ebuild 1716 BLAKE2B 633d6c449f59a01891ab387f2ce6a31db64b51eb43995e7cf2a807abb41a8136d8261de8ba4c41b74b14d5e5b23394ea0d733a22692f06dffa0ab3826ba5c614 SHA512 303966a8b4c0751b3785d53b88732599cc61dc6b762293c472bb18c81da03bdcab883301cf0d24040991738d9ae720d0f8becf1972e29feb8f3434e7efd382dd -EBUILD hypothesis-4.57.1.ebuild 1714 BLAKE2B 07b5453f2f310e8c25684e95e6b47dd4b7065de5a2f08b8869d2559adb6f933dec37d2b529c0d1ae53af37cd7fd940111488dd335ea7ee8a77da048e2f096b2d SHA512 2424cfe7fc424e1a9de603e8dd4a3dd61a542e43675d2210803b39843d48033a854d0e0c2bd35bbbe9e9963b168134c554a0dfcd1239919c3244becb0fb6e72c +EBUILD hypothesis-4.50.8.ebuild 1715 BLAKE2B 387f9fab7204c001d1b49802fd62baa54887b2e46221aac67997e89529496cd865476cf5b07beaa1271499fd38733666f162281132cd746e8665936afe8b30f4 SHA512 f3f7cc13983277dd30eccfe800bc9965a4795334f9032133a21f0b8ed164b212390e655188e889a4759d83785c1cc75454d98e7b7c5b2cf5bbb22faba901d53e +EBUILD hypothesis-4.57.1.ebuild 1720 BLAKE2B 4ec5b05efb157d2b67992bffbe77b749f0a5602046e9b977d467e54110aa2002a5a4928cb0653038561d7c8c114c6af0a232e9ce6ee311db5e3edec2e13e3008 SHA512 f3b9fcb15b31173aa9ad7975088211a76a4f6e759f2ba185237c20dccbb5e2a4024c99e5ca2fd8f62aec11579d6d530f273bb93405b1ba2d3eb49b33e01e5e03 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 +EBUILD hypothesis-5.5.2.ebuild 1561 BLAKE2B 015f88b2a8c8dff1d3c7e44f097226169c0554c3b92a9cd455cee10f80fd5eb88cfd78773ad7306d773b70bd16509024e239a1b2ea6a929d87193d7ea9e14f99 SHA512 edeecd45db368ba6440f268754e09588213e5fcf4c35b334766f1550653dad4aef677830d5c96cc6b66604b763a60acb6cd3c8c6ffc29441a7b8f3f2f589d196 +EBUILD hypothesis-5.5.4.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 9ef46441156d..0b29ec276321 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 81d602fd53c0..96f887e12f16 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 ~hppa 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 index a0f000b29f96..b3200160cc3e 100644 --- a/dev-python/hypothesis/hypothesis-5.5.2.ebuild +++ b/dev-python/hypothesis/hypothesis-5.5.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~hppa ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/hypothesis/hypothesis-5.5.4.ebuild b/dev-python/hypothesis/hypothesis-5.5.4.ebuild new file mode 100644 index 000000000000..a0f000b29f96 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.5.4.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 +} |