1 |
commit: 8c9ebf7bd781794f16cca6c0b538e37c94cb0c43 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 05:55:23 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 06:13:02 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9ebf7b |
7 |
|
8 |
dev-python/typeguard: Bump to 3.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/typeguard/Manifest | 1 + |
13 |
dev-python/typeguard/typeguard-3.0.0.ebuild | 45 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest |
17 |
index 1f9c43e6470b..93485c5f8f65 100644 |
18 |
--- a/dev-python/typeguard/Manifest |
19 |
+++ b/dev-python/typeguard/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST typeguard-2.13.3.gh.tar.gz 37436 BLAKE2B a3cb616692119c64a9dc0d0bae25cc661b7974a0b6cf6632fa403f7c5430873570b1aaa310bc03843deee6f77a831c303ea9d9091db596eb565fce43980bbb13 SHA512 26c31ee9670650d1969320187a924d29d986894a38f1026af58f705b132b64be3b6e2ac34729f966f5d302d486334b5a5d9e65fb206245b82b0ff0852020b609 |
22 |
+DIST typeguard-3.0.0.tar.gz 55330 BLAKE2B b0b764414c70e109e5bdddd1bfac06af5b0db8d8913e2777b4bec94598ae70f5ed323686f54d902c541c606e7ae32129b3a29099e59cfe5ff2ecad4e6991409e SHA512 367ffea6636817bf9ce492de575b38b1f15aec323d415476bdea271f01ee60073274fd955bdad0e554eb306fb4e516b80a29e5db10015cf47856279235e36c24 |
23 |
|
24 |
diff --git a/dev-python/typeguard/typeguard-3.0.0.ebuild b/dev-python/typeguard/typeguard-3.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..45c5399f1af2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/typeguard/typeguard-3.0.0.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 2021-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 pypi |
39 |
+ |
40 |
+DESCRIPTION="Run-time type checker for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/typeguard/ |
43 |
+ https://github.com/agronholm/typeguard/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ $(python_gen_cond_dep ' |
52 |
+ >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] |
53 |
+ ' 3.{8..9}) |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] |
56 |
+ ' 3.{8..10}) |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+ |
64 |
+python_test() { |
65 |
+ local EPYTEST_IGNORE=( |
66 |
+ # mypy changes results from version to version |
67 |
+ tests/mypy |
68 |
+ ) |
69 |
+ |
70 |
+ local -x PYTHONDONTWRITEBYTECODE= |
71 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
72 |
+ # the XFAIL test pass due to some package being installed |
73 |
+ epytest -o xfail_strict=False |
74 |
+} |