Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/gato/
Date: Sat, 24 Sep 2016 13:31:13
Message-Id: 1474723843.d6be56539c61af1415bb8e4aad0742f6bd4da620.soap@gentoo
1 commit: d6be56539c61af1415bb8e4aad0742f6bd4da620
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Sat Sep 24 07:57:50 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 13:30:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6be5653
7
8 sci-misc/gato: Version bump to 1.2.2 + EAPI bump 4 -> 6
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2397
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-misc/gato/Manifest | 1 +
16 sci-misc/gato/gato-1.2.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
17 2 files changed, 39 insertions(+)
18
19 diff --git a/sci-misc/gato/Manifest b/sci-misc/gato/Manifest
20 index 430af62..1d23d2c 100644
21 --- a/sci-misc/gato/Manifest
22 +++ b/sci-misc/gato/Manifest
23 @@ -1 +1,2 @@
24 DIST Gato-1.1.2.tar.gz 272060 SHA256 eb700c73cc411be70713d34a936da62fca9c0173f875dba636e726e47dbfcadd SHA512 a0567bc3ddb6060b713f3453f6a89d978da580c97ab28f094b90e82cfc584ba1cd459add0c5f2d32e746fc074ac78b2f3394d752a7bbdf14c8ccdd90b25e5008 WHIRLPOOL 024df3365c169a93cf2850ed571ad04a5e732f0bd3e535bd401881236acf8538aa673ba5dbc6bfa8b40dddab5737de1b863ea2d2029807631114be59c526c550
25 +DIST Gato-1.2.2.tar.gz 274369 SHA256 d353b8af72ad780f0301912f101ea528822d616bea717c7ca84eaeb0609fa42f SHA512 a628827b989f28817bcd427903d09f6571b3c2e571b57242d7c41562e558a00b278e87699565d16bf2584a0c8d33c07bf0a3c5113c9feeff417546a0a712c0c9 WHIRLPOOL 5eb369c6195ecff405e851a8e777a2b9469333031bc849ea03ad957d1370a99940e1887a6b4940a3fbf07968f8c4bed07e93e3c4ac835d72bb33000e9631b76a
26
27 diff --git a/sci-misc/gato/gato-1.2.2.ebuild b/sci-misc/gato/gato-1.2.2.ebuild
28 new file mode 100644
29 index 00000000..2216d36
30 --- /dev/null
31 +++ b/sci-misc/gato/gato-1.2.2.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python2_7 )
40 +PYTHON_REQ_USE="tk(+)"
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Graph Animation Toolbox"
45 +HOMEPAGE="http://gato.sourceforge.net/"
46 +SRC_URI="mirror://sourceforge/${PN}/${P^}.tar.gz"
47 +
48 +LICENSE="LGPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
51 +IUSE=""
52 +
53 +S="${WORKDIR}/${P^}"
54 +
55 +python_prepare_all() {
56 + # change TKinter call to avoid crashing of X
57 + sed -i \
58 + -e 's:self.overrideredirect(1):self.overrideredirect(0):' \
59 + "${S}"/GatoDialogs.py || die "failed to patch GatoDialogs.py"
60 +
61 + distutils-r1_python_prepare_all
62 +}
63 +
64 +python_install_all() {
65 + distutils-r1_python_install_all
66 +
67 + # install data files
68 + insinto /usr/share/${PN}
69 + doins BFS.* DFS.* sample.cat
70 +}