diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-01-26 17:23:53 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-01-26 17:23:53 +0000 |
commit | 7723a29d5ba9d8bd16d0895db97413ad16dbf43e (patch) | |
tree | 72753db6087034c9bcd654a0f597758bf4b1d3d2 | |
parent | Remove old. (diff) | |
download | gentoo-2-7723a29d5ba9d8bd16d0895db97413ad16dbf43e.tar.gz gentoo-2-7723a29d5ba9d8bd16d0895db97413ad16dbf43e.tar.bz2 gentoo-2-7723a29d5ba9d8bd16d0895db97413ad16dbf43e.zip |
Remove old.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )
-rw-r--r-- | dev-python/astng/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/astng/astng-0.21.1.ebuild | 75 | ||||
-rw-r--r-- | dev-python/astng/files/astng-0.23.1-file-open.patch | 19 |
3 files changed, 6 insertions, 96 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index afc0b64e94b4..7c323b327b58 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/astng -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.80 2014/12/31 16:18:54 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.81 2015/01/26 17:23:53 mrueg Exp $ + + 26 Jan 2015; Manuel Rüger <mrueg@gentoo.org> -astng-0.21.1.ebuild, + -files/astng-0.23.1-file-open.patch: + Remove old. 31 Dec 2014; Agostino Sarubbo <ago@gentoo.org> astng-0.24.3.ebuild: Stable for ppc, wrt bug #532490 diff --git a/dev-python/astng/astng-0.21.1.ebuild b/dev-python/astng/astng-0.21.1.ebuild deleted file mode 100644 index a7d7aadc67d9..000000000000 --- a/dev-python/astng/astng-0.21.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.21.1.ebuild,v 1.5 2012/08/27 15:20:01 floppym Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" -HOMEPAGE="http://www.logilab.org/project/logilab-astng http://pypi.python.org/pypi/logilab-astng" -SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ~ppc64 ~sparc x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" - -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -PYTHON_MODNAME="logilab/astng" - -src_prepare() { - distutils_src_prepare - - conversion() { - [[ "${PYTHON_ABI}" == 2.* ]] && return - find -name "*.py" ! -name "setup.py" -print | xargs 2to3-${PYTHON_ABI} -nw --no-diffs - } - python_execute_function -s conversion -} - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - if [[ "${PYTHON_ABI}" == 3.* ]]; then - # Support for Python 3 is experimental. Some tests are known to fail. - PYTHONPATH="${spath}" pytest -v - else - PYTHONPATH="${spath}" pytest -v || return 1 - fi - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/files/astng-0.23.1-file-open.patch b/dev-python/astng/files/astng-0.23.1-file-open.patch deleted file mode 100644 index 90decf12c646..000000000000 --- a/dev-python/astng/files/astng-0.23.1-file-open.patch +++ /dev/null @@ -1,19 +0,0 @@ -# HG changeset patch -# User Sylvain Thénault <sylvain.thenault@logilab.fr> -# Date 1326988959 -3600 -# Node ID 0272006bdfbee3a0a1447315633bbfeb2f5920e8 -# Parent b763bb212ddd6df802ec09338f69abfd96917698 -use open rather than file as 2to3 miss it (probably because of the file class attribute) - -diff -r b763bb212ddd -r 0272006bdfbe scoped_nodes.py ---- a/scoped_nodes.py Thu Dec 08 17:37:40 2011 +0100 -+++ b/scoped_nodes.py Thu Jan 19 17:02:39 2012 +0100 -@@ -246,7 +246,7 @@ - @property - def file_stream(self): - if self.file is not None: -- return file(self.file) -+ return open(self.file) - return None - - def block_range(self, lineno): |