diff options
author | 2018-06-11 19:34:40 +0200 | |
---|---|---|
committer | 2018-06-12 10:46:49 +0200 | |
commit | 6b879c610467c0ab51ec6551f331ab3b1af2fb3d (patch) | |
tree | 595404e2ba1491a1fa1be3e2331a6f8461f2972d /dev-python/brython/brython-3.6.0.ebuild | |
parent | app-vim/vimbuddy: stable for all arches using the ALLARCHES policy. (diff) | |
download | gentoo-6b879c610467c0ab51ec6551f331ab3b1af2fb3d.tar.gz gentoo-6b879c610467c0ab51ec6551f331ab3b1af2fb3d.tar.bz2 gentoo-6b879c610467c0ab51ec6551f331ab3b1af2fb3d.zip |
dev-python/brython: version bump.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/brython/brython-3.6.0.ebuild')
-rw-r--r-- | dev-python/brython/brython-3.6.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/brython/brython-3.6.0.ebuild b/dev-python/brython/brython-3.6.0.ebuild new file mode 100644 index 000000000000..50f67db89823 --- /dev/null +++ b/dev-python/brython/brython-3.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit webapp python-single-r1 + +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}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +need_httpd_cgi + +pkg_setup() { + webapp_pkg_setup + python-single-r1_pkg_setup +} + +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 +} |