1 |
commit: 885ea8711b245660054e2fbd6c31ef035b300c88 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 14 20:06:19 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 21:35:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885ea871 |
7 |
|
8 |
dev-python/astroid: Bump to 2.8.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.8.0.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 775d87e6254..ae98208f864 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST astroid-2.6.6.tar.gz 368118 BLAKE2B c5117566579ee6c8ccf973e180b3de3cd3896110221627cfa16d17fbeb049954d4452d3f55ab4161751a9eb7892fbd49090eb8e82c5a90f5985ec13a9f5d1fdd SHA512 a077c291b90f52d353d27b8e6aee2ffca1d69bf0e1e7185c32f3959853d9f2957f411975e5bf66f27d73b66cce6bd1e55529de6b7d0a17dea5399edf3a404825 |
22 |
DIST astroid-2.7.2.tar.gz 374584 BLAKE2B 09f0f70bd0caa8e4971611d2190ccfbc06a8f871abe1e47313ff574bf4680eb26ec67c0a89fc0a434a15535b2c31d005036a0780b62495ac9d6b69e7f04419d3 SHA512 c14841265b2d50a76a5f4ff9c9f19fcdab9e1de8d726e1d40185e517bd3e9c7e1c131e23e0160102f842d7233884eb66d7db7d2443e2609db87d6ec88ed7d5b6 |
23 |
DIST astroid-2.7.3.tar.gz 378876 BLAKE2B 016ab6e798f1a608c0e0ce0bd81865145349c70497d09e336ec8b21eaf01ea365c204f42daf6d55d148f6873ef15e223adc9baf4a09dc8945158e4b5e24f1ebb SHA512 03a886c2daef640cf0a85f38e39b6e12080dc722862cb03386d1355f3f955ea46a7bb7b85c2887f52ba6d0ecb6243c653c7f1cd44d6c7429f2cd29c1dfd2297f |
24 |
+DIST astroid-2.8.0.tar.gz 384821 BLAKE2B 74150d67fd883b2bd4356c49c9c1b148a5e98b4d219405e745474c536691276d029bf8a0bb9275ab9df3d09a9b3492a147c67676ab1f80c9c7d3ad10f240bec4 SHA512 0f14f094a6dc753f0171b462f856fb1bfb1b979a8853f76da14beb04a5b02662f6b4e63c3241ce2c9a37f63490a86300152cbe9509c43e0209d5ef536d693b08 |
25 |
|
26 |
diff --git a/dev-python/astroid/astroid-2.8.0.ebuild b/dev-python/astroid/astroid-2.8.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..cda705df7b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/astroid/astroid-2.8.0.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 |
+} |