diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-13 18:17:44 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-13 18:17:44 +0000 |
commit | 67aa7b85744eeaaa7d333ac9f172f641d9e32d4a (patch) | |
tree | a7d45004e04695483ba2a630dbfbfa34db818f20 /dev-python/astng | |
parent | Marked ppc stable for bug #317689. (diff) | |
download | gentoo-2-67aa7b85744eeaaa7d333ac9f172f641d9e32d4a.tar.gz gentoo-2-67aa7b85744eeaaa7d333ac9f172f641d9e32d4a.tar.bz2 gentoo-2-67aa7b85744eeaaa7d333ac9f172f641d9e32d4a.zip |
Delete older ebuild.
Diffstat (limited to 'dev-python/astng')
-rw-r--r-- | dev-python/astng/astng-0.19.3.ebuild | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-python/astng/astng-0.19.3.ebuild b/dev-python/astng/astng-0.19.3.ebuild deleted file mode 100644 index 87ad6479b5e1..000000000000 --- a/dev-python/astng/astng-0.19.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.19.3.ebuild,v 1.1 2009/12/19 17:38:00 arfrever Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" -HOMEPAGE="http://www.logilab.org/projects/astng/ http://pypi.python.org/pypi/logilab-astng" -SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz http://pypi.python.org/packages/source/l/logilab-astng/logilab-${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" -IUSE="test" - -RDEPEND=">=dev-python/logilab-common-0.39.0" -DEPEND="${RDEPEND} - test? ( >=dev-python/egenix-mx-base-3.0.0 )" -RESTRICT_PYTHON_ABIS="3.*" - -S="${WORKDIR}/logilab-${P}" - -PYTHON_MODNAME="logilab/astng" - -src_test() { - testing() { - local sdir="${T}/test/$(python_get_sitedir)" - - # This is a hack to make tests work without installing to the live - # filesystem. We copy part of the logilab site-packages to a temporary - # dir, install there, and run from there. - mkdir -p "${sdir}/logilab" || die - cp -r "$(python_get_sitedir)/logilab/common" "${sdir}/logilab" || die "copying logilab-common failed!" - - "$(PYTHON)" setup.py install --root="${T}/test" || die "test copy failed" - - # Pytest picks up tests relative to the current dir, so cd in. - pushd "${sdir}/logilab/astng" > /dev/null || die - PYTHONPATH="${sdir}" pytest -v || die "tests failed" - popd > /dev/null - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - [[ -z "${ED}" ]] && local ED="${D}" - local sdir="${ED}$(python_get_sitedir)/logilab" - - # we need to remove this file because it collides with the one - # from logilab-common (which we depend on). - # Bug 111970 and bug 223025 - rm -f "${sdir}/__init__.py" || die - - # Remove unittests since they're just needed during build-time - rm -fr "${sdir}/astng/test" || die - } - python_execute_function --action-message 'Deletion of unneeded files with Python ${PYTHON_ABI}' deletion_of_unneeded_files -} |