]> Pileus Git - ~andy/sunrise/commitdiff
dev-python/Chameleon: New ebuild for bug #361629
authorJan Matejka (yac) <yac@blesmrt.net>
Mon, 11 Apr 2011 20:18:53 +0000 (20:18 +0000)
committerJan Matejka (yac) <yac@blesmrt.net>
Mon, 11 Apr 2011 20:18:53 +0000 (20:18 +0000)
svn path=/sunrise/; revision=11885

dev-python/Chameleon/Chameleon-2.0_rc8.ebuild [new file with mode: 0644]
dev-python/Chameleon/ChangeLog [new file with mode: 0644]
dev-python/Chameleon/Manifest [new file with mode: 0644]
dev-python/Chameleon/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/Chameleon/Chameleon-2.0_rc8.ebuild b/dev-python/Chameleon/Chameleon-2.0_rc8.ebuild
new file mode 100644 (file)
index 0000000..639a958
--- /dev/null
@@ -0,0 +1,55 @@
+# 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"
+
+inherit distutils python
+
+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="test? ( net-zope/zope-pagetemplate
+               net-zope/zope-component
+               net-zope/zope-i18n
+               net-zope/zope-testing )"
+
+
+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_test() {
+       testing() {
+               PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py "test"
+       }
+       python_execute_function testing
+}
+
+src_install() {
+       distutils_src_install
+
+       if use doc ; then
+               dohtml -r _build/html/* || die "dohtml failed"
+       fi
+}
diff --git a/dev-python/Chameleon/ChangeLog b/dev-python/Chameleon/ChangeLog
new file mode 100644 (file)
index 0000000..a5e2521
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for dev-python/Chameleon
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  11 Apr 2011; Jan Matejka (yac) <yac@blesmrt.net>
+  +Chameleon-2.0_rc8.ebuild, +metadata.xml:
+  New ebuild for bug #361629
+
diff --git a/dev-python/Chameleon/Manifest b/dev-python/Chameleon/Manifest
new file mode 100644 (file)
index 0000000..3fc5957
--- /dev/null
@@ -0,0 +1,4 @@
+DIST Chameleon-2.0-rc8.tar.gz 104364 RMD160 d664a4690e72087d6cbc307f9d0a20d28f326f0d SHA1 d7a3c10e67c0e410b8774570f7ee3007d435a875 SHA256 fcfcc2bdf623e03ab28e7d707299025874746b57d2d482f326197766d88cbc13
+EBUILD Chameleon-2.0_rc8.ebuild 992 RMD160 5c0419b114e25a453c8a36d0a409053162cad84a SHA1 f5961d69841bcc6d6d69cfbc77345377841f2b07 SHA256 f19e6cd7457914f13ce89fc22813fdcd65d6149f81fa312984cebf0b7dcbb961
+MISC ChangeLog 246 RMD160 84abaafff310b2e7cb504493ce0899dfcd94c955 SHA1 6002ffe9151f821631ec4e9867d294576ae9f85e SHA256 befb5a0999e176d67d9dc105fbb7fc812d31b07054814cf4f2ce53a4a4023eee
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-python/Chameleon/metadata.xml b/dev-python/Chameleon/metadata.xml
new file mode 100644 (file)
index 0000000..e6233b5
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>