diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-01-18 08:03:03 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-01-18 08:20:11 +0100 |
| commit | 384fac4d1587eb689a813635f77e6b2d0248beaf (patch) | |
| tree | e2e4df0a911ff070fb453b2c386a7182a9a9fd9f /dev-python | |
| parent | 49ced3eb29305f63423dd51e2e7d033476a853fa (diff) | |
| download | gentoo-384fac4d1587eb689a813635f77e6b2d0248beaf.tar.gz gentoo-384fac4d1587eb689a813635f77e6b2d0248beaf.tar.bz2 gentoo-384fac4d1587eb689a813635f77e6b2d0248beaf.zip | |
dev-python/beartype: Bump to 0.20.0_rc0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/beartype/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/beartype/beartype-0.20.0_rc0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest index fc2da5ef4a57..c99ac187dff8 100644 --- a/dev-python/beartype/Manifest +++ b/dev-python/beartype/Manifest @@ -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 diff --git a/dev-python/beartype/beartype-0.20.0_rc0.ebuild b/dev-python/beartype/beartype-0.20.0_rc0.ebuild new file mode 100644 index 000000000000..59c4ca51bb05 --- /dev/null +++ b/dev-python/beartype/beartype-0.20.0_rc0.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 +} |
