Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/brython/
Date: Wed, 27 Sep 2017 18:48:45
Message-Id: 1506538117.244899e9b0492eb521a4943e974e5a2e6540dbeb.monsieurp@gentoo
1 commit: 244899e9b0492eb521a4943e974e5a2e6540dbeb
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 27 18:48:19 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 27 18:48:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=244899e9
7
8 dev-python/brython: convert ebuild to python-single-r1.
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.1
11
12 dev-python/brython/brython-3.3.2-r1.ebuild | 36 ++++++++++++++++++++++++++++++
13 1 file changed, 36 insertions(+)
14
15 diff --git a/dev-python/brython/brython-3.3.2-r1.ebuild b/dev-python/brython/brython-3.3.2-r1.ebuild
16 new file mode 100644
17 index 00000000000..ca62031b60c
18 --- /dev/null
19 +++ b/dev-python/brython/brython-3.3.2-r1.ebuild
20 @@ -0,0 +1,36 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
27 +
28 +inherit webapp python-single-r1
29 +
30 +DESCRIPTION="A Python 3 implementation for client-side web programming"
31 +HOMEPAGE="http://www.brython.info"
32 +SRC_URI="https://github.com/${PN}-dev/${PN}/archive/${PV}.zip -> ${P}.zip"
33 +
34 +LICENSE="BSD"
35 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
36 +
37 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
38 +
39 +need_httpd_cgi
40 +
41 +pkg_setup() {
42 + webapp_pkg_setup
43 + python-single-r1_pkg_setup
44 +}
45 +
46 +src_install() {
47 + dodoc LICENCE.txt README.md
48 + rm -v LICENCE.txt README.md bower.json .{git*,tra*} server.py || die
49 +
50 + webapp_src_preinst
51 +
52 + insinto "${MY_HTDOCSDIR}"
53 + doins -r .
54 +
55 + webapp_src_install
56 +}