commit:     9996a95012531e78a19bd8afc79365ad0aa9bad6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 22 05:04:02 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 05:47:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9996a950

dev-python/beartype: Bump to 0.20.2

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

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

diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest
index cc2decd05b59..154dc8963c65 100644
--- a/dev-python/beartype/Manifest
+++ b/dev-python/beartype/Manifest
@@ -1 +1,2 @@
 DIST beartype-0.20.0.tar.gz 1390635 BLAKE2B 
0628e8ffe4958ca3473797e407c8fa60fbafc7c5cae0f9d2a8d14d2c79bada838cc7ecb0fbd70ec17faad4f9cfb21e6b128c2d52092267aaead490a227197925
 SHA512 
4de7c4d6b79386ec72305e9d8afd762befac0b2027a5ab3ed9d7113f6bf0a9de10e3370271bb6bad54f3e2e93320bfd40de35062bfbf86210d0a695beae1c87e
+DIST beartype-0.20.2.tar.gz 1410390 BLAKE2B 
fa1ca4000b7a32fe7fae4d3712060ba29f1bb690fe9c4c28dda91962f1a76aacdc906305de104e77c7bd34c9063e927c190c9f38c6f6aa8a4d790dd39401392c
 SHA512 
72bb5f1a71e59f7f9debe6d10cb96de01c2f5a9f10f59d2d7002ef01320e17a9bf47d070c8e17d9cf82140b3917082f08a5eb442b825fd43b2cacf9c0fc65455

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