1 |
commit: f5e228778d28c9078f034037b6d4e39cb163ee6d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 08:33:50 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 09:31:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e22877 |
7 |
|
8 |
dev-python/astroid: Bump to 2.11.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/astroid/Manifest | 1 + |
13 |
dev-python/astroid/astroid-2.11.2.ebuild | 54 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 2bb9ca592daa..79a0dbc757bc 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST astroid-2.10.0.tar.gz 417686 BLAKE2B a4aa0451134403abf8e56ccd9dae106d2a92b2bd53c6772c952984ea5603b44ef5c13b9822b4fda0a146ad96a7412a602c2c46313938dea30cfb390fc55ee54d SHA512 34b52cd2e6636009369ec55a5781caaf8e8b0766b7ba4e70ff1f55d275a673266e0293f65145ff38637d6da353679314d0fbf182416146b89e210a68e39d86f0 |
22 |
DIST astroid-2.11.0.tar.gz 412098 BLAKE2B 022c940913ae71ca0280a2ae47c19a6c82ea69b4f2a1c1ce0e2f00dac7a37b26f7ee2fa798db4f5d230e021ac5096b79d48b12d389d0c754dc17bde301c1712f SHA512 82423c9cf6da4e041621218acc81b9a301e4c1f532a74863c89040654d61457a89481004556a4795f021f0fc52b5f79412a35e9e43a1de33189dcae305cefdff |
23 |
DIST astroid-2.11.1.tar.gz 412506 BLAKE2B d3153b9019d5c466d39f7b27d459158cabe47cc9375afe2f1362b20620847fed0b4b09e2994e4372712fbd5bdff3cf88f709c1644abd25bdb6085e93cdcb145f SHA512 e0a1cfc67602e53c8d5b67d1605b38ee5c62886cb0ca757f0835f8af2ad94b21af58427ed4aad9f98171955733c4b333443efb1f7fdcec661d1e68c403a529b1 |
24 |
+DIST astroid-2.11.2.tar.gz 412621 BLAKE2B e43be65b733a5de5d027920e8e4db0365a3af98614739f0a56dcf95ef6c1c3a9e104b52c1fad4477bccd460850cf6bab6f38014aaa6891e8d04720d4a52b79d8 SHA512 5b33cb3594513804c6933a888297ed54c42cb52274c7fe49060368e3fac62be8f3febcb822aa9267a5a0a99a32932912ebc4640a7d10288b7021955fe0277c0d |
25 |
DIST astroid-2.9.3.tar.gz 409069 BLAKE2B 152dbe8ab2fee3964dc8cc714a5ba48c71b5994c77d1e20683bcf028483aca22d5be5772e72d056cfd3d1f59562b447366d61fc35a2b67d545f069a8f7975e84 SHA512 7bb3bf2d456c0d22325444e641961c34eaddcddf50c97ee9f5b5c8755232cf1b65a315258403b40bb7dcad15c4f9b6b73ab0eb607525a48a65f52406969eca04 |
26 |
|
27 |
diff --git a/dev-python/astroid/astroid-2.11.2.ebuild b/dev-python/astroid/astroid-2.11.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..313a897a7376 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/astroid/astroid-2.11.2.ebuild |
32 |
@@ -0,0 +1,54 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{8..10} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Abstract Syntax Tree for logilab packages" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/PyCQA/astroid/ |
46 |
+ https://pypi.org/project/astroid/" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz |
49 |
+ -> ${P}.tar.gz |
50 |
+" |
51 |
+ |
52 |
+LICENSE="LGPL-2.1+" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
55 |
+ |
56 |
+# Version specified in __pkginfo__.py. |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] |
61 |
+ <dev-python/wrapt-2[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ dev-python/nose[${PYTHON_USEDEP}] |
67 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
68 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
75 |
+ |
76 |
+python_test() { |
77 |
+ local EPYTEST_DESELECT=( |
78 |
+ # no clue why it's broken |
79 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
80 |
+ tests/unittest_brain_dataclasses.py::test_pydantic_field |
81 |
+ ) |
82 |
+ |
83 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
84 |
+ # with PosixPaths |
85 |
+ epytest -p no:faker |
86 |
+} |