dev-python/brython: Add Brython to the tree.

Brython is a JavaScript library but also a Python 3 implementation for
client-side web programming. It allows developers to write Python code in and
for the browser instead of JavaScript code.

Package-Manager: portage-2.2.28
This commit is contained in:
Patrice Clement
2016-06-13 18:15:34 +00:00
parent 2eccb5d67c
commit c63709a399
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST brython-3.2.6.zip 9330416 SHA256 209f5ddd5165c083217c3146fbdf1dcbc26346f4e3366172c61e08d5af4a22e7 SHA512 307c914b5bbe30765187ff57c324a4ce575b28ea6b41f87e81b02309b1fae7d011603c006d9ab938af50657167de3d66b48de1a92363f76e225a0a3948d4e045 WHIRLPOOL f9a4bc892c2eb1737bb25486ec4c3dfb9615cb18191ac4e87f09316a2be4165236b4e578be374d493908a1d812417cdd7de7c9ab3aabd9eae257957af15c7099

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2016 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"
IUSE=""
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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Gentoo Python Project</name>
</maintainer>
<maintainer type="person">
<email>monsieurp@gentoo.org</email>
<name>Patrice Clement</name>
</maintainer>
</pkgmetadata>