1 |
commit: 0359265f88cd46f0e7592fcf2c7151568d4c56e8 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 23 16:54:17 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 16:54:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0359265f |
7 |
|
8 |
dev-python/astroid: add 2.12.3 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/astroid/Manifest | 1 + |
13 |
dev-python/astroid/astroid-2.12.3.ebuild | 59 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest |
17 |
index d5a28800040d..bae584832ed0 100644 |
18 |
--- a/dev-python/astroid/Manifest |
19 |
+++ b/dev-python/astroid/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST astroid-2.11.6.gh.tar.gz 414842 BLAKE2B 3300037aad912be25d99cc20576f472b907c064c2cb434d9a40a9014df44749760cd8921411f3abdf8e08bd08e612cf6aec13d73ca38ec8ac31cd1ed007282bb SHA512 2276385d74d9bbfd0d99c786d2598105161b2c71c96ca73183b6e2672f8b61c31667c337a1d3967956ef5fdbb54392d604a84da5ac456354d04fb4ad37b11f61 |
22 |
DIST astroid-2.12.2.gh.tar.gz 430857 BLAKE2B 8b34366368718cd4329298bdff3b761cab59b6bf8b856660912ef44bf1766136573145630b5193481454a4bf897ae950c5b6f7bb3611d3d343dc4f3adb2e5906 SHA512 3ba484bbd98b196b4241fb8bb9405b48a1e6aafaf318a67fc9264c8c1679f9d6b6788b8139077b60c751b0a26732b905196b3bb48671da2aa15e1c323bf396d6 |
23 |
+DIST astroid-2.12.3.gh.tar.gz 432731 BLAKE2B 276537b9a97bfbba2177538c6546a8e55fd1a144dde2fc2104460b0867d5439433e10be58bdac4f7da17a22e61c9484045ee979b8de11dcb485b9979a50f1e30 SHA512 5927c54d2ae000a96615a7b81f83b39bd8ce4b15e6652b494d18cf085ed455fb9e59b9c0c35ba8de7e2ea12c036e06ceb741dacdf882158cfd7e9ed3750dad88 |
24 |
|
25 |
diff --git a/dev-python/astroid/astroid-2.12.3.ebuild b/dev-python/astroid/astroid-2.12.3.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..de2148b20e43 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/astroid/astroid-2.12.3.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
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}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1+" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
53 |
+ |
54 |
+# Version specified in pyproject.toml |
55 |
+RDEPEND=" |
56 |
+ >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] |
57 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}] |
59 |
+ <dev-python/wrapt-2[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
63 |
+ test? ( |
64 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
65 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_tests pytest |
70 |
+ |
71 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
72 |
+ |
73 |
+python_test() { |
74 |
+ local EPYTEST_DESELECT=( |
75 |
+ # no clue why it's broken |
76 |
+ tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part |
77 |
+ tests/unittest_brain_dataclasses.py::test_pydantic_field |
78 |
+ tests/unittest_brain.py::SixBrainTest::test_from_imports |
79 |
+ tests/unittest_regrtest.py::NonRegressionTests::test_numpy_distutils |
80 |
+ # some problem with warnings (our options?) |
81 |
+ tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg |
82 |
+ tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args |
83 |
+ tests/unittest_scoped_nodes.py::test_deprecation_of_doc_attribute |
84 |
+ ) |
85 |
+ |
86 |
+ # Faker causes sys.path_importer_cache keys to be overwritten |
87 |
+ # with PosixPaths |
88 |
+ epytest -p no:faker |
89 |
+} |