summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-02-05 18:16:36 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-02-05 18:16:36 +0000
commit1626cf6500a0883a39a960ac3e161d276d4c1d49 (patch)
treef62b1efb6159ec68e021cf4b5f95410fbe87e742 /dev-python/cheetah/cheetah-2.0_rc7.ebuild
parentremove older release (diff)
downloadgentoo-2-1626cf6500a0883a39a960ac3e161d276d4c1d49.tar.gz
gentoo-2-1626cf6500a0883a39a960ac3e161d276d4c1d49.tar.bz2
gentoo-2-1626cf6500a0883a39a960ac3e161d276d4c1d49.zip
Fixed src_test
(Portage version: 2.1.2-r7)
Diffstat (limited to 'dev-python/cheetah/cheetah-2.0_rc7.ebuild')
-rw-r--r--dev-python/cheetah/cheetah-2.0_rc7.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-python/cheetah/cheetah-2.0_rc7.ebuild b/dev-python/cheetah/cheetah-2.0_rc7.ebuild
index 4ada6a749890..2aff726cb256 100644
--- a/dev-python/cheetah/cheetah-2.0_rc7.ebuild
+++ b/dev-python/cheetah/cheetah-2.0_rc7.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-2.0_rc7.ebuild,v 1.1 2007/01/06 22:29:36 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-2.0_rc7.ebuild,v 1.2 2007/02/05 18:16:36 dev-zero Exp $
+
+NEED_PYTHON=2.2
inherit distutils
-MY_P=${P/ch/Ch}
-MY_P=${MY_P/_rc/rc}
+MY_PN=Cheetah
+MY_P=${MY_PN}-${PV/_}
DESCRIPTION="Python-powered template engine and code generator."
HOMEPAGE="http://www.cheetahtemplate.org/"
@@ -14,9 +16,11 @@ LICENSE="PSF-2.2"
IUSE=""
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc-macos ~sparc ~x86"
SLOT="0"
-DEPEND=">=dev-lang/python-2.2"
-S=${WORKDIR}/${MY_P}
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
PYTHON_MODNAME="Cheetah"
DOCS="README CHANGES TODO"
@@ -25,6 +29,5 @@ pkg_postinst() {
}
src_test() {
- cd src/Tests
- python Test.py || die "tests failed"
+ PYTHONPATH=$(ls -d ./build/lib.*) "${python}" src/Tests/Test.py || die "tests failed"
}