You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/brython/brython-3.7.4.ebuild

39 lines
761 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
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}"
RDEPEND="${PYTHON_DEPS}"
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
}