commit:     16bf3e37ced49800b2f7e52433d16321ee142ae0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 07:23:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 07:38:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bf3e37

dev-python/beartype: Bump to 0.20.0_rc2

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

 dev-python/beartype/Manifest                   |  1 +
 dev-python/beartype/beartype-0.20.0_rc2.ebuild | 42 ++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest
index c99ac187dff8..2ffd438bda44 100644
--- a/dev-python/beartype/Manifest
+++ b/dev-python/beartype/Manifest
@@ -1,2 +1,3 @@
 DIST beartype-0.19.0.tar.gz 1294480 BLAKE2B 
7a0d2800a28af49815bf300c93081faee0e01c922497418bc7328c0968cac077a0fdfe984de66c214af610bb972a217224a6d164a2f3aac9c0a2d067c0658fc3
 SHA512 
9a87086736ba0d3497f3dfc3b57fdfd3ebb33812aaf58d195f1161474a553499e87d6f3f9c12bc66ab33cb3ca1697b00220828d004d568495ac743efb473c1e8
 DIST beartype-0.20.0rc0.tar.gz 1375891 BLAKE2B 
96945c21f5ab8e8e86b8e16958d748fa5f47e5f1a843f35f52d9edf6a7039ecf919ff90f0f6e737d6a19b1aedcea5cb634e70df0b09c8f758569e3aac16094ce
 SHA512 
bfb714c997455659cfd91b167b72d9f64bf81b662118b693a8a1444801a635bb24b2f6d385235524cf968792f7d07fb4f10e3c5a9835ef8bd05805d233bff307
+DIST beartype-0.20.0rc2.tar.gz 1390778 BLAKE2B 
7d543444595d5c5f33296b042d6de88876bcfe7ca27cae9a825fd480f69dc03138f1859fc897208a4e1084b674c662c9abba9e3aca0bf07c3cd2e853f5e460e4
 SHA512 
3be3da18e814815844fae98ec83e58034ef86ad5fe737de2142d2e9ae9cf08dbf9d6b2474e9c2f72b7b8696e2fa9843118455a59f89d461d1e8e6c671d003034

diff --git a/dev-python/beartype/beartype-0.20.0_rc2.ebuild 
b/dev-python/beartype/beartype-0.20.0_rc2.ebuild
new file mode 100644
index 000000000000..59c4ca51bb05
--- /dev/null
+++ b/dev-python/beartype/beartype-0.20.0_rc2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Unbearably fast runtime type checking in pure Python"
+HOMEPAGE="
+       https://pypi.org/project/beartype/
+       https://github.com/beartype/beartype/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+BDEPEND="
+       test? (
+               dev-python/click[${PYTHON_USEDEP}]
+               dev-python/mypy[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/xarray[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # fragile performance test
+               
beartype_test/a00_unit/a70_decor/test_decorwrapper.py::test_wrapper_fail_obj_large
+               # test for building docs, apparently broken too
+               beartype_test/a90_func/z90_lib/a00_sphinx
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to