diff options
Diffstat (limited to 'dev-python/astng/astng-0.14.0.ebuild')
-rw-r--r-- | dev-python/astng/astng-0.14.0.ebuild | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/dev-python/astng/astng-0.14.0.ebuild b/dev-python/astng/astng-0.14.0.ebuild deleted file mode 100644 index 6fd25c672d70..000000000000 --- a/dev-python/astng/astng-0.14.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.14.0.ebuild,v 1.2 2006/01/19 16:46:17 marienz Exp $ - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" -SRC_URI="ftp://ftp.logilab.org/pub/astng/${P}.tar.gz" -HOMEPAGE="http://www.logilab.org/projects/astng/" - -IUSE="" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -DEPEND=">=dev-lang/python-2.1 - >=dev-python/logilab-common-0.13-r1" - - -src_install() { - distutils_src_install - python_version - # we need to remove this file because it collides with the one - # from logilab-common (which we depend on). - rm ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/logilab/__init__.py -} - -src_test() { - # The tests will not work properly from the source dir, so do a - # temporary install. - - python_version - local spath="usr/$(get_libdir)/python${PYVER}/site-packages/" - # 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 "${T}/test/${spath}/logilab" - cp -r "${ROOT}${spath}/logilab/common" "${T}/test/${spath}/logilab" \ - || die "copying logilab-common failed!" - - ${python} setup.py install --root="${T}/test" || die "test install failed" - # dir needs to be this or the tests fail - cd "${T}/test/${spath}/logilab/astng/test" - PYTHONPATH="${T}/test/${spath}" "${python}" runtests.py \ - || die "tests failed" - cd "${S}" - rm -rf "${T}/test" -} |