commit:     acf7abe090f36fafd5b469696e2507e11a8ddb54
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 24 06:21:45 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 06:21:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf7abe0

dev-python/hypothesis: Bump to 6.150.3

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

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

diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 7615232b880e..4e7035432615 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -2,3 +2,4 @@ DIST hypothesis-6.148.12.gh.tar.gz 9929420 BLAKE2B 
e1dbe07d02920d0c70c757b0c7b24
 DIST hypothesis-6.148.7.gh.tar.gz 9927096 BLAKE2B 
4e6f782918394edba79a2c183be923076eec1b12b24cc184561e4ee5900e97d2f9c7e110ec98a51911ccdd5b0f2b3172947067038bba03723472be99b7005873
 SHA512 
f9fbe91650a99f9db3fa1e3a389c2a3cdac85cbb0a7c6cb694b29e486b29670833fd534022c6d26ebeac7b2f3135940dda854f865fde0a6b62c229fdd5f422e6
 DIST hypothesis-6.149.1.gh.tar.gz 9932484 BLAKE2B 
41bdda077c6cdd1e2b2f7650e8b4f5e125680ec3cea2979ad14dadcb553f36f0fd5970290d23aadd5bad64ba88c9dbb669946ca71021460c509e25bccdf394fa
 SHA512 
78dfbdd8f48ca9c483b74fb13200b340b1791df977f79d8fc687cecc21a6c69dc37a6e0c184643f2eb13d5a49651e13e4ea2ed93976dcc4fa7ee135c2d4ee052
 DIST hypothesis-6.150.2.gh.tar.gz 9878291 BLAKE2B 
b9ae21ff95afe8bd4918d7298b7f1ff10528fc70cc358f9106f79ddb9a84fe6aa0c8f34538b75c5b55afa442b9e70534c07a04102569b62b16d11421ca9f8016
 SHA512 
648112f870904a922162c099fd982d3a3756209efd272531c3c848383e2a6df02c3ff4c57f4be68408084542075a194ac9fe5fdac158c566c1a3045358e1045a
+DIST hypothesis-6.150.3.gh.tar.gz 9878751 BLAKE2B 
4b1995a52a8d195e5cc04eba89093458ca0244e1c20c5c8ce4cd13473598eb7d652c04656bd5df264ae766262fba4e084b61269df4bc77a2537a8177964fa4d3
 SHA512 
317235eacafaa415683cb7b1a50738655ab6704f4ba529657f5496625c5542812eb44a5cde999c4805ad5a74232edde0c8fc2e81aef3be367374a6302d3f3fa2

diff --git a/dev-python/hypothesis/hypothesis-6.150.3.ebuild 
b/dev-python/hypothesis/hypothesis-6.150.3.ebuild
new file mode 100644
index 000000000000..189bc36e1359
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.150.3.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