1 |
commit: 6b64feddeadf24f8204c32854aa65df173e66060 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 30 06:51:08 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 30 08:14:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b64fedd |
7 |
|
8 |
dev-python/astroid: Bump to 2.5.7 |
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.5.7.ebuild | 51 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 127982b5f50..cefaa26dd37 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST astroid-2.5.3.tar.gz 317721 BLAKE2B 66566287fa65489064056d6dba65fd7c59cbe9e4e3d88ba5a33d08dbcf6af48b6f1eb4aafb4f7483a1fc0eb6fdd92a7bc8f1991d05cd4d589fbcc6ed6f5db769 SHA512 dbf480e86023f7d093386cc68b259d5b721717638927a893b3ade0a397b212f5f24a17c753b705cf499b47e12ab255d51126b41b5af167d5c3018f5aade1abcb |
22 |
DIST astroid-2.5.6.tar.gz 345014 BLAKE2B 13916663aef712449a842e50b74ecd2e1b82817e1c128fdf9a4d5779d391deab7f806300cb6597b29920222ff041b13eb985aa395dff024af6fee628a84f883f SHA512 3d10d0f92c4b4c2d7d5e0035f23ae554b512f34ddd55b4c1c4032b328643dfe60cb4aa675a3824423fcd12baea7961847435f1894a47fafa99802f3e17a5605f |
23 |
+DIST astroid-2.5.7.tar.gz 352082 BLAKE2B ca52339422da3a35cbe34e4b216dbfed3979dce96a8d5fcc508083c0ef9509c491e78dcfea281b79b07fcb7289a9f40aade0da21ca38b6abcf7025b84909a4fd SHA512 17fc185752510396fda9cce842df8ba72473e469b61c037195a9d6ff72af3ec8d3df01bdcf61d6059d4f90c95278928eba3e3380048bf5c6b4fa2a3c9b267176 |
24 |
DIST astroid-2.5.tar.gz 304788 BLAKE2B 3d9304dcfff72aa8172fe88b5ee53b723b47b3e602b7c30cae15a61d0cff7d578ccfde4885b56c09c8254ca3fe185fcf297bf85184d68798eb51f1860c516db6 SHA512 eba7e757a12f89a74bff579731a157fda3c8d8dd1b5a4369791d47f7f6e321b23e167260d0988d389428222c8c98929e66ad26f379ff937e274dcd1abdb3b3d2 |
25 |
|
26 |
diff --git a/dev-python/astroid/astroid-2.5.7.ebuild b/dev-python/astroid/astroid-2.5.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f34e714dd00 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/astroid/astroid-2.5.7.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Abstract Syntax Tree for logilab packages" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/PyCQA/astroid/ |
44 |
+ https://pypi.org/project/astroid/" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1+" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
52 |
+ |
53 |
+# Version specified in __pkginfo__.py. |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] |
60 |
+ ' python3_7)" |
61 |
+BDEPEND=" |
62 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
63 |
+ test? ( |
64 |
+ dev-python/nose[${PYTHON_USEDEP}] |
65 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
66 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
67 |
+ )" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
72 |
+ |
73 |
+python_test() { |
74 |
+ local deselect=( |
75 |
+ # no clue why it's broken |
76 |
+ tests/unittest_modutils.py::GetModulePartTest::test_knownValues_get_builtin_module_part |
77 |
+ ) |
78 |
+ |
79 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
80 |
+ # with PosixPaths |
81 |
+ epytest -p no:faker ${deselect[@]/#/--deselect } |
82 |
+} |