summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-09-30 15:29:26 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-09-30 15:29:54 +0000
commitccc46890fe7f379f74aec8336c7e611772d331b8 (patch)
treedce91e3bf6756837f5685a20910144b473968b73 /dev-python/nevow
parentdev-python/pyrsistent: Bump (diff)
downloadgentoo-ccc46890fe7f379f74aec8336c7e611772d331b8.tar.gz
gentoo-ccc46890fe7f379f74aec8336c7e611772d331b8.tar.bz2
gentoo-ccc46890fe7f379f74aec8336c7e611772d331b8.zip
dev-python/nevow: Bump
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-python/nevow')
-rw-r--r--dev-python/nevow/Manifest1
-rw-r--r--dev-python/nevow/nevow-0.14.3.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/nevow/Manifest b/dev-python/nevow/Manifest
index b0f58beca8fd..c49cb9f47e0f 100644
--- a/dev-python/nevow/Manifest
+++ b/dev-python/nevow/Manifest
@@ -1,2 +1,3 @@
DIST Nevow-0.11.1.tar.gz 563061 SHA256 89d7f6943cf81ccef8dde4016caa1cba977b9366e7aa0660b54239828b421efc SHA512 a7e52fbf6915498e77a41fb100d4c688fcd0567deb56ec946adf1b1712bcfbec7b7a55c551e414606218146772d5274973af7851a78878635e900a4df5193a53 WHIRLPOOL a82ca1334abf201ef9fcf22e579be778e819c488df8c9f774bef7f13041aa996f630408f4a8428e74b2e79df1904dbdf2f858fb79526a9417c1872da95a24963
DIST Nevow-0.14.2.tar.gz 528266 SHA256 7ef8e6147a65a17ef85ef1c017b20126cfb58bdb2ddb730e73fb15a93d205073 SHA512 6b21e4471fbbe76bf2a64975ed2a04413d059d9a50ca89247d48db9436a9a5e747aa373921310f4a53120466d8033377f85cbea3af14a50b1297d85391d6474a WHIRLPOOL 702ada72de94ad17fa2e0a0251c05c83054e44c6696bfde70bdfa6128752bc605c4fcb342503ff384aab24017cca78363d6e5dca193d8ad80563cb66c44ec6e6
+DIST Nevow-0.14.3.tar.gz 548818 SHA256 ab565b9bccecbafa36446ea8765bec2be7ee7c66a9a8644b3851a13b64432d5e SHA512 5488be9c771dc9d9b348ee705f8cb1f47400b4789ea574f5ed68c54ecb33e6cc2928d45193137921727f560256e16716adff66ca5179d2a79eb395e0d61c2f05 WHIRLPOOL 749435b881dae54cad4dac0b49d82b1955b63efbaa87efc73448ac16a0106f719e39fc3172c03173e48fd51e6a45cbb94ebf46c3012efed65c74971e306d7f9d
diff --git a/dev-python/nevow/nevow-0.14.3.ebuild b/dev-python/nevow/nevow-0.14.3.ebuild
new file mode 100644
index 000000000000..a2cf9c4418b1
--- /dev/null
+++ b/dev-python/nevow/nevow-0.14.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit twisted-r1
+
+DESCRIPTION="A web templating framework that provides LivePage, an automatic AJAX toolkit"
+HOMEPAGE="https://github.com/twisted/nevow 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 test"
+
+RDEPEND="
+ || (
+ dev-python/twisted[${PYTHON_USEDEP}]
+ (
+ dev-python/twisted-core[${PYTHON_USEDEP}]
+ dev-python/twisted-web[${PYTHON_USEDEP}]
+ )
+ )
+ dev-python/zope-interface[${PYTHON_USEDEP}]"
+# JS tests require a JavaScript interpreter ('smjs' or 'js' in PATH)
+# and the subunit library
+DEPEND="${RDEPEND}
+ test? (
+ dev-lang/spidermonkey
+ dev-python/subunit[${PYTHON_USEDEP}]
+ )"
+
+TWISTED_PLUGINS=( nevow.plugins )
+
+python_test() {
+ 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
+}