summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-04-22 20:23:50 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-04-22 20:23:50 +0000
commit9b187aca78bdcf4e957519fdcd2b780d84606108 (patch)
tree4cf706e3ef8737a5607e7f27d6ce88814b131287
parentFixes for Python ABIs (diff)
downloadgentoo-2-9b187aca78bdcf4e957519fdcd2b780d84606108.tar.gz
gentoo-2-9b187aca78bdcf4e957519fdcd2b780d84606108.tar.bz2
gentoo-2-9b187aca78bdcf4e957519fdcd2b780d84606108.zip
Version bump dev-python/genshi to 0.6.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r--dev-python/genshi/ChangeLog7
-rw-r--r--dev-python/genshi/genshi-0.6.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-python/genshi/ChangeLog b/dev-python/genshi/ChangeLog
index 540569f6288e..2fdcf5cc4737 100644
--- a/dev-python/genshi/ChangeLog
+++ b/dev-python/genshi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/genshi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/ChangeLog,v 1.21 2010/02/08 08:49:44 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/ChangeLog,v 1.22 2010/04/22 20:23:50 djc Exp $
+
+*genshi-0.6 (22 Apr 2010)
+
+ 22 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> +genshi-0.6.ebuild:
+ Version bump to 0.6.
08 Feb 2010; Peter Volkov <pva@gentoo.org> genshi-0.5.1.ebuild:
Add inherit eutils for epatch.
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
+}