1 |
commit: dcf64af3caa998c9ffb931013599b6686a17b61e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 21 21:40:03 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 21 22:20:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf64af3 |
7 |
|
8 |
dev-python/astroid: Bump to 2.8.6 |
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.8.6.ebuild | 49 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 522a8e69cf5c..318922813315 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST astroid-2.7.3.tar.gz 378876 BLAKE2B 016ab6e798f1a608c0e0ce0bd81865145349c70497d09e336ec8b21eaf01ea365c204f42daf6d55d148f6873ef15e223adc9baf4a09dc8945158e4b5e24f1ebb SHA512 03a886c2daef640cf0a85f38e39b6e12080dc722862cb03386d1355f3f955ea46a7bb7b85c2887f52ba6d0ecb6243c653c7f1cd44d6c7429f2cd29c1dfd2297f |
22 |
DIST astroid-2.8.4.tar.gz 391667 BLAKE2B 118a9dce88ac081d0057134cf4fb158fb8ca9c0d9807e9071910c86cad90c42518b7033a05504f617dcaf2cab73afe26be35224bf6b14aef618f77c15da07424 SHA512 8dc0746cabee8ae6f171d89df4ff2236b0f7c525694356e7169fb7ba5dc61a0febc04e4dfd1d116bc120170e5c70814b74df7625a2cce9b35aab40558bf6bd41 |
23 |
DIST astroid-2.8.5.tar.gz 393800 BLAKE2B eb3e7abe877da8054dd9e5bbad89e23e8cc6bfdb5c224674c1559d0bf6fbdfd562ef33d65457b26394fc9de38f77e5ce3c15509d71993d0d07ddfd00b97fbcd2 SHA512 4dcad05763419db2814c4e6a8f0a9b62d967e8855ac77a3cedf90f6186d5c68bcf037ac36e4af8dfcbaad3abab3b8ec2485a5973f5ac1952971c335a827948ce |
24 |
+DIST astroid-2.8.6.tar.gz 394852 BLAKE2B 400531227ce5a8b0f284f51ccb2d37aeb0463ee0fc7faceb3fd33b4bd727b7283421fb69c50eba3246217e06dca2cecfac49030d33c7e2a7cf252144860b50a3 SHA512 8fae723f0b7df34ba51d7f97634b09173956ae1eaa1543b81af8a80b5d9c9fcbdd96de709da2432a935dd5fc7369f9f1ea03cf2b7e3f0b09dac8485145d8f1d9 |
25 |
DIST astroid-2.9.0.tar.gz 404906 BLAKE2B 2aefe21392289b95a4ea3bde047e6f33b6915f4feac722164b4c35cc97dedb83f7d2e7f277485c5a3a8c7abc7865ccd88923266aa675755eeb17b0bd22077931 SHA512 949520268303a257102c2348920df9ff779bf5736739be5985b0441fae664212bee476445dc5d52478e789e08bbd5826ef83cf8a730a73d4e2d6eb04251c3cee |
26 |
|
27 |
diff --git a/dev-python/astroid/astroid-2.8.6.ebuild b/dev-python/astroid/astroid-2.8.6.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..a7739e685def |
30 |
--- /dev/null |
31 |
+++ b/dev-python/astroid/astroid-2.8.6.ebuild |
32 |
@@ -0,0 +1,49 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
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 |
+LICENSE="LGPL-2.1+" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
54 |
+ |
55 |
+# Version specified in __pkginfo__.py. |
56 |
+RDEPEND=" |
57 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] |
59 |
+ <dev-python/wrapt-1.14[${PYTHON_USEDEP}]" |
60 |
+BDEPEND=" |
61 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ dev-python/nose[${PYTHON_USEDEP}] |
64 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
65 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
66 |
+ )" |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
71 |
+ |
72 |
+python_test() { |
73 |
+ local deselect=( |
74 |
+ # no clue why it's broken |
75 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
76 |
+ ) |
77 |
+ |
78 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
79 |
+ # with PosixPaths |
80 |
+ epytest -p no:faker ${deselect[@]/#/--deselect } |
81 |
+} |