commit:     244899e9b0492eb521a4943e974e5a2e6540dbeb
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 27 18:48:19 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 18:48:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=244899e9

dev-python/brython: convert ebuild to python-single-r1.

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-python/brython/brython-3.3.2-r1.ebuild | 36 ++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/dev-python/brython/brython-3.3.2-r1.ebuild 
b/dev-python/brython/brython-3.3.2-r1.ebuild
new file mode 100644
index 00000000000..ca62031b60c
--- /dev/null
+++ b/dev-python/brython/brython-3.3.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 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}.zip -> ${P}.zip"
+
+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
+}

Reply via email to