1 |
commit: ee14a1fa9cabfe57d4bddc1423b7ab56adc1f943 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 21 07:09:34 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 21 07:56:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee14a1fa |
7 |
|
8 |
dev-python/astroid: Bump to 2.7.2 |
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.7.2.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 05ffb3d99b9..8979c4f9b2b 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST astroid-2.6.2.tar.gz 360787 BLAKE2B a2744b9ada601b731989f17ec75aa94d8882569 |
21 |
DIST astroid-2.6.5.tar.gz 364383 BLAKE2B 22da12e30bbb27ad93516ef18ebe64839fc1f7057a46fe82444c189bada942b32e00c314fe47eaecaf7cb2e7e047206152e1df98b4f46a40010bef9392721b9c SHA512 28c6fe2953f10f99c31af611644137d566489188459c9249e5621c4dc1c5fecb59c1ba3cc0bbab95c2609203388d1df299f0cb87a1fc3b3bb8b4ad3ad6b010a4 |
22 |
DIST astroid-2.6.6.tar.gz 368118 BLAKE2B c5117566579ee6c8ccf973e180b3de3cd3896110221627cfa16d17fbeb049954d4452d3f55ab4161751a9eb7892fbd49090eb8e82c5a90f5985ec13a9f5d1fdd SHA512 a077c291b90f52d353d27b8e6aee2ffca1d69bf0e1e7185c32f3959853d9f2957f411975e5bf66f27d73b66cce6bd1e55529de6b7d0a17dea5399edf3a404825 |
23 |
DIST astroid-2.7.1.tar.gz 373086 BLAKE2B 85ad87041ccafcc3d008455163d71c8d7b98083a7e86d45722c8d5b9a782721a7e6b5e19b0532a14801ce6ec68da72b448867c80db3bdab07e061748502bee38 SHA512 b37f445c499a2015b201b1676530c06f76b6b3e8829740208c32267aba47d77f0e94484202824f0bfc2d35021ba147d8748de89ced8f09010d08b4ca20a63120 |
24 |
+DIST astroid-2.7.2.tar.gz 374584 BLAKE2B 09f0f70bd0caa8e4971611d2190ccfbc06a8f871abe1e47313ff574bf4680eb26ec67c0a89fc0a434a15535b2c31d005036a0780b62495ac9d6b69e7f04419d3 SHA512 c14841265b2d50a76a5f4ff9c9f19fcdab9e1de8d726e1d40185e517bd3e9c7e1c131e23e0160102f842d7233884eb66d7db7d2443e2609db87d6ec88ed7d5b6 |
25 |
|
26 |
diff --git a/dev-python/astroid/astroid-2.7.2.ebuild b/dev-python/astroid/astroid-2.7.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..cda705df7b1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/astroid/astroid-2.7.2.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 |
+} |