dev-python/nevow: Bump
authorPatrick Lauer <patrick@gentoo.org>
Sun, 3 Jan 2016 16:51:50 +0000 (17:51 +0100)
committerPatrick Lauer <patrick@gentoo.org>
Sun, 3 Jan 2016 19:54:25 +0000 (20:54 +0100)
Package-Manager: portage-2.2.26

dev-python/nevow/Manifest
dev-python/nevow/nevow-0.12.0.ebuild [new file with mode: 0644]

index a0c9b74d85d0f7c2e44f99e6724953e2c77405a3..7273644e9e8e69d7da4d30270c554753da5b9da7 100644 (file)
@@ -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 (file)
index 0000000..3ab5daf
--- /dev/null
@@ -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
+}