From c1e2bf39b83af2bec0338f4a492dcd9d11e2a22e Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Wed, 27 Sep 2017 20:46:13 +0200 Subject: [PATCH] dev-python/brython: version bump. convert ebuild to python-single-r1. Package-Manager: Portage-2.3.8, Repoman-2.3.1 --- dev-python/brython/Manifest | 1 + dev-python/brython/brython-3.3.3.ebuild | 36 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-python/brython/brython-3.3.3.ebuild diff --git a/dev-python/brython/Manifest b/dev-python/brython/Manifest index 6c55feb8a57e..cab04d5cc769 100644 --- a/dev-python/brython/Manifest +++ b/dev-python/brython/Manifest @@ -1,3 +1,4 @@ DIST brython-3.3.0.zip 9405649 SHA256 4b63b4758bbf08e865fcda647e064265ddc12a6d0cdb76489a614c73c28a8d02 SHA512 03b0dfcdd1be4a415423317d74fc0c941cdac5682a17a19ccf81d9b19058fda342d21397870a1a8e74a445155f7f736977278d21c38fb22251c8ed4a4489b194 WHIRLPOOL 5356a58b155b1783c9bc30c2e9d015660824002101fe6ab9fb183833b370a3aea71cc40ae4c67908f828e202a81968dfb9c4a77e825638f3f02439d56ed1a329 DIST brython-3.3.1.zip 9420425 SHA256 f485004d20de86877b9008d0942b308ad2f52565bafc2a2c6968ec43dd336a72 SHA512 070573db3ef7cd571df32798564496f2036c375abb396785f2ad7fef321b028baa6f554642a6cb76a25e892b569d4c8ea6e4bc2251f8171b7721669d158470ec WHIRLPOOL a959cae1de4a6bbb4bc973861a14f3d4b976012a1f9853955163203ee9c1cc09178a7190a9289673c5c93fb5ad6adc994f776c1a56888586756ce1c2e51dc3fa DIST brython-3.3.2.zip 10140819 SHA256 396326912d311d56ec6e2ba413f059e8f2242cd6ebb43154031f427df917a98c SHA512 bfe93b238805de90a4421a3a0c210ed5bc863cf4609949252813d61b96bd1b52aa927eeac621932bec68ac8b23be793adee53327be387bae6a95db7ea89b5155 WHIRLPOOL b25c136e30a943e188987a556d600006e7b54adf4243109d1ca27747e2b16f6201b504ea35f5f4ddc22ad32d66ad4ab02e0ccef306439b8a6ef7f5b7149dc826 +DIST brython-3.3.3.zip 10040987 SHA256 b48f236a55a220520ca98b5c1caf705d8eff1742e622c8440d7bc23632ca6984 SHA512 e182a6c859cd18b90b205f751260b0b5c8d250746e48844c59cd61608dfdaf0fd6f0f25b8061de9505b7c5d094ac68fe57536c52cb31adb48f04c2cc5624e249 WHIRLPOOL b604b4a0bba610fc84ca059696ed37fe8b6735a806c7616fb1f41a378271ab16e76f4f063a51568ec774af2ff694551ea4f67970a77230551223aaa1071c4be8 diff --git a/dev-python/brython/brython-3.3.3.ebuild b/dev-python/brython/brython-3.3.3.ebuild new file mode 100644 index 000000000000..ca62031b60cc --- /dev/null +++ b/dev-python/brython/brython-3.3.3.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 +} -- 2.26.2