1 |
commit: bf1bc5999f2b2161ea09b0011e3899de9151316e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 22 06:57:16 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 22 07:25:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf1bc599 |
7 |
|
8 |
dev-python/astroid: Bump to 2.6.5 |
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.6.5.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 221620275da..f7e8ec14818 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST astroid-2.5.8.tar.gz 354281 BLAKE2B 70ee47c26b765ba9f9bd40cf120a9ce13709043738e20a08d201cdb899789c6c6bdc604aaab49c78b2888503b46321a1728cce656f39d70ce6877ac088cb9567 SHA512 ab2f413e399810e98bd61c837ac90674e7c6d8e2f4d32f3141b21bf1360c785831fc4afd347e755c97627a04cb482aa4e455897e1c02eec8c5fcd28c54c1e9fc |
22 |
DIST astroid-2.6.2.tar.gz 360787 BLAKE2B a2744b9ada601b731989f17ec75aa94d88825693a4ccf349374b8795b0db3879aa5bffe838df68759ff3296cd8af9cd45524e7d894a363f54055f3f1fa01e92e SHA512 776f8f9a12d425b7f048318b632dedb8894b6a3051a0607d1079437084aab4e9593e39cf9c7e01c2dd722364d2396cf13d7d26cc2acf33482d75584c458d4b89 |
23 |
DIST astroid-2.6.4.tar.gz 364123 BLAKE2B 742d2bbe4a4056406b14a61d6aecb37d7add577b6f97b0649f22f7133a5ec0af30b0a7e195817681d014ae25fb69684d776a45948709cb6c2e349352da8960d4 SHA512 d81aee724804438565ab8d49b5df132e528989a3f746f9855ac841c98f06a85c72a7749492ed2856657895e948548f7f9293e4347f4247219065592d2eebf642 |
24 |
+DIST astroid-2.6.5.tar.gz 364383 BLAKE2B 22da12e30bbb27ad93516ef18ebe64839fc1f7057a46fe82444c189bada942b32e00c314fe47eaecaf7cb2e7e047206152e1df98b4f46a40010bef9392721b9c SHA512 28c6fe2953f10f99c31af611644137d566489188459c9249e5621c4dc1c5fecb59c1ba3cc0bbab95c2609203388d1df299f0cb87a1fc3b3bb8b4ad3ad6b010a4 |
25 |
|
26 |
diff --git a/dev-python/astroid/astroid-2.6.5.ebuild b/dev-python/astroid/astroid-2.6.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..cda705df7b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/astroid/astroid-2.6.5.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2021 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 ~ia64 ~ppc ~ppc64 ~riscv ~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/wrapt-1.11.2[${PYTHON_USEDEP}]" |
58 |
+BDEPEND=" |
59 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ dev-python/nose[${PYTHON_USEDEP}] |
62 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
63 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
64 |
+ )" |
65 |
+ |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
69 |
+ |
70 |
+python_test() { |
71 |
+ local deselect=( |
72 |
+ # no clue why it's broken |
73 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
74 |
+ ) |
75 |
+ |
76 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
77 |
+ # with PosixPaths |
78 |
+ epytest -p no:faker ${deselect[@]/#/--deselect } |
79 |
+} |