commit:     271073ea02542012faef4bf763a60bda1d3e4182
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 03:31:39 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 03:32:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271073ea

dev-python/beartype: Bump to 0.17.1

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

 dev-python/beartype/Manifest               |  1 +
 dev-python/beartype/beartype-0.17.1.ebuild | 40 ++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/beartype/Manifest b/dev-python/beartype/Manifest
index 3a029ceae167..897979f219dd 100644
--- a/dev-python/beartype/Manifest
+++ b/dev-python/beartype/Manifest
@@ -1,2 +1,3 @@
 DIST beartype-0.16.4.tar.gz 1063638 BLAKE2B 
a5e399f070cb0e7b9046eeb66f98d5ea194482d9d10db0f63269f2f085ad30c5a103dbb4f4f6e167fef56c348e9de63bd9c70812170c159d9b913235cf769bd9
 SHA512 
377bf525bdbc46879b2b864289d0450ec7835e424c3d31b682b4d9460f0d65f9759e4e1dc3e6e9b42047f7555ae7dfa8e7598d2181d25c94f30e01f7d006a741
 DIST beartype-0.17.0.tar.gz 1127446 BLAKE2B 
af31894aab2d2482d288832b59859c9f1ccebd21f9e974e18a68f132c2e4c5194d46e4323ed6b8ec2b1804977672cf72d3357ca04b910a6d2ad968bfdf2b1bb7
 SHA512 
b1322e640f1482819fa8218d284acd1ccb7063e1d725b5db9d3e71a762d4c464ad138df10ec24a3ead07105fb3d24336635309498ea8ce3c811c26a5ee457252
+DIST beartype-0.17.1.tar.gz 1130580 BLAKE2B 
f3f8d3e912fdd1689cd51e3a40e3c795a273400061f9a61e9d5a1e33e5d9d73f181dd688dc454683253ae84aded0a14987ab3eedbd9e0e6d47ef6045ba46e9f8
 SHA512 
37a0a03918b481a11f30506c6c3e3f5e7539c88506e4b373557a47c4c4425b1276d5957fc7785463146b3fcb9d8e9a012d53d2537de021800b771bed47275511

diff --git a/dev-python/beartype/beartype-0.17.1.ebuild 
b/dev-python/beartype/beartype-0.17.1.ebuild
new file mode 100644
index 000000000000..8337b30a5732
--- /dev/null
+++ b/dev-python/beartype/beartype-0.17.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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/mypy[${PYTHON_USEDEP}]
+               dev-python/numpy[${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