diff options
Diffstat (limited to 'dev-python/brython/brython-3.3.1.ebuild')
-rw-r--r-- | dev-python/brython/brython-3.3.1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/brython/brython-3.3.1.ebuild b/dev-python/brython/brython-3.3.1.ebuild new file mode 100644 index 000000000000..6f102b0f899e --- /dev/null +++ b/dev-python/brython/brython-3.3.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit webapp + +DESCRIPTION="A Python 3 implementation for client-side web programming" +HOMEPAGE="http://www.brython.info" +SRC_URI="https://github.com/${PN}-dev/${PN}/archive/${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="dev-lang/python:*" +DEPEND="${RDEPEND}" + +need_httpd_cgi + +src_install() { + dodoc LICENCE.txt README.md + rm -v LICENCE.txt README.md bower.json .{git*,tra*} server.py || die + + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_src_install +} |