diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-06-12 11:31:17 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-06-12 16:20:43 +0200 |
commit | 94ac6883e4c129ffb67cb2271cd195af6a0a156f (patch) | |
tree | 1fd6b911b4d7fe8d7bc7b3aa303cb6f489cb5d86 /dev-python/nevow/nevow-0.14.0.ebuild | |
parent | 08f3e1d0b9a7636282b6058e1b0dc5ec64b39a5f (diff) | |
download | gentoo-94ac6883e4c129ffb67cb2271cd195af6a0a156f.tar.gz gentoo-94ac6883e4c129ffb67cb2271cd195af6a0a156f.tar.xz |
dev-python/nevow: Bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-python/nevow/nevow-0.14.0.ebuild')
-rw-r--r-- | dev-python/nevow/nevow-0.14.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/nevow/nevow-0.14.0.ebuild b/dev-python/nevow/nevow-0.14.0.ebuild new file mode 100644 index 00000000000..efd59134de3 --- /dev/null +++ b/dev-python/nevow/nevow-0.14.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 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 +} |