commit:     293ddf00e51debf03446d5f3234f6d975688e64f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 21 21:39:18 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 21 22:20:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=293ddf00

dev-python/astroid: Bump to 2.9.0

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

 dev-python/astroid/Manifest             |  1 +
 dev-python/astroid/astroid-2.9.0.ebuild | 49 +++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
index 3df4f8499f51..522a8e69cf5c 100644
--- a/dev-python/astroid/Manifest
+++ b/dev-python/astroid/Manifest
@@ -1,3 +1,4 @@
 DIST astroid-2.7.3.tar.gz 378876 BLAKE2B 
016ab6e798f1a608c0e0ce0bd81865145349c70497d09e336ec8b21eaf01ea365c204f42daf6d55d148f6873ef15e223adc9baf4a09dc8945158e4b5e24f1ebb
 SHA512 
03a886c2daef640cf0a85f38e39b6e12080dc722862cb03386d1355f3f955ea46a7bb7b85c2887f52ba6d0ecb6243c653c7f1cd44d6c7429f2cd29c1dfd2297f
 DIST astroid-2.8.4.tar.gz 391667 BLAKE2B 
118a9dce88ac081d0057134cf4fb158fb8ca9c0d9807e9071910c86cad90c42518b7033a05504f617dcaf2cab73afe26be35224bf6b14aef618f77c15da07424
 SHA512 
8dc0746cabee8ae6f171d89df4ff2236b0f7c525694356e7169fb7ba5dc61a0febc04e4dfd1d116bc120170e5c70814b74df7625a2cce9b35aab40558bf6bd41
 DIST astroid-2.8.5.tar.gz 393800 BLAKE2B 
eb3e7abe877da8054dd9e5bbad89e23e8cc6bfdb5c224674c1559d0bf6fbdfd562ef33d65457b26394fc9de38f77e5ce3c15509d71993d0d07ddfd00b97fbcd2
 SHA512 
4dcad05763419db2814c4e6a8f0a9b62d967e8855ac77a3cedf90f6186d5c68bcf037ac36e4af8dfcbaad3abab3b8ec2485a5973f5ac1952971c335a827948ce
+DIST astroid-2.9.0.tar.gz 404906 BLAKE2B 
2aefe21392289b95a4ea3bde047e6f33b6915f4feac722164b4c35cc97dedb83f7d2e7f277485c5a3a8c7abc7865ccd88923266aa675755eeb17b0bd22077931
 SHA512 
949520268303a257102c2348920df9ff779bf5736739be5985b0441fae664212bee476445dc5d52478e789e08bbd5826ef83cf8a730a73d4e2d6eb04251c3cee

diff --git a/dev-python/astroid/astroid-2.9.0.ebuild 
b/dev-python/astroid/astroid-2.9.0.ebuild
new file mode 100644
index 000000000000..a7739e685def
--- /dev/null
+++ b/dev-python/astroid/astroid-2.9.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{8..10} )
+
+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}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+# Version specified in __pkginfo__.py.
+RDEPEND="
+       >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
+       >=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
+       <dev-python/wrapt-1.14[${PYTHON_USEDEP}]"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+       local deselect=(
+               # no clue why it's broken
+               
tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
+       )
+
+       # Faker causes sys.path_importer_cache keys to be overwritten
+       # with PosixPaths
+       epytest -p no:faker ${deselect[@]/#/--deselect }
+}

Reply via email to