1 |
commit: 9a80856f4ab98111bb02ce769c6e8ff0769cb5a4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 30 21:18:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 30 21:41:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a80856f |
7 |
|
8 |
dev-python/astroid: Bump to 2.7.3 |
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.3.ebuild | 48 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index 70c0c53c525..775d87e6254 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
|
25 |
diff --git a/dev-python/astroid/astroid-2.7.3.ebuild b/dev-python/astroid/astroid-2.7.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cda705df7b1 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/astroid/astroid-2.7.3.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+PYTHON_COMPAT=( python3_{8..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 ~riscv ~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 |
+BDEPEND=" |
58 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ dev-python/nose[${PYTHON_USEDEP}] |
61 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
62 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
63 |
+ )" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
68 |
+ |
69 |
+python_test() { |
70 |
+ local deselect=( |
71 |
+ # no clue why it's broken |
72 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
73 |
+ ) |
74 |
+ |
75 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
76 |
+ # with PosixPaths |
77 |
+ epytest -p no:faker ${deselect[@]/#/--deselect } |
78 |
+} |