Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: app-portage/gentwoo/
Date: Mon, 21 Dec 2015 10:24:04
Message-Id: 1450693431.7e3a3eb8d0fd6f2dfee1680b45fb53b4492a3282.jlec@gentoo
1 commit: 7e3a3eb8d0fd6f2dfee1680b45fb53b4492a3282
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 21 10:23:51 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 21 10:23:51 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=7e3a3eb8
7
8 app-portage/gentwoo: Bump to new python eclasses
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 app-portage/gentwoo/gentwoo-0.0.20120705.ebuild | 25 +++++++++++--------------
14 1 file changed, 11 insertions(+), 14 deletions(-)
15
16 diff --git a/app-portage/gentwoo/gentwoo-0.0.20120705.ebuild b/app-portage/gentwoo/gentwoo-0.0.20120705.ebuild
17 index 77c5eb4..32e3b12 100644
18 --- a/app-portage/gentwoo/gentwoo-0.0.20120705.ebuild
19 +++ b/app-portage/gentwoo/gentwoo-0.0.20120705.ebuild
20 @@ -1,13 +1,12 @@
21 -# Copyright 1999-2012 Gentoo Foundation
22 +# Copyright 1999-2015 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 -EAPI=4
27 -PYTHON_NEEDED="2"
28 -SUPPORT_PYTHON_ABIS="1"
29 -RESTRICT_PYTHON_ABIS="3.*"
30 +EAPI=5
31
32 -inherit python
33 +PYTHON_COMPAT=( python2_7 )
34 +
35 +inherit python-r1
36
37 DESCRIPTION="Client program for Social Compiling site GenTwoo"
38 HOMEPAGE="http://gentwoo.elisp.net"
39 @@ -18,16 +17,14 @@ SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 IUSE=""
42
43 -DEPEND=""
44 -RDEPEND="dev-python/simplejson"
45 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
46 +
47 +DEPEND="${PYTHON_DEPS}"
48 +RDEPEND="${DEPEND}
49 + dev-python/simplejson[${PYTHON_USEDEP}]"
50
51 src_install() {
52 - gentwoo_install() {
53 - python_convert_shebangs -- ${PYTHON_ABI} gentwoo.py
54 - newbin gentwoo.py gentwoo-${PYTHON_ABI}
55 - }
56 - python_execute_function gentwoo_install
57 - python_generate_wrapper_scripts "${ED}"usr/bin/gentwoo
58 + python_foreach_impl python_newscript gentwoo.py gentwoo
59
60 insinto /etc
61 doins gentwoo.conf