diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-04-22 20:23:50 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-04-22 20:23:50 +0000 |
commit | 3711cffa010b72562ada2985700065361c6469c8 (patch) | |
tree | 1b2cd745be139e6759100346b5c5e336a2ce7335 /dev-python/genshi/genshi-0.6.ebuild | |
parent | Fixes for Python ABIs (diff) | |
download | historical-3711cffa010b72562ada2985700065361c6469c8.tar.gz historical-3711cffa010b72562ada2985700065361c6469c8.tar.bz2 historical-3711cffa010b72562ada2985700065361c6469c8.zip |
Version bump dev-python/genshi to 0.6.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-python/genshi/genshi-0.6.ebuild')
-rw-r--r-- | dev-python/genshi/genshi-0.6.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/genshi/genshi-0.6.ebuild b/dev-python/genshi/genshi-0.6.ebuild new file mode 100644 index 000000000000..5d1f98843ce0 --- /dev/null +++ b/dev-python/genshi/genshi-0.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.6.ebuild,v 1.1 2010/04/22 20:23:50 djc Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit eutils distutils + +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.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="doc examples" + +DEPEND="dev-python/setuptools" +RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +#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 + dodoc doc/*.txt + dohtml -r doc/* + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |