Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astroid/
Date: Wed, 01 Feb 2023 04:57:23
Message-Id: 1675227425.1148a3a120dc3a8c0fcfa01520c647949b46907d.mgorny@gentoo
1 commit: 1148a3a120dc3a8c0fcfa01520c647949b46907d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 1 04:28:14 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 04:57:05 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1148a3a1
7
8 dev-python/astroid: Bump to 2.13.5
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.13.5.ebuild | 63 ++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
17 index d7e2444c2a60..9842031a12a8 100644
18 --- a/dev-python/astroid/Manifest
19 +++ b/dev-python/astroid/Manifest
20 @@ -4,4 +4,5 @@ DIST astroid-2.13.1.gh.tar.gz 449003 BLAKE2B 1630cb4cbdea3544942863c58681ba1d5de
21 DIST astroid-2.13.2.gh.tar.gz 449022 BLAKE2B c8180057edef860fae6697b40d6b023b5be9305f0726b85127035a7ed874005da25b265e49a11a985724034c7a2af177b1c5b9850afaccc5787c5db70e4cd73c SHA512 64635e251fd01ef0ac6681db5750230f9acfc2b502818b7c9c0a480dddc78a03a5e5fa920618331b5c1d84c31551f16de7c4c5ba8052dd96d4974edb25449761
22 DIST astroid-2.13.3.gh.tar.gz 450379 BLAKE2B 3381532fa993d801549ef6ee962c6b233042cd35831704f47882c1de0f1eb7ee026f99852adefb0df554f962f048da4032d59c3b4f9dadba032c67f8dbce652a SHA512 61665b1d321104b6a217fff4e6d7bd59f418afe485fdf1acde0157ff49ef000154436ca7b10f21ae475467b06fc2340806f079ab5a6ee7a4bad9976d8a5aeea0
23 DIST astroid-2.13.4.gh.tar.gz 451032 BLAKE2B 5f495685a6ee5d601b47ea8c8206bfafc274cc45dcc9e1004a268e1972bacb10b0ae60a0dd600056139e88b2b652a797c2df14fa60a25e2921f2ee20050165d9 SHA512 ca47c217f85ae5f54b047bfef2a8727a2fd2ca410ba2592b224439cd008619d82c12789b6b75ea902cbdbe0d26f2df02c3aff5637f4c344eff135d76325161a8
24 +DIST astroid-2.13.5.gh.tar.gz 451241 BLAKE2B 6994c9a62911ab347be4de17b9322ca9957b274c2a42085b5c521bc4a810ab0c0079fda89203910a1d7151ebad1b07cc446c1fc8e88580051029861cfb3465ae SHA512 87920dfe5a4e3e64b77cbeefcdd1e227dd712230aeb957f78b57a50d215ef0601689df26ac97cec65d7690e89b10e1b8ab8f2976d1a9b1a3e9a971eb2142d9d2
25 DIST astroid-2.14.1.gh.tar.gz 452889 BLAKE2B f6cee61825d2c86bbf02ba6cc9f48076692d3d71ac2c8a02880a778380b076692aef549ab01829d943323b5829b83ee88009b5136b308da6f81a824fa1f62047 SHA512 47dd132e66645c3da639c68011f4691409af38affa80c5b1863706a864fb8458cdfd100f86929fdaac027a514d285132d8865d2d40996c583077384696a84123
26
27 diff --git a/dev-python/astroid/astroid-2.13.5.ebuild b/dev-python/astroid/astroid-2.13.5.ebuild
28 new file mode 100644
29 index 000000000000..2ba3e7d4abba
30 --- /dev/null
31 +++ b/dev-python/astroid/astroid-2.13.5.ebuild
32 @@ -0,0 +1,63 @@
33 +# Copyright 1999-2023 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{9..11} )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Abstract Syntax Tree for logilab packages"
44 +HOMEPAGE="
45 + https://github.com/PyCQA/astroid/
46 + https://pypi.org/project/astroid/
47 +"
48 +SRC_URI="
49 + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz
50 + -> ${P}.gh.tar.gz
51 +"
52 +
53 +LICENSE="LGPL-2.1+"
54 +SLOT="0"
55 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
56 +
57 +# Version specified in pyproject.toml
58 +RDEPEND="
59 + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + $(python_gen_cond_dep '
62 + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}]
63 + ' 3.{8..10})
64 + <dev-python/wrapt-2[${PYTHON_USEDEP}]
65 +"
66 +BDEPEND="
67 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
68 + test? (
69 + dev-python/numpy[${PYTHON_USEDEP}]
70 + dev-python/python-dateutil[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
77 +
78 +python_test() {
79 + local EPYTEST_DESELECT=(
80 + # no clue why they're broken
81 + tests/test_brain_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable
82 + tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
83 + tests/unittest_brain_dataclasses.py::test_pydantic_field
84 + tests/unittest_brain.py::SixBrainTest::test_from_imports
85 + tests/unittest_regrtest.py::NonRegressionTests::test_numpy_distutils
86 + # some problem with warnings (our options?)
87 + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg
88 + tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args
89 + tests/unittest_scoped_nodes.py::test_deprecation_of_doc_attribute
90 + )
91 +
92 + # Faker causes sys.path_importer_cache keys to be overwritten
93 + # with PosixPaths
94 + epytest -p no:faker
95 +}