commit:     6b64feddeadf24f8204c32854aa65df173e66060
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 06:51:08 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 30 08:14:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b64fedd

dev-python/astroid: Bump to 2.5.7

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

 dev-python/astroid/Manifest             |  1 +
 dev-python/astroid/astroid-2.5.7.ebuild | 51 +++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
index 127982b5f50..cefaa26dd37 100644
--- a/dev-python/astroid/Manifest
+++ b/dev-python/astroid/Manifest
@@ -1,3 +1,4 @@
 DIST astroid-2.5.3.tar.gz 317721 BLAKE2B 
66566287fa65489064056d6dba65fd7c59cbe9e4e3d88ba5a33d08dbcf6af48b6f1eb4aafb4f7483a1fc0eb6fdd92a7bc8f1991d05cd4d589fbcc6ed6f5db769
 SHA512 
dbf480e86023f7d093386cc68b259d5b721717638927a893b3ade0a397b212f5f24a17c753b705cf499b47e12ab255d51126b41b5af167d5c3018f5aade1abcb
 DIST astroid-2.5.6.tar.gz 345014 BLAKE2B 
13916663aef712449a842e50b74ecd2e1b82817e1c128fdf9a4d5779d391deab7f806300cb6597b29920222ff041b13eb985aa395dff024af6fee628a84f883f
 SHA512 
3d10d0f92c4b4c2d7d5e0035f23ae554b512f34ddd55b4c1c4032b328643dfe60cb4aa675a3824423fcd12baea7961847435f1894a47fafa99802f3e17a5605f
+DIST astroid-2.5.7.tar.gz 352082 BLAKE2B 
ca52339422da3a35cbe34e4b216dbfed3979dce96a8d5fcc508083c0ef9509c491e78dcfea281b79b07fcb7289a9f40aade0da21ca38b6abcf7025b84909a4fd
 SHA512 
17fc185752510396fda9cce842df8ba72473e469b61c037195a9d6ff72af3ec8d3df01bdcf61d6059d4f90c95278928eba3e3380048bf5c6b4fa2a3c9b267176
 DIST astroid-2.5.tar.gz 304788 BLAKE2B 
3d9304dcfff72aa8172fe88b5ee53b723b47b3e602b7c30cae15a61d0cff7d578ccfde4885b56c09c8254ca3fe185fcf297bf85184d68798eb51f1860c516db6
 SHA512 
eba7e757a12f89a74bff579731a157fda3c8d8dd1b5a4369791d47f7f6e321b23e167260d0988d389428222c8c98929e66ad26f379ff937e274dcd1abdb3b3d2

diff --git a/dev-python/astroid/astroid-2.5.7.ebuild 
b/dev-python/astroid/astroid-2.5.7.ebuild
new file mode 100644
index 00000000000..f34e714dd00
--- /dev/null
+++ b/dev-python/astroid/astroid-2.5.7.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..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 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# Version specified in __pkginfo__.py.
+RDEPEND="
+       >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
+       >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+               >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
+       ' python3_7)"
+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_knownValues_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