From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-975296-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD5B9139083 for <garchives@archives.gentoo.org>; Wed, 27 Sep 2017 18:48:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EAE0E0DA7; Wed, 27 Sep 2017 18:48:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EBE5E0DA7 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Sep 2017 18:48:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEC4D3416E1 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Sep 2017 18:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D52D9092 for <gentoo-commits@lists.gentoo.org>; Wed, 27 Sep 2017 18:48:42 +0000 (UTC) From: "Patrice Clement" <monsieurp@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" <monsieurp@gentoo.org> Message-ID: <1506538117.244899e9b0492eb521a4943e974e5a2e6540dbeb.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/brython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/brython/brython-3.3.2-r1.ebuild X-VCS-Directories: dev-python/brython/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 244899e9b0492eb521a4943e974e5a2e6540dbeb X-VCS-Branch: master Date: Wed, 27 Sep 2017 18:48:42 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9912deaf-2d73-469b-b665-145171a8c6f1 X-Archives-Hash: 22a388932fc7e9fa4c55f37d99358c12 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 +}