diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-30 22:42:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-30 22:46:23 +0200 |
commit | 5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8 (patch) | |
tree | 632c58e431d9e65faf47baca69305fc5d657b2a7 /dev-python | |
parent | dev-python/aws-sam-translator: Remove old (diff) | |
download | gentoo-5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8.tar.gz gentoo-5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8.tar.bz2 gentoo-5b1d2f2c5f83e9120aa35b87ea73d91c1beefaf8.zip |
dev-python/astroid: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/astroid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/astroid/astroid-2.3.3-r2.ebuild | 56 | ||||
-rw-r--r-- | dev-python/astroid/files/astroid-2.3.3-no-pytest-runner.patch | 12 |
3 files changed, 0 insertions, 69 deletions
diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index b1c74fae7c69..5ddde6ca1c71 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1 @@ -DIST astroid-2.3.3.tar.gz 297350 BLAKE2B 7ac5cf028fa0263998271d23128b1bfd127fedafab2f6b3cc465867b9668942e1edc79bed62eb34bcce31b6892e4c5a31dbdd68d20fb92a1f134dc9e78a76920 SHA512 72011f3eb312ea7ce7dd55f7615972f6bfc152d8f16f9052b405f44fe17e594d5da22e0502b4c3034881b9783be9e808509d4ded3d679182ddf6d34eb90748f1 DIST astroid-2.4.2.tar.gz 310972 BLAKE2B 23ebe5ef418ce19b64eb1c0f8d711c3f0d86ae32cff112d9a99db48d20a34c73cfa97c96229fd0f0f1169720d24e2cfd0b5a327c29ea0fc0f54a57ede45fcebe SHA512 f5d759c07a13e06d3d071faacff2dc775924566aaef8bdb6e526c4ebf723b6b561f5824b711b33e33a2a69df0a2ff4cbf0f4302c9a0d55610e031e81c4a4be91 diff --git a/dev-python/astroid/astroid-2.3.3-r2.ebuild b/dev-python/astroid/astroid-2.3.3-r2.ebuild deleted file mode 100644 index f472f8238809..000000000000 --- a/dev-python/astroid/astroid-2.3.3-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE="https://github.com/PyCQA/astroid https://pypi.org/project/astroid/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Version specified in __pkginfo__.py. -RDEPEND=" - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/wrapt-1.11.2[${PYTHON_USEDEP}] - >=dev-python/typed-ast-1.3.0[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}/${PN}-2.3.3-no-pytest-runner.patch" -) - -python_prepare_all() { - # Disable failing tests - - # no idea why this test fails - sed -i -e "s/test_knownValues_get_builtin_module_part/_&/" \ - astroid/tests/unittest_modutils.py || die - - sed -r -e 's:"wrapt(~|=)=.+":"wrapt":' \ - -i astroid/__pkginfo__.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - "${EPYTHON}" -m pytest -v --pyargs astroid/tests \ - || die "tests failed with ${EPYTHON}" -} 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 deleted file mode 100644 index 5dd24f2e2c43..000000000000 --- a/dev-python/astroid/files/astroid-2.3.3-no-pytest-runner.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/setup.py b/setup.py -index 439ceafa..2ad55d6b 100644 ---- a/setup.py -+++ b/setup.py -@@ -43,7 +43,6 @@ def install(): - install_requires=install_requires, - extras_require=extras_require, - packages=find_packages(exclude=["astroid.tests"]) + ["astroid.brain"], -- setup_requires=["pytest-runner"], - test_suite="test", - tests_require=["pytest"], - ) |