commit:     3ad8e9df3fa25e425a356d7d9484062f760bea5e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 06:20:02 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 07:49:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad8e9df

dev-python/beartype: Bump to 0.20.0

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

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

diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest
index d2a83be9fa3d..c0a66efe2918 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.0.tar.gz 1390635 BLAKE2B 
0628e8ffe4958ca3473797e407c8fa60fbafc7c5cae0f9d2a8d14d2c79bada838cc7ecb0fbd70ec17faad4f9cfb21e6b128c2d52092267aaead490a227197925
 SHA512 
4de7c4d6b79386ec72305e9d8afd762befac0b2027a5ab3ed9d7113f6bf0a9de10e3370271bb6bad54f3e2e93320bfd40de35062bfbf86210d0a695beae1c87e
 DIST beartype-0.20.0rc2.tar.gz 1390778 BLAKE2B 
7d543444595d5c5f33296b042d6de88876bcfe7ca27cae9a825fd480f69dc03138f1859fc897208a4e1084b674c662c9abba9e3aca0bf07c3cd2e853f5e460e4
 SHA512 
3be3da18e814815844fae98ec83e58034ef86ad5fe737de2142d2e9ae9cf08dbf9d6b2474e9c2f72b7b8696e2fa9843118455a59f89d461d1e8e6c671d003034

diff --git a/dev-python/beartype/beartype-0.20.0.ebuild 
b/dev-python/beartype/beartype-0.20.0.ebuild
new file mode 100644
index 000000000000..59c4ca51bb05
--- /dev/null
+++ b/dev-python/beartype/beartype-0.20.0.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