diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /dev-python/hypothesis | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 11 | ||||
-rw-r--r-- | dev-python/hypothesis/files/hypothesis-6.10.1-py310.patch | 75 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.10.1-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.14.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.14.1.ebuild | 62 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.14.2.ebuild (renamed from dev-python/hypothesis/hypothesis-6.13.14-r1.ebuild) | 0 |
6 files changed, 4 insertions, 211 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index f8ddfa06b287..a56e394f19f9 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,10 +1,5 @@ -AUX hypothesis-6.10.1-py310.patch 2493 BLAKE2B ffc3e9669407a20a2820a59980719d0a176348798a6aa9368f5249cae65cb7c8053f79fdf53d833709793b049bc2c3e4130ab3c9f166d48e5909da1ff07b86ac SHA512 c5762698d1a463ca942d024619453e5e89aeaf5b884eee099489ea91de71d82cf6797e661767cc77a6c84338dd4b989eb255b988ecc6938aa77418667ffaf048 -DIST hypothesis-python-6.10.1.tar.gz 9126246 BLAKE2B cc8cb3436d1de5d3d65a13cb5edefdbaae8bf9daed296eea9111ac46c002c34f43119f10b2ab1f45c5cbca5fe46d00738676290eb0e8437f2c10b5926d9e0915 SHA512 586b7f380cb850089f7d5321f11da92ef4a9b80e2ea925103e29c1f6c6c9da0a2a899a1a45ce77e0a40073f147561bc4fcbd5cb2ce77a9c0c65f6f64dfe4b716 -DIST hypothesis-python-6.13.14.tar.gz 9134690 BLAKE2B 821fa0baa47dd896fc5ec61d0a96fec3da225dbc35306e6cf684641262c9ff0b714ca95aff69daca4bda551033a67d90b411f0cc2abff8edd41e5d749939344f SHA512 74397fd77e6e70df918e0fa605180e2bfd509fb26ef8b4a86020524611a315950073c3babd65bb2d2ff65d39e027bc52da88c0125f422cc2493076398e733853 DIST hypothesis-python-6.14.0.tar.gz 9135056 BLAKE2B 47d1efcee5e1c4037f1a20f08e3bc873fc143a2182bbde07e897812622c4d68923f78ac356bd97ef541566a27a874705eb2438747daaebe84f95fc2a2262bac1 SHA512 f7821449d3bf7f3656b52dad09027e40ea4af1779fcc7c0b995dac55843953fdab3f2ba69eb1b8de8258616f49cf8e5098c6a222d01071916c6f0c9fe184c80b -DIST hypothesis-python-6.14.1.tar.gz 9135154 BLAKE2B 0fa62cf4b512acf433a94edd14b2bc4c2c86cdbcc95e4a2760a1914e85f1149d9a5db6b22222c4954d2db109d3bff877ca0e5e8ec6842ff5b3c794a211ea9b57 SHA512 b84776e2bfff130c4db7582defbe9bc55183d624b45defffebdc954ca8e1dda1dec78f921e1bc7839a1167c37bce693711cd500da547dc6f2a8fa610c0bd3540 -EBUILD hypothesis-6.10.1-r1.ebuild 1767 BLAKE2B 34c63c1f11e6400a4df180316a6b9ee2dc2b8d1eff3678e266379c0d19934f9ae4bcedcb2c10fc777ea1e872f5cf52b9c638d559c376d4ead2661a0b1587a657 SHA512 e639122ffdfcda78d53c50b5a59795f5b7e9c22f6ba203b7894dc4087a8ac0f510e54c4001a29c9870cbc12cf468ba3bf9e28193224381ea75a230125b3f3f66 -EBUILD hypothesis-6.13.14-r1.ebuild 1761 BLAKE2B 177223cf49ceef902b9ac33296a2d2ecc0228f457f91f686010da2cf11c38b3bda34bcc83d83031b4c49b9241cfe147177ece32fd94dce9af528f4d73b11322a SHA512 24554123c1cee2225cb033bd8a02be43736f58ff67ffce3835a2955e01fb3085c68ebf1d04f1a405e502de33c4a0d91dd9b664d91386343d29ed704d7e7e1034 -EBUILD hypothesis-6.14.0-r1.ebuild 1761 BLAKE2B 177223cf49ceef902b9ac33296a2d2ecc0228f457f91f686010da2cf11c38b3bda34bcc83d83031b4c49b9241cfe147177ece32fd94dce9af528f4d73b11322a SHA512 24554123c1cee2225cb033bd8a02be43736f58ff67ffce3835a2955e01fb3085c68ebf1d04f1a405e502de33c4a0d91dd9b664d91386343d29ed704d7e7e1034 -EBUILD hypothesis-6.14.1.ebuild 1761 BLAKE2B 177223cf49ceef902b9ac33296a2d2ecc0228f457f91f686010da2cf11c38b3bda34bcc83d83031b4c49b9241cfe147177ece32fd94dce9af528f4d73b11322a SHA512 24554123c1cee2225cb033bd8a02be43736f58ff67ffce3835a2955e01fb3085c68ebf1d04f1a405e502de33c4a0d91dd9b664d91386343d29ed704d7e7e1034 +DIST hypothesis-python-6.14.2.tar.gz 9135496 BLAKE2B f77f0668c4d0c2f5a952e06a40ae7898631804d3406c9711eb30a4e5a11e73ba2772be3cb437aacea2a75cd65f688a2485b98885c19cf743020900b0cf70f08c SHA512 e495e1c471fd4b185e23326700e85bf90635fcc8bf316c758c3285803ff0f7ad0269351b3a7631033495bb6498a8f19cb8661c55248ec5e14ff2a09e0c3af3c1 +EBUILD hypothesis-6.14.0-r1.ebuild 1753 BLAKE2B 91d322af6a74614d3675c680d21ec4c89297f2717c016f32d4fb5d98243bd4786de42639bae152fb14a8502cbfaac41134e4d4010639b7152559e32157e92b4e SHA512 a864d799d54784324267fbe6c7006288b227f7c8de1162b3d2b5a5cc37ae0e745b4a8f67efc6dae43b56f9755dca232afcf355829fe7f1c7ff5de9176f43fe46 +EBUILD hypothesis-6.14.2.ebuild 1761 BLAKE2B 177223cf49ceef902b9ac33296a2d2ecc0228f457f91f686010da2cf11c38b3bda34bcc83d83031b4c49b9241cfe147177ece32fd94dce9af528f4d73b11322a SHA512 24554123c1cee2225cb033bd8a02be43736f58ff67ffce3835a2955e01fb3085c68ebf1d04f1a405e502de33c4a0d91dd9b664d91386343d29ed704d7e7e1034 MISC metadata.xml 755 BLAKE2B da1fcfe4509905d2058d448b0178dacbb87026a3542368d8aa3ffca38edf1cd3d76d9542f8badc0220f5b5c916fdbb054f65b054a361977e0258e475768e3cf3 SHA512 3f046788581ef05937ec8376538cc60628f9d8e25486fc6e4421dd8461a9a085f51540e1d5203ccf85007adf1a978a23da9ac39cc486d698967412eeb3f2a793 diff --git a/dev-python/hypothesis/files/hypothesis-6.10.1-py310.patch b/dev-python/hypothesis/files/hypothesis-6.10.1-py310.patch deleted file mode 100644 index f81186a46e6e..000000000000 --- a/dev-python/hypothesis/files/hypothesis-6.10.1-py310.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 27ee073728e70e930118a36ffa4f8123ce363099 Mon Sep 17 00:00:00 2001 -From: Zac-HD <zac.hatfield.dodds@gmail.com> -Date: Wed, 5 May 2021 13:01:21 +1000 -Subject: [PATCH] Test on 3.10-dev again - -now that pytest has been fixed ---- - tests/cover/test_annotations.py | 4 +--- - tests/cover/test_lookup.py | 7 +------ - tests/cover/test_lookup_py38.py | 2 -- - 4 files changed, 3 insertions(+), 12 deletions(-) - -diff --git a/tests/cover/test_annotations.py b/tests/cover/test_annotations.py -index 564339d39..95ebea3c5 100644 ---- a/tests/cover/test_annotations.py -+++ b/tests/cover/test_annotations.py -@@ -13,7 +13,6 @@ - # - # END HEADER - --import sys - from inspect import getfullargspec - - import attr -@@ -116,8 +115,7 @@ def test_composite_edits_annotations(): - @pytest.mark.parametrize("nargs", [1, 2, 3]) - def test_given_edits_annotations(nargs): - spec_given = getfullargspec(given(*(nargs * [st.none()]))(pointless_composite)) -- expected = None if sys.version_info[:2] < (3, 10) else type(None) -- assert spec_given.annotations.pop("return") == expected -+ assert spec_given.annotations.pop("return") is None - assert len(spec_given.annotations) == 3 - nargs - - -diff --git a/tests/cover/test_lookup.py b/tests/cover/test_lookup.py -index b74eccc62..33cb78050 100644 ---- a/tests/cover/test_lookup.py -+++ b/tests/cover/test_lookup.py -@@ -756,12 +756,7 @@ def test_compat_get_type_hints_aware_of_None_default(): - find_any(strategy, lambda x: x.a is not None) - - assert typing.get_type_hints(constructor)["a"] == typing.Optional[str] -- annotation = inspect.signature(constructor).parameters["a"].annotation -- assert annotation == str or ( -- # See https://bugs.python.org/issue43006 -- annotation == typing.Optional[str] -- and sys.version_info[:2] >= (3, 10) -- ) -+ assert inspect.signature(constructor).parameters["a"].annotation == str - - - _ValueType = typing.TypeVar("_ValueType") -diff --git a/tests/cover/test_lookup_py38.py b/tests/cover/test_lookup_py38.py -index 6a68254a7..db11777fe 100644 ---- a/tests/cover/test_lookup_py38.py -+++ b/tests/cover/test_lookup_py38.py -@@ -14,7 +14,6 @@ - # END HEADER - - import dataclasses --import sys - import typing - - import pytest -@@ -103,7 +102,6 @@ class NestedDict(typing.TypedDict): - inner: A - - --@pytest.mark.skipif(sys.version_info[:2] >= (3, 10), reason="see issue #2897") - @given(from_type(NestedDict)) - def test_typeddict_with_nested_value(value): - assert type(value) == dict --- -2.31.1 - diff --git a/dev-python/hypothesis/hypothesis-6.10.1-r1.ebuild b/dev-python/hypothesis/hypothesis-6.10.1-r1.ebuild deleted file mode 100644 index b7536f7f4daa..000000000000 --- a/dev-python/hypothesis/hypothesis-6.10.1-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 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}] - ' python3_{7..9}) - ) -" -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 - -PATCHES=( - "${FILESDIR}"/${P}-py310.patch -) - -python_prepare() { - if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing - epytest tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/dev-python/hypothesis/hypothesis-6.14.0-r1.ebuild b/dev-python/hypothesis/hypothesis-6.14.0-r1.ebuild index 536affb7ae13..9a316963749d 100644 --- a/dev-python/hypothesis/hypothesis-6.14.0-r1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.14.0-r1.ebuild @@ -15,7 +15,7 @@ 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" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.14.1.ebuild b/dev-python/hypothesis/hypothesis-6.14.1.ebuild deleted file mode 100644 index 536affb7ae13..000000000000 --- a/dev-python/hypothesis/hypothesis-6.14.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 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}] - ' python3_{7..9}) - ) -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!dev-python/pytest-describe - !!<dev-python/typing-3.7.4.1 - ) -" - -distutils_enable_tests --install pytest - -python_prepare() { - if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then - sed -i -e '/console_scripts/d' setup.py || die - fi -} - -python_test() { - distutils_install_for_testing - epytest tests/cover tests/pytest tests/quality \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/dev-python/hypothesis/hypothesis-6.13.14-r1.ebuild b/dev-python/hypothesis/hypothesis-6.14.2.ebuild index 536affb7ae13..536affb7ae13 100644 --- a/dev-python/hypothesis/hypothesis-6.13.14-r1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.14.2.ebuild |