summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Matejka (yac) <yac@blesmrt.net>2011-05-23 19:05:46 +0000
committerJan Matejka (yac) <yac@blesmrt.net>2011-05-23 19:05:46 +0000
commitde94066e3a12783a2278fd4d118b24af832d0313 (patch)
tree410f0671abef5fdb078691fe63c20e0d555ae7ca /dev-python/Chameleon/Chameleon-1.2.3.ebuild
parentdev-python/repoze-tm2: New ebuild for bug 368043 (diff)
downloadsunrise-de94066e3a12783a2278fd4d118b24af832d0313.tar.gz
sunrise-de94066e3a12783a2278fd4d118b24af832d0313.tar.bz2
sunrise-de94066e3a12783a2278fd4d118b24af832d0313.zip
dev-python/Chameleon: Adding ebuild for older version because of depency of deform-0.9
svn path=/sunrise/; revision=12080
Diffstat (limited to 'dev-python/Chameleon/Chameleon-1.2.3.ebuild')
-rw-r--r--dev-python/Chameleon/Chameleon-1.2.3.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/Chameleon/Chameleon-1.2.3.ebuild b/dev-python/Chameleon/Chameleon-1.2.3.ebuild
new file mode 100644
index 000000000..3fe036d93
--- /dev/null
+++ b/dev-python/Chameleon/Chameleon-1.2.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="2:2.7 3"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Fast XML template compiler for Python"
+HOMEPAGE="http://chameleon.repoze.org"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="repoze"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+DEPEND="doc? ( dev-python/sphinx )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT_PYTHON_ABIS="2.[456]"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc ; then
+ emake html || die "make html failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc ; then
+ dohtml -r _build/html/* || die "dohtml failed"
+ fi
+}