summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-06-13 18:15:34 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-06-13 18:15:50 +0000
commitc63709a3998d208aae5ec3673417ee8fd1f70623 (patch)
tree06d738c95d250b79cfbc8676c053f15221ee71db /dev-python/brython
parentdev-db/percona-server: Version bump to 5.6.30.76.3 wrt bug 584882 (diff)
downloadgentoo-c63709a3998d208aae5ec3673417ee8fd1f70623.tar.gz
gentoo-c63709a3998d208aae5ec3673417ee8fd1f70623.tar.bz2
gentoo-c63709a3998d208aae5ec3673417ee8fd1f70623.zip
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
Diffstat (limited to 'dev-python/brython')
-rw-r--r--dev-python/brython/Manifest1
-rw-r--r--dev-python/brython/brython-3.2.6.ebuild33
-rw-r--r--dev-python/brython/metadata.xml12
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/brython/Manifest b/dev-python/brython/Manifest
new file mode 100644
index 000000000000..3319871d600f
--- /dev/null
+++ b/dev-python/brython/Manifest
@@ -0,0 +1 @@
+DIST brython-3.2.6.zip 9330416 SHA256 209f5ddd5165c083217c3146fbdf1dcbc26346f4e3366172c61e08d5af4a22e7 SHA512 307c914b5bbe30765187ff57c324a4ce575b28ea6b41f87e81b02309b1fae7d011603c006d9ab938af50657167de3d66b48de1a92363f76e225a0a3948d4e045 WHIRLPOOL f9a4bc892c2eb1737bb25486ec4c3dfb9615cb18191ac4e87f09316a2be4165236b4e578be374d493908a1d812417cdd7de7c9ab3aabd9eae257957af15c7099
diff --git a/dev-python/brython/brython-3.2.6.ebuild b/dev-python/brython/brython-3.2.6.ebuild
new file mode 100644
index 000000000000..feed5f4f8364
--- /dev/null
+++ b/dev-python/brython/brython-3.2.6.ebuild
@@ -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
+}
diff --git a/dev-python/brython/metadata.xml b/dev-python/brython/metadata.xml
new file mode 100644
index 000000000000..e6f8cef34362
--- /dev/null
+++ b/dev-python/brython/metadata.xml
@@ -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>