summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-13 00:48:18 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-13 00:48:18 +0200
commitd01e4eb342b91eff2acb44f172afc69ba0470e1f (patch)
tree3cdc03ff272aed176eedb932d754c802244e5701 /dev-python
parentdev-python/humanize: Remove old (diff)
downloadgentoo-d01e4eb342b91eff2acb44f172afc69ba0470e1f.tar.gz
gentoo-d01e4eb342b91eff2acb44f172afc69ba0470e1f.tar.bz2
gentoo-d01e4eb342b91eff2acb44f172afc69ba0470e1f.zip
dev-python/hypothesis: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/hypothesis/Manifest3
-rw-r--r--dev-python/hypothesis/files/hypothesis-6.10.1-py310.patch75
-rw-r--r--dev-python/hypothesis/hypothesis-6.10.1-r1.ebuild65
-rw-r--r--dev-python/hypothesis/hypothesis-6.13.14-r1.ebuild62
-rw-r--r--dev-python/hypothesis/hypothesis-6.14.1.ebuild62
5 files changed, 0 insertions, 267 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index ddb7cc423a3a..66ba40871629 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -1,5 +1,2 @@
-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
DIST hypothesis-python-6.14.2.tar.gz 9135496 BLAKE2B f77f0668c4d0c2f5a952e06a40ae7898631804d3406c9711eb30a4e5a11e73ba2772be3cb437aacea2a75cd65f688a2485b98885c19cf743020900b0cf70f08c SHA512 e495e1c471fd4b185e23326700e85bf90635fcc8bf316c758c3285803ff0f7ad0269351b3a7631033495bb6498a8f19cb8661c55248ec5e14ff2a09e0c3af3c1
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.13.14-r1.ebuild b/dev-python/hypothesis/hypothesis-6.13.14-r1.ebuild
deleted file mode 100644
index 536affb7ae13..000000000000
--- a/dev-python/hypothesis/hypothesis-6.13.14-r1.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.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
-}