1 |
commit: cb82a935b44677ae5859527213dbac92f3cff44f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 07:29:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 08:28:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb82a935 |
7 |
|
8 |
dev-python/astroid: Bump to 2.10.0 |
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.10.0.ebuild | 53 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index c62af6113331..336847aa9c3a 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST astroid-2.10.0.tar.gz 417686 BLAKE2B a4aa0451134403abf8e56ccd9dae106d2a92b2bd53c6772c952984ea5603b44ef5c13b9822b4fda0a146ad96a7412a602c2c46313938dea30cfb390fc55ee54d SHA512 34b52cd2e6636009369ec55a5781caaf8e8b0766b7ba4e70ff1f55d275a673266e0293f65145ff38637d6da353679314d0fbf182416146b89e210a68e39d86f0 |
22 |
DIST astroid-2.9.3.tar.gz 409069 BLAKE2B 152dbe8ab2fee3964dc8cc714a5ba48c71b5994c77d1e20683bcf028483aca22d5be5772e72d056cfd3d1f59562b447366d61fc35a2b67d545f069a8f7975e84 SHA512 7bb3bf2d456c0d22325444e641961c34eaddcddf50c97ee9f5b5c8755232cf1b65a315258403b40bb7dcad15c4f9b6b73ab0eb607525a48a65f52406969eca04 |
23 |
|
24 |
diff --git a/dev-python/astroid/astroid-2.10.0.ebuild b/dev-python/astroid/astroid-2.10.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..8b4c9b7ad2be |
27 |
--- /dev/null |
28 |
+++ b/dev-python/astroid/astroid-2.10.0.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2022 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_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Abstract Syntax Tree for logilab packages" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/PyCQA/astroid/ |
43 |
+ https://pypi.org/project/astroid/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz |
46 |
+ -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="LGPL-2.1+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
51 |
+ |
52 |
+# Version specified in __pkginfo__.py. |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
55 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] |
57 |
+ <dev-python/wrapt-1.14[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
61 |
+ test? ( |
62 |
+ dev-python/nose[${PYTHON_USEDEP}] |
63 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
64 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
71 |
+ |
72 |
+python_test() { |
73 |
+ local EPYTEST_DESELECT=( |
74 |
+ # no clue why it's broken |
75 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
76 |
+ tests/unittest_brain_dataclasses.py::test_pydantic_field |
77 |
+ ) |
78 |
+ |
79 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
80 |
+ # with PosixPaths |
81 |
+ epytest -p no:faker |
82 |
+} |