summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-25 15:59:31 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-25 15:59:31 +0000
commitaa65aacbf7deb3bb8846f11ab75a208e6730ddd1 (patch)
tree5fc812c5ad92cea128e15c96fe4f50004a8b0253 /dev-python/genshi
parentamd64/x86 stable, bug #288917 (diff)
downloadgentoo-2-aa65aacbf7deb3bb8846f11ab75a208e6730ddd1.tar.gz
gentoo-2-aa65aacbf7deb3bb8846f11ab75a208e6730ddd1.tar.bz2
gentoo-2-aa65aacbf7deb3bb8846f11ab75a208e6730ddd1.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14724-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/genshi')
-rw-r--r--dev-python/genshi/ChangeLog6
-rw-r--r--dev-python/genshi/genshi-0.5.1.ebuild22
2 files changed, 18 insertions, 10 deletions
diff --git a/dev-python/genshi/ChangeLog b/dev-python/genshi/ChangeLog
index 06ab2f91838e..e79a681b9c49 100644
--- a/dev-python/genshi/ChangeLog
+++ b/dev-python/genshi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/genshi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/ChangeLog,v 1.19 2009/10/10 17:06:53 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/ChangeLog,v 1.20 2009/10/25 15:59:31 arfrever Exp $
+
+ 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ genshi-0.5.1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
10 Oct 2009; Fabian Groffen <grobian@gentoo.org> genshi-0.5.1.ebuild:
Merge from Prefix
diff --git a/dev-python/genshi/genshi-0.5.1.ebuild b/dev-python/genshi/genshi-0.5.1.ebuild
index d3e996600ea6..207ab03f23cf 100644
--- a/dev-python/genshi/genshi-0.5.1.ebuild
+++ b/dev-python/genshi/genshi-0.5.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.5.1.ebuild,v 1.8 2009/10/10 17:06:53 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.5.1.ebuild,v 1.9 2009/10/25 15:59:31 arfrever Exp $
EAPI="2"
-NEED_PYTHON=2.3
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -12,6 +12,7 @@ MY_P="Genshi-${PV}"
DESCRIPTION="Python toolkit for stream-based generation of output for the web."
HOMEPAGE="http://genshi.edgewall.org/"
SRC_URI="ftp://ftp.edgewall.com/pub/genshi/${MY_P}.tar.bz2"
+
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
@@ -19,7 +20,7 @@ IUSE="doc examples"
DEPEND="dev-python/setuptools"
RDEPEND="${DEPEND}"
-#It uses dev-python/setuptools as RDEPEND
+RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
@@ -27,20 +28,23 @@ src_prepare(){
epatch "${FILESDIR}/${P}_test_fix.patch"
}
+src_test() {
+ testing() {
+ "$(PYTHON)" setup.py test
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
- if use doc ; then
+ if use doc; then
dodoc doc/*.txt
dohtml -r doc/*
fi
- if use examples ; then
+ if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}
-
-src_test() {
- "${python}" setup.py test || die "test failed"
-}