commit:     098daa0320277412d472847a3b72d09310a8a8d7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  6 06:41:07 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan  6 08:03:40 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098daa03

dev-python/hypothesis: Bump to 6.149.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hypothesis/Manifest                  |  1 +
 dev-python/hypothesis/hypothesis-6.149.1.ebuild | 91 +++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 495136b87470..27cba27e0ee2 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -6,3 +6,4 @@ DIST hypothesis-6.148.7.gh.tar.gz 9927096 BLAKE2B 
4e6f782918394edba79a2c183be923
 DIST hypothesis-6.148.8.gh.tar.gz 9926700 BLAKE2B 
ea74d146b6a985a2be5f63352d50b51a4dba2be796d6b2d526f4c0e91a668e3d1220d6dd3da72859e7cd1b105d29b9059040e185191f4acb662a0d771117ffcf
 SHA512 
0062f8ad498478a2a65f0cca8038b441f749b300897d5b68405bb2dd9336438c19e25dbbaac0bce7235579dd8ce3ea45258cce81719bd1739a0495433e56be86
 DIST hypothesis-6.148.9.gh.tar.gz 9927137 BLAKE2B 
04a5b5c8a120fec3926082b3607cc31f46d69ab7f49b2342b60f097cf07b8b54a410272907b5e6daee5af6cc3b0ee535877a97ec3521aa8a9de2321347a27edf
 SHA512 
8689f1cc6a8d1a87e8901e81fa253f95b4f8a4b081b8e9036cb98b99a08a6486955191e715d3ad0559f350c0cc73c23b5f55e89703038f2e17242ce94eb9a8c7
 DIST hypothesis-6.149.0.gh.tar.gz 9932424 BLAKE2B 
eb7433e0b5ab92dafd7d5659d1141e1d64ce808144ce3bc2b0b1717e1f76afc2c6d2adb597ba66124fe5df4d9e5ec5f87eb9875f1f17272873ee02c985761777
 SHA512 
0d1d79664f695bb4e674cc65125aee5a8940754801ffbc2f97a95291835415b541a86d3157164f7a5284afbca2c2cfee5c958f242c4309e584445d4356c500a8
+DIST hypothesis-6.149.1.gh.tar.gz 9932484 BLAKE2B 
41bdda077c6cdd1e2b2f7650e8b4f5e125680ec3cea2979ad14dadcb553f36f0fd5970290d23aadd5bad64ba88c9dbb669946ca71021460c509e25bccdf394fa
 SHA512 
78dfbdd8f48ca9c483b74fb13200b340b1791df977f79d8fc687cecc21a6c69dc37a6e0c184643f2eb13d5a49651e13e4ea2ed93976dcc4fa7ee135c2d4ee052

diff --git a/dev-python/hypothesis/hypothesis-6.149.1.ebuild 
b/dev-python/hypothesis/hypothesis-6.149.1.ebuild
new file mode 100644
index 000000000000..189bc36e1359
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.149.1.ebuild
@@ -0,0 +1,91 @@
+# 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=( "${CLI_COMPAT[@]}" pypy3_11 python3_14 python3_{13,14}t )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 optfeature
+
+TAG=hypothesis-python-${PV}
+MY_P=hypothesis-${TAG}
+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/${TAG}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${MY_P}/hypothesis-python"
+
+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-python/
+
+       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
+}

Reply via email to