commit: 6abe2581719dca26a2f005ca14ce9f9ffe2f6a53
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 4 05:01:12 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 4 05:04:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abe2581
dev-python/typeguard: Bump to 4.4.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/typeguard/Manifest | 1 +
dev-python/typeguard/typeguard-4.4.1.ebuild | 40 +++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest
index 6cdb9f508522..0f60ac99c09b 100644
--- a/dev-python/typeguard/Manifest
+++ b/dev-python/typeguard/Manifest
@@ -1,2 +1,3 @@
DIST typeguard-4.3.0.tar.gz 73374 BLAKE2B
0a7cd0dfa2c3caa19160cd66fffeeafe21cb1d195271b82e67d26fa471615768c48f8dd7d92a004db187b9b231f1bce12f1054d98f4157b784854dbb32b18320
SHA512
ce085f0655beede2d3e1178c64cea0a6fbebe9e7eeece3f9ff656233d74d3d9be5c4119aaecdc0541e9adf9c6f1458b06e6c2056b8e5394ded3f7ae4101e9e11
DIST typeguard-4.4.0.tar.gz 74399 BLAKE2B
2f4131e3ebf632660d2aa8838c729049b5a2e0864a2e18527a9a14527497341425507cb152fa48f507eb698f54b13f2a25caa173017619d5e6456ea582fd6433
SHA512
7c15cc724b8e4b0a5b777a14727a45cb0c039be18ade1ba6d8b00cfaaa3c2c7fc0c98320a53e172d07ad069f10b995384894e262a5bd14c00d6a04a7595e26aa
+DIST typeguard-4.4.1.tar.gz 74959 BLAKE2B
1b08e7404045d128bbecf5c16c0b24dbc42a59a3e78d0516f458989d6874d7795332017ac87ce59a7ed05edf4df6b918516d63d90723c702b5d05d7acc0193df
SHA512
af862371b22237cc39efad4840bb0bbd632116bee6e095531426dbaff606b6c1b2b58c82ddc083f816c340b4151421ff911ffd689dc3dc2fb7a031c067182aba
diff --git a/dev-python/typeguard/typeguard-4.4.1.ebuild
b/dev-python/typeguard/typeguard-4.4.1.ebuild
new file mode 100644
index 000000000000..e2fc7d4f868f
--- /dev/null
+++ b/dev-python/typeguard/typeguard-4.4.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Run-time type checker for Python"
+HOMEPAGE="
+ https://pypi.org/project/typeguard/
+ https://github.com/agronholm/typeguard/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/typing-extensions-4.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # mypy changes results from version to version
+ tests/mypy
+ )
+
+ local -x PYTHONDONTWRITEBYTECODE=
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ # the XFAIL test pass due to some package being installed
+ epytest -o xfail_strict=False -p typeguard
+}