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: Mon, 01 Mar 2021 08:25:08
Message-Id: 1614585725.2d07460fd35ea8b5bc6854154fce36e85160a9f5.mgorny@gentoo
1 commit: 2d07460fd35ea8b5bc6854154fce36e85160a9f5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 1 08:01:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 08:02:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d07460f
7
8 dev-python/astroid: Bump to 2.5.1
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.5.1.ebuild | 45 +++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
17 index d05a68c09e8..7ed6a721d5f 100644
18 --- a/dev-python/astroid/Manifest
19 +++ b/dev-python/astroid/Manifest
20 @@ -1,2 +1,3 @@
21 DIST astroid-2.4.2.tar.gz 310972 BLAKE2B 23ebe5ef418ce19b64eb1c0f8d711c3f0d86ae32cff112d9a99db48d20a34c73cfa97c96229fd0f0f1169720d24e2cfd0b5a327c29ea0fc0f54a57ede45fcebe SHA512 f5d759c07a13e06d3d071faacff2dc775924566aaef8bdb6e526c4ebf723b6b561f5824b711b33e33a2a69df0a2ff4cbf0f4302c9a0d55610e031e81c4a4be91
22 +DIST astroid-2.5.1.tar.gz 312511 BLAKE2B 85d85c045579f6bf42a4640da95836e760d1d89edaefdf94209a2fdc7f2686a27abcb1c0710cad658473a0a1516df5ad80f10c6b7c2a4f14dea36af94aa9ae5b SHA512 a0aaa95257961235abbbbc021cdb48da760f8b1856bbc0a7a8b98c53c69045cee4bfe575182a631f994765819e373b33b3a6eca052573128e8b36f2c23c250de
23 DIST astroid-2.5.tar.gz 304788 BLAKE2B 3d9304dcfff72aa8172fe88b5ee53b723b47b3e602b7c30cae15a61d0cff7d578ccfde4885b56c09c8254ca3fe185fcf297bf85184d68798eb51f1860c516db6 SHA512 eba7e757a12f89a74bff579731a157fda3c8d8dd1b5a4369791d47f7f6e321b23e167260d0988d389428222c8c98929e66ad26f379ff937e274dcd1abdb3b3d2
24
25 diff --git a/dev-python/astroid/astroid-2.5.1.ebuild b/dev-python/astroid/astroid-2.5.1.ebuild
26 new file mode 100644
27 index 00000000000..b2a9c306e3f
28 --- /dev/null
29 +++ b/dev-python/astroid/astroid-2.5.1.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Abstract Syntax Tree for logilab packages"
41 +HOMEPAGE="https://github.com/PyCQA/astroid https://pypi.org/project/astroid/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2.1+"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +# Version specified in __pkginfo__.py.
51 +RDEPEND="
52 + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
53 + >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}]
54 + >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]"
55 +DEPEND="
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + test? (
58 + ${RDEPEND}
59 + dev-python/nose[${PYTHON_USEDEP}]
60 + dev-python/numpy[${PYTHON_USEDEP}]
61 + dev-python/pytest[${PYTHON_USEDEP}]
62 + dev-python/python-dateutil[${PYTHON_USEDEP}]
63 + )"
64 +
65 +distutils_enable_tests pytest
66 +
67 +python_test() {
68 + local deselect=(
69 + # no clue why it's broken
70 + --deselect
71 + tests/unittest_modutils.py::GetModulePartTest::test_knownValues_get_builtin_module_part
72 + )
73 +
74 + pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}"
75 +}