summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-01-03 17:51:50 +0100
committerPatrick Lauer <patrick@gentoo.org>2016-01-03 20:54:25 +0100
commitb90284456d4ea577d98f7e44730923763dd624a9 (patch)
tree265762791ff1678991b5f768fb337012fa338750 /dev-python/nevow
parentgnome-extra/gnome-packagekit: clean up old revision (diff)
downloadgentoo-b90284456d4ea577d98f7e44730923763dd624a9.tar.gz
gentoo-b90284456d4ea577d98f7e44730923763dd624a9.tar.bz2
gentoo-b90284456d4ea577d98f7e44730923763dd624a9.zip
dev-python/nevow: Bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/nevow')
-rw-r--r--dev-python/nevow/Manifest1
-rw-r--r--dev-python/nevow/nevow-0.12.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/nevow/Manifest b/dev-python/nevow/Manifest
index a0c9b74d85d0..7273644e9e8e 100644
--- a/dev-python/nevow/Manifest
+++ b/dev-python/nevow/Manifest
@@ -1 +1,2 @@
DIST Nevow-0.11.1.tar.gz 563061 SHA256 89d7f6943cf81ccef8dde4016caa1cba977b9366e7aa0660b54239828b421efc SHA512 a7e52fbf6915498e77a41fb100d4c688fcd0567deb56ec946adf1b1712bcfbec7b7a55c551e414606218146772d5274973af7851a78878635e900a4df5193a53 WHIRLPOOL a82ca1334abf201ef9fcf22e579be778e819c488df8c9f774bef7f13041aa996f630408f4a8428e74b2e79df1904dbdf2f858fb79526a9417c1872da95a24963
+DIST Nevow-0.12.0.tar.gz 564213 SHA256 ba044912c8ae532680f70ee3b538a5aef7a4e78c6e5ab247121de0b01b6fc369 SHA512 6dbd46b41e8381e71d2ee766d069c4a49bb307c37539ff31a0d83d4f9ca3bcb05fd74f32df45d052d5c9c9628fa3bddaaa41d03fa7a50db4f4dc0b8e20cf5287 WHIRLPOOL 34f75eb35c20e1fcc05b2b345e5b2b205d3ff004a030a3719bd81b99ed8e0e7ce26a902cccd950d72a9954e412c6c7ee97d0a5b9311131efbed09928d33b65c9
diff --git a/dev-python/nevow/nevow-0.12.0.ebuild b/dev-python/nevow/nevow-0.12.0.ebuild
new file mode 100644
index 000000000000..3ab5dafb4539
--- /dev/null
+++ b/dev-python/nevow/nevow-0.12.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit twisted-r1
+
+DESCRIPTION="A web templating framework that provides LivePage, an automatic AJAX toolkit"
+HOMEPAGE="http://divmod.org/trac/wiki/DivmodNevow https://pypi.python.org/pypi/Nevow"
+SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+IUSE="doc"
+
+DEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]
+ dev-python/twisted-web[${PYTHON_USEDEP}]
+ dev-python/zope-interface[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+TWISTED_PLUGINS=( nevow.plugins )
+
+FAILING_TESTS=(
+ nevow/test/test_url.py
+ nevow/test/test_loaders.py
+ nevow/test/test_appserver.py
+ formless/test/test_freeform.py
+)
+
+python_test() {
+ # See bug 355237
+ rm -v ${FAILING_TESTS[@]} || die "can't remove failing tests"
+ trial formless nevow || die "tests failed with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ touch "${D}$(python_get_sitedir)"/nevow/plugins/dropin.cache || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ # TODO: prevent installing it
+ rm -r "${D}"/usr/doc || die
+}