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: Mon, 17 May 2021 07:49:04
Message-Id: 1621237705.201e942992df54f0818e047b194399cd5dbd8e67.monsieurp@gentoo
1 commit: 201e942992df54f0818e047b194399cd5dbd8e67
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 17 07:48:25 2021 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon May 17 07:48:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201e9429
7
8 dev-python/brython: add 3.9.0
9
10 Closes: https://bugs.gentoo.org/790632
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-python/brython/Manifest | 1 +
14 dev-python/brython/brython-3.9.0.ebuild | 38 +++++++++++++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/brython/Manifest b/dev-python/brython/Manifest
18 index 1f41f7bbb21..a01b0910bcd 100644
19 --- a/dev-python/brython/Manifest
20 +++ b/dev-python/brython/Manifest
21 @@ -1,2 +1,3 @@
22 DIST brython-3.7.3.tar.gz 10403156 BLAKE2B a30c957925149f1b7eb736c1fcacd171dffb5846f6a343227596e759820c794c265befbb04137e797c1eabe8d9f0a3faa93fe425e4b0c13fda4c78b4c4bb1ecd SHA512 f234c7bc67d935e5bd5bfa8e473bccf90245ab4dabccd363bc5e9e01e1c9ea9d95989c5f8b323c158e286ac4a66106eb07722d1fcc82353ad036e35b4fda5669
23 DIST brython-3.7.4.tar.gz 10473351 BLAKE2B c457498d7f9b61ef416d6ec0ccbf86e3fdc7cc55f90fd8a853005285cab814d054319a5437cc24d22d6088af6f5b58da5311c6f68721d7b243fe31ef450c38a1 SHA512 70959debdd0a3e7f7e533f17aa2149802454bee23598d844156756ee6aab697b75337a26a341e6408966036f419696d0f8b073cb5383f32a9f6de65cde2fa40a
24 +DIST brython-3.9.0.tar.gz 10232037 BLAKE2B 4dc70efa14174f90cddd72ba9c07afd7be4fc81cde3f9ace7b5f015acd4cc18e9ab222aded496523f7298cb7ecb93c1d691fda818ef9fe15fabbb876143af487 SHA512 fcacc6f5e959afd2c84980eb0a650028ad018f4ebda05c53ef0a73ef5a8e1b4a28b2940c08f6b5e82bb52975b671610ad47e42de0d6d3030a6b9f5af02784c20
25
26 diff --git a/dev-python/brython/brython-3.9.0.ebuild b/dev-python/brython/brython-3.9.0.ebuild
27 new file mode 100644
28 index 00000000000..864d481de5d
29 --- /dev/null
30 +++ b/dev-python/brython/brython-3.9.0.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{8,9} )
38 +
39 +inherit webapp python-single-r1
40 +
41 +DESCRIPTION="A Python 3 implementation for client-side web programming"
42 +HOMEPAGE="http://www.brython.info"
43 +SRC_URI="https://github.com/${PN}-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
47 +
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +RDEPEND="${PYTHON_DEPS}"
51 +
52 +need_httpd_cgi
53 +
54 +pkg_setup() {
55 + webapp_pkg_setup
56 + python-single-r1_pkg_setup
57 +}
58 +
59 +src_install() {
60 + dodoc LICENCE.txt README.md
61 + rm -v LICENCE.txt README.md bower.json .{git*,tra*} server.py || die
62 +
63 + webapp_src_preinst
64 +
65 + insinto "${MY_HTDOCSDIR}"
66 + doins -r .
67 +
68 + webapp_src_install
69 +}