commit:     c63709a3998d208aae5ec3673417ee8fd1f70623
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 18:15:34 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 18:15:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63709a3

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

 dev-python/brython/Manifest             |  1 +
 dev-python/brython/brython-3.2.6.ebuild | 33 +++++++++++++++++++++++++++++++++
 dev-python/brython/metadata.xml         | 12 ++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-python/brython/Manifest b/dev-python/brython/Manifest
new file mode 100644
index 0000000..3319871
--- /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 0000000..feed5f4
--- /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 0000000..e6f8cef
--- /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>[email protected]</email>
+    <name>Gentoo Python Project</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Patrice Clement</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to