From 19ba32940a9fd36d2343549dfcb857a4c03c6fdc Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sun, 17 Mar 2019 22:51:26 -0400 Subject: dev-python/astroid: remove old Signed-off-by: Virgil Dupras Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-python/astroid/Manifest | 1 - dev-python/astroid/astroid-2.1.0.ebuild | 52 ---------------------- .../astroid/files/astroid-2.1.0-fix-tests.patch | 16 ------- 3 files changed, 69 deletions(-) delete mode 100644 dev-python/astroid/astroid-2.1.0.ebuild delete mode 100644 dev-python/astroid/files/astroid-2.1.0-fix-tests.patch (limited to 'dev-python/astroid') diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index d39812203778..c22c17e46844 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,4 +1,3 @@ DIST astroid-1.4.8.tar.gz 184091 BLAKE2B 7180b98c757c8681dd0abaed1e79d2c58ce676aff07b539af8776d589ff23770335d0ba4ce5c9b3940b0428dd10174e7c6eff66aeb500e6ac561734e27975be0 SHA512 54bb20edf5518b417470a2d63210802b267fe727f9d30e1ac5000db00a7894739b1c4249468fb55df81b55d382f3a5bbe019876141f7ee4d94040fd699dc0c2c DIST astroid-1.6.5.tar.gz 255688 BLAKE2B 7547e4c537f73ef77b61fba1ab8640c7cd50014ae52e4e4b8f8209a000c55bbdbb1ddcd3fb90d078f99a34d4a4779adabc8ad71af40c3a4547fe3e0d814b328c SHA512 f51f275c9f04809c8993d187cb62fadc84003ddc954d371356474dbe6b719868406fd9188c560f5b658b8b44bb6a4d3ee0785e809e789ca117e2bcbdb58aec53 -DIST astroid-2.1.0.tar.gz 276196 BLAKE2B f09ef4629bb29d0492f1f6ddafd1c0f4d4ef09df5612f3a9a811b09dec7a8c6294a44458e79223232f467a70434022cc23b4745515199beaf4727bd0591bccb3 SHA512 ca200d51613782a85c3f164e9ef55bac1de288c45e7662645ef080cc84a88e34499b2a924b130e9215418842c25352bb948c02d569ac45c251ac37bc57f0dcd8 DIST astroid-2.2.5.tar.gz 281829 BLAKE2B 2cc341caac381fb44b0302e8057a6e2105a6a82dbf807f8a59598e15c5658cc30d4c32e3b58ebbc94c4559f2b2274373f5ed6c4b86b4e8eff86dd91a5520e7ce SHA512 71c8c26314f666e2b9519a83dd9476fbfe0ad7d72f5308f6a94b83c5442dc695bc3e51155df45586ff2ff0eec522a02286d00ac566d542f0b82e5e0d0d7d9c65 diff --git a/dev-python/astroid/astroid-2.1.0.ebuild b/dev-python/astroid/astroid-2.1.0.ebuild deleted file mode 100644 index 5b0bb04f7bb9..000000000000 --- a/dev-python/astroid/astroid-2.1.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{5,6,7} ) - -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="~amd64 ~arm ~ia64 ~ppc64 ~sparc ~x86" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=" - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] - $(python_gen_cond_dep '<=dev-python/typed-ast-1.2.0[${PYTHON_USEDEP}]' python3_5 python3_6)" -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.1.0-fix-tests.patch" - "${FILESDIR}/${PN}-2.1.0-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 - - distutils-r1_python_prepare_all -} - -python_test() { - ${EPYTHON} -m pytest -v --pyarg astroid/tests || die "tests failed" -} diff --git a/dev-python/astroid/files/astroid-2.1.0-fix-tests.patch b/dev-python/astroid/files/astroid-2.1.0-fix-tests.patch deleted file mode 100644 index 32e75225507b..000000000000 --- a/dev-python/astroid/files/astroid-2.1.0-fix-tests.patch +++ /dev/null @@ -1,16 +0,0 @@ -typed_ast doesn't support py37 yet and disables its support under py37. -However, when dev-python/types-ast is installed, the test suite mistakenly -thinks that it has to test typed_ast-related things and fails. -diff --git a/astroid/tests/unittest_nodes.py b/astroid/tests/unittest_nodes.py -index 56b195c2..762f1af2 100644 ---- a/astroid/tests/unittest_nodes.py -+++ b/astroid/tests/unittest_nodes.py -@@ -49,6 +49,8 @@ try: - except ImportError: - HAS_TYPED_AST = False - -+if sys.version_info[:2] >= (3, 7): -+ HAS_TYPED_AST = False - - class AsStringTest(resources.SysPathSetup, unittest.TestCase): - def test_tuple_as_string(self): -- cgit v1.2.3-65-gdbad