commit:     513cdb43ae11682b70a60d3e11163152711a60aa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 06:45:39 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 07:06:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=513cdb43

dev-python/astroid: Bump to 2.12.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/astroid/Manifest              |  1 +
 dev-python/astroid/astroid-2.12.1.ebuild | 59 ++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
index 32e0d7e97d4b..24bce9b181a8 100644
--- a/dev-python/astroid/Manifest
+++ b/dev-python/astroid/Manifest
@@ -1,2 +1,3 @@
 DIST astroid-2.11.6.gh.tar.gz 414842 BLAKE2B 
3300037aad912be25d99cc20576f472b907c064c2cb434d9a40a9014df44749760cd8921411f3abdf8e08bd08e612cf6aec13d73ca38ec8ac31cd1ed007282bb
 SHA512 
2276385d74d9bbfd0d99c786d2598105161b2c71c96ca73183b6e2672f8b61c31667c337a1d3967956ef5fdbb54392d604a84da5ac456354d04fb4ad37b11f61
 DIST astroid-2.12.0.gh.tar.gz 429498 BLAKE2B 
4daf36a96c1f47446558ef223210becd78db1ee8dc76247f9e8d4c16622f777cd9f5d70ed863de9f893b9427b479057f72f24c4c8c7b1468c566eda85ee829b0
 SHA512 
3a5a104a98268f61bf852f7565ef7a4f3d6ded4e8cfa0a6d5dea08e045d3fc0067633618311d82fc2f330e56ffd11d02a81c2493222eeffadf2d333b24b5aa58
+DIST astroid-2.12.1.gh.tar.gz 429733 BLAKE2B 
fe55fb38ed5bdaa70371425f8e7bf11d52d0cbb70cc94d568614f507bf716b66d7c54e98ddca6b2508384234b330ef880c4847826d9e0907bf724e1a06aaeefd
 SHA512 
586c094b577f1d06c5cfe90b54a220ca331657a2c5f9daf3fadc26795a631b8edfdafbd4ac7988aa3fbdc4527ca0ea3392cd38fe15c9444f5471d9bee4bf90d4

diff --git a/dev-python/astroid/astroid-2.12.1.ebuild 
b/dev-python/astroid/astroid-2.12.1.ebuild
new file mode 100644
index 000000000000..de2148b20e43
--- /dev/null
+++ b/dev-python/astroid/astroid-2.12.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Abstract Syntax Tree for logilab packages"
+HOMEPAGE="
+       https://github.com/PyCQA/astroid/
+       https://pypi.org/project/astroid/";
+SRC_URI="
+       https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+
+# Version specified in pyproject.toml
+RDEPEND="
+       >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
+       <dev-python/wrapt-2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # no clue why it's broken
+               
tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
+               tests/unittest_brain_dataclasses.py::test_pydantic_field
+               tests/unittest_brain.py::SixBrainTest::test_from_imports
+               
tests/unittest_regrtest.py::NonRegressionTests::test_numpy_distutils
+               # some problem with warnings (our options?)
+               
tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg
+               
tests/unittest_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args
+               
tests/unittest_scoped_nodes.py::test_deprecation_of_doc_attribute
+       )
+
+       # Faker causes sys.path_importer_cache keys to be overwritten
+       # with PosixPaths
+       epytest -p no:faker
+}

Reply via email to