diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2008-04-03 21:46:38 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2008-04-03 21:46:38 +0000 |
commit | ad439577fdc0778440bb52581563b8e3bb7fd719 (patch) | |
tree | 4d1e4bf24f8df6b43ef11829081275d133f6487f /dev-python | |
parent | Version bump to KDE 4.0.3. This is still not intended for mainstream so DO NO... (diff) | |
download | gentoo-2-ad439577fdc0778440bb52581563b8e3bb7fd719.tar.gz gentoo-2-ad439577fdc0778440bb52581563b8e3bb7fd719.tar.bz2 gentoo-2-ad439577fdc0778440bb52581563b8e3bb7fd719.zip |
added 0.9.31
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/nevow/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/nevow/nevow-0.9.31.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-python/nevow/ChangeLog b/dev-python/nevow/ChangeLog index 9597717dcd9f..d1e6d415e59f 100644 --- a/dev-python/nevow/ChangeLog +++ b/dev-python/nevow/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/nevow # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/ChangeLog,v 1.21 2008/03/12 18:05:59 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/ChangeLog,v 1.22 2008/04/03 21:46:38 lordvan Exp $ + +*nevow-0.9.31 (03 Apr 2008) + + 03 Apr 2008; Thomas Raschbacher <lordvan@gentoo.org> +nevow-0.9.31.ebuild: + added 0.9.31 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Marien Zwart (marienz, #107204) from metadata.xml. diff --git a/dev-python/nevow/nevow-0.9.31.ebuild b/dev-python/nevow/nevow-0.9.31.ebuild new file mode 100644 index 000000000000..3b5752934f31 --- /dev/null +++ b/dev-python/nevow/nevow-0.9.31.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nevow/nevow-0.9.31.ebuild,v 1.1 2008/04/03 21:46:38 lordvan Exp $ + +NEED_PYTHON="2.4" + +inherit distutils multilib + +MY_P="Nevow-${PV}" + +DESCRIPTION="A web templating framework that provides LivePage, an automatic AJAX toolkit." +HOMEPAGE="http://divmod.org/trac/wiki/DivmodNevow" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-python/twisted-2.4 + dev-python/twisted-web" +DEPEND="${RDEPEND} + doc? ( dev-python/docutils )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="nevow formless" + +src_compile() { + distutils_src_compile + if use doc; then + cd doc + "${python}" make.py || die "documentation building failed" + fi +} + +src_install() { + distutils_src_install + # mantisia expects js to be under site-packages/ + # but setup.py doesn't install it + python_version + insinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN} + doins ${PN}/*.js || die "doins failed" + doins -r ${PN}/js || die "doins failed" + if use doc; then + insinto /usr/share/doc/${PF}/ + doins -r doc/txt doc/html examples + fi +} + +src_test() { + PYTHONPATH="." trial nevow || die "nevow trial failed" + PYTHONPATH="." trial formless || die "formless trial failed" +} |