1 |
commit: 93ef0eee99f2e12d4e568d1d3686e2e28751d66b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 1 01:11:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 1 01:29:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93ef0eee |
7 |
|
8 |
dev-python/astroid: Bump to 2.9.1 |
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.9.1.ebuild | 49 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index b879e0609bf3..6a22cb614277 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST astroid-2.7.3.tar.gz 378876 BLAKE2B 016ab6e798f1a608c0e0ce0bd81865145349c70497d09e336ec8b21eaf01ea365c204f42daf6d55d148f6873ef15e223adc9baf4a09dc8945158e4b5e24f1ebb SHA512 03a886c2daef640cf0a85f38e39b6e12080dc722862cb03386d1355f3f955ea46a7bb7b85c2887f52ba6d0ecb6243c653c7f1cd44d6c7429f2cd29c1dfd2297f |
22 |
DIST astroid-2.8.6.tar.gz 394852 BLAKE2B 400531227ce5a8b0f284f51ccb2d37aeb0463ee0fc7faceb3fd33b4bd727b7283421fb69c50eba3246217e06dca2cecfac49030d33c7e2a7cf252144860b50a3 SHA512 8fae723f0b7df34ba51d7f97634b09173956ae1eaa1543b81af8a80b5d9c9fcbdd96de709da2432a935dd5fc7369f9f1ea03cf2b7e3f0b09dac8485145d8f1d9 |
23 |
DIST astroid-2.9.0.tar.gz 404906 BLAKE2B 2aefe21392289b95a4ea3bde047e6f33b6915f4feac722164b4c35cc97dedb83f7d2e7f277485c5a3a8c7abc7865ccd88923266aa675755eeb17b0bd22077931 SHA512 949520268303a257102c2348920df9ff779bf5736739be5985b0441fae664212bee476445dc5d52478e789e08bbd5826ef83cf8a730a73d4e2d6eb04251c3cee |
24 |
+DIST astroid-2.9.1.tar.gz 408617 BLAKE2B 921178fc6be9f3905c0e93c755fbf0ff70da4bf6242cb10a6881e78b66f9636fa39d7aef1ba9435ec69ae314968d33126a64d2d11a8da2aa2ee0dc9010d58ce3 SHA512 b6c69a316bd9f21be34b5e15505e38719721991c0b9a9162233c2c8c7b0fcef792027f6564fa58f083448d00bbae910f8dad1a2957aad5d3bf23c1bfb6727e31 |
25 |
|
26 |
diff --git a/dev-python/astroid/astroid-2.9.1.ebuild b/dev-python/astroid/astroid-2.9.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7d421ea6fce4 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/astroid/astroid-2.9.1.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Abstract Syntax Tree for logilab packages" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/PyCQA/astroid/ |
45 |
+ https://pypi.org/project/astroid/" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1+" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
53 |
+ |
54 |
+# Version specified in __pkginfo__.py. |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] |
58 |
+ <dev-python/wrapt-1.14[${PYTHON_USEDEP}]" |
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 |
+distutils_enable_tests pytest |
68 |
+ |
69 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
70 |
+ |
71 |
+python_test() { |
72 |
+ local deselect=( |
73 |
+ # no clue why it's broken |
74 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
75 |
+ ) |
76 |
+ |
77 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
78 |
+ # with PosixPaths |
79 |
+ epytest -p no:faker ${deselect[@]/#/--deselect } |
80 |
+} |