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/, dev-python/astroid/files/
Date: Thu, 30 Jul 2020 20:46:38
Message-Id: 1596141983.5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8.mgorny@gentoo
1 commit: 5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 30 20:42:19 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 20:46:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1d2f2c
7
8 dev-python/astroid: Remove old
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.3.3-r2.ebuild | 56 ----------------------
14 .../files/astroid-2.3.3-no-pytest-runner.patch | 12 -----
15 3 files changed, 69 deletions(-)
16
17 diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest
18 index b1c74fae7c6..5ddde6ca1c7 100644
19 --- a/dev-python/astroid/Manifest
20 +++ b/dev-python/astroid/Manifest
21 @@ -1,2 +1 @@
22 -DIST astroid-2.3.3.tar.gz 297350 BLAKE2B 7ac5cf028fa0263998271d23128b1bfd127fedafab2f6b3cc465867b9668942e1edc79bed62eb34bcce31b6892e4c5a31dbdd68d20fb92a1f134dc9e78a76920 SHA512 72011f3eb312ea7ce7dd55f7615972f6bfc152d8f16f9052b405f44fe17e594d5da22e0502b4c3034881b9783be9e808509d4ded3d679182ddf6d34eb90748f1
23 DIST astroid-2.4.2.tar.gz 310972 BLAKE2B 23ebe5ef418ce19b64eb1c0f8d711c3f0d86ae32cff112d9a99db48d20a34c73cfa97c96229fd0f0f1169720d24e2cfd0b5a327c29ea0fc0f54a57ede45fcebe SHA512 f5d759c07a13e06d3d071faacff2dc775924566aaef8bdb6e526c4ebf723b6b561f5824b711b33e33a2a69df0a2ff4cbf0f4302c9a0d55610e031e81c4a4be91
24
25 diff --git a/dev-python/astroid/astroid-2.3.3-r2.ebuild b/dev-python/astroid/astroid-2.3.3-r2.ebuild
26 deleted file mode 100644
27 index f472f823880..00000000000
28 --- a/dev-python/astroid/astroid-2.3.3-r2.ebuild
29 +++ /dev/null
30 @@ -1,56 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{6,7,8} )
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[${PYTHON_USEDEP}]
53 - dev-python/six[${PYTHON_USEDEP}]
54 - >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}]
55 - >=dev-python/typed-ast-1.3.0[${PYTHON_USEDEP}]"
56 -DEPEND="
57 - dev-python/setuptools[${PYTHON_USEDEP}]
58 - test? (
59 - ${RDEPEND}
60 - dev-python/nose[${PYTHON_USEDEP}]
61 - dev-python/numpy[${PYTHON_USEDEP}]
62 - dev-python/pytest[${PYTHON_USEDEP}]
63 - dev-python/python-dateutil[${PYTHON_USEDEP}]
64 - )"
65 -
66 -PATCHES=(
67 - "${FILESDIR}/${PN}-2.3.3-no-pytest-runner.patch"
68 -)
69 -
70 -python_prepare_all() {
71 - # Disable failing tests
72 -
73 - # no idea why this test fails
74 - sed -i -e "s/test_knownValues_get_builtin_module_part/_&/" \
75 - astroid/tests/unittest_modutils.py || die
76 -
77 - sed -r -e 's:"wrapt(~|=)=.+":"wrapt":' \
78 - -i astroid/__pkginfo__.py || die
79 -
80 - distutils-r1_python_prepare_all
81 -}
82 -
83 -python_test() {
84 - "${EPYTHON}" -m pytest -v --pyargs astroid/tests \
85 - || die "tests failed with ${EPYTHON}"
86 -}
87
88 diff --git a/dev-python/astroid/files/astroid-2.3.3-no-pytest-runner.patch b/dev-python/astroid/files/astroid-2.3.3-no-pytest-runner.patch
89 deleted file mode 100644
90 index 5dd24f2e2c4..00000000000
91 --- a/dev-python/astroid/files/astroid-2.3.3-no-pytest-runner.patch
92 +++ /dev/null
93 @@ -1,12 +0,0 @@
94 -diff --git a/setup.py b/setup.py
95 -index 439ceafa..2ad55d6b 100644
96 ---- a/setup.py
97 -+++ b/setup.py
98 -@@ -43,7 +43,6 @@ def install():
99 - install_requires=install_requires,
100 - extras_require=extras_require,
101 - packages=find_packages(exclude=["astroid.tests"]) + ["astroid.brain"],
102 -- setup_requires=["pytest-runner"],
103 - test_suite="test",
104 - tests_require=["pytest"],
105 - )