summaryrefslogtreecommitdiff
path: root/dev-python/hypothesis
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-19 03:01:55 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-19 03:01:55 -0500
commitfd47b082ab0da4bc79447a8e2bfb7e77dd71874d (patch)
tree2dcbfaabaf05d6b389c83eaf327a9afbe44f16ba /dev-python/hypothesis
parentbddf78c69012b9c1c06816f37d538d44d7877365 (diff)
downloadbaldeagleos-repo-fd47b082ab0da4bc79447a8e2bfb7e77dd71874d.tar.gz
baldeagleos-repo-fd47b082ab0da4bc79447a8e2bfb7e77dd71874d.tar.xz
baldeagleos-repo-fd47b082ab0da4bc79447a8e2bfb7e77dd71874d.zip
Adding metadata
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r--dev-python/hypothesis/Manifest1
-rw-r--r--dev-python/hypothesis/hypothesis-6.155.5.ebuild105
2 files changed, 106 insertions, 0 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 013c8f2191a0..c64d1317f8cc 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -3,3 +3,4 @@ DIST hypothesis-6.152.7.gh.tar.gz 9606598 BLAKE2B cdb7eb39e0ae74dada61ba4573e874
DIST hypothesis-6.152.9.gh.tar.gz 9612140 BLAKE2B b4d2009d46eb28751446963edc51a653d05c5a39a28e76aa120a2ca00fd7d6c0f07c42f1026a16e0b4dc75742a66a191a8f5aa67249ecc3a397e8123f8153058 SHA512 b1f2301b7ced669dd4d53ee37173a48e8a937241138900c9dd17e70c1e4c8357215679c9ebb6e8a96c0d2fbe5e8e43aa45a21da569c624111b17417d0be1d426
DIST hypothesis-6.155.2.gh.tar.gz 9627022 BLAKE2B 26d1a794ffce5268febc83aae708794fc60d2e1ab40620826a499e254a8f8d00dce2b984547c683ca768751bc2a35554a64e83b9ba3156e5139319ed9683be1d SHA512 559670b3f42ead6aa830335a273984f036c8b26226bc9b3e2f83c751a53d7364e02479e11c7e1aaa468fad69c37920e30e7416028177753c042a4571613a8e91
DIST hypothesis-6.155.3.gh.tar.gz 9627758 BLAKE2B 57673977f3188c76fbacdda7494408490373c9eefe71195aae915b32ee7502189262028fc63d117e5ec801059bb2f7d7dafdcb25bb4c2c92986942222c493316 SHA512 5293d4c9c3bff7d72e417853b7cc45bf3bdf55c4931ac1cdeeabc014a1fe8e11128b7cc2b8bd21ccc4b9bca128ac4e6f990be309ce4c9c24f8f53c463584417d
+DIST hypothesis-6.155.5.gh.tar.gz 9628104 BLAKE2B 61055153990cc3455868842eb2c3b35171873656684324b09c71fb8c4935ec6317a6ca128cf477566cd3114965b36aea92f7f023294c5ffbd6dc61b4a06375b2 SHA512 527f417250cc2677cc5451c49e77e245e852b680c7902bf878200b9785030d4fb588c6251a1bea35180f359e6b0ebf482a0f766c567c9b962f02117dfca15095
diff --git a/dev-python/hypothesis/hypothesis-6.155.5.ebuild b/dev-python/hypothesis/hypothesis-6.155.5.ebuild
new file mode 100644
index 000000000000..28342394d688
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.155.5.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+CLI_COMPAT=( python3_{11..13} )
+PYTHON_COMPAT=( python3_{13..14} )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 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/hypothesis/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${P}/hypothesis"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+ cli? (
+ $(python_gen_cond_dep '
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ ' "${CLI_COMPAT[@]}")
+ )
+"
+BDEPEND="
+ test? (
+ >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ >=dev-python/pytest-8[${PYTHON_USEDEP}]
+ )
+"
+PDEPEND="
+ dev-python/hypothesis-gentoo[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" pytest-xdist )
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/
+ local EPYTEST_DESELECT=(
+ # broken somehow (xdist?)
+ 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]'
+ )
+ local EPYTEST_IGNORE=(
+ # require syrupy
+ tests/cover/test_custom_reprs.py
+ )
+
+ case ${EPYTHON} in
+ python3.15*)
+ EPYTEST_DESELECT+=(
+ 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]'
+ 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]'
+ )
+ ;;
+ esac
+
+ local -x HYPOTHESIS_NO_PLUGINS=1
+ epytest -o filterwarnings= tests/{cover,pytest,quality}
+}
+
+src_install() {
+ local HAD_CLI=
+
+ distutils-r1_src_install
+
+ if [[ ! ${HAD_CLI} ]]; then
+ rm -r "${ED}/usr/bin" || die
+ fi
+}
+
+python_install() {
+ distutils-r1_python_install
+ if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
+ HAD_CLI=1
+ else
+ rm -r "${D}$(python_get_scriptdir)" || die
+ fi
+}
+
+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
+}