dev-python/beartype: Bump to 0.20.0_rc0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-18 08:03:03 +01:00
parent 49ced3eb29
commit 384fac4d15
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST beartype-0.19.0.tar.gz 1294480 BLAKE2B 7a0d2800a28af49815bf300c93081faee0e01c922497418bc7328c0968cac077a0fdfe984de66c214af610bb972a217224a6d164a2f3aac9c0a2d067c0658fc3 SHA512 9a87086736ba0d3497f3dfc3b57fdfd3ebb33812aaf58d195f1161474a553499e87d6f3f9c12bc66ab33cb3ca1697b00220828d004d568495ac743efb473c1e8
DIST beartype-0.20.0rc0.tar.gz 1375891 BLAKE2B 96945c21f5ab8e8e86b8e16958d748fa5f47e5f1a843f35f52d9edf6a7039ecf919ff90f0f6e737d6a19b1aedcea5cb634e70df0b09c8f758569e3aac16094ce SHA512 bfb714c997455659cfd91b167b72d9f64bf81b662118b693a8a1444801a635bb24b2f6d385235524cf968792f7d07fb4f10e3c5a9835ef8bd05805d233bff307

View File

@@ -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
}