From: | "Alexander Vershilov (qnikst)" <qnikst@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/cropgui: cropgui-0.1.1-r1.ebuild ChangeLog |
Date: | Tue, 28 May 2013 20:00:55 |
Message-Id: | 20130528200047.0F3512171E@flycatcher.gentoo.org |
1 | qnikst 13/05/28 20:00:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cropgui-0.1.1-r1.ebuild |
5 | Log: |
6 | fix deprecated imports by Mikle Kolyada (#471530) |
7 | |
8 | (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!) |
9 | |
10 | Revision Changes Path |
11 | 1.4 media-gfx/cropgui/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 28 Dec 2012 16:41:41 -0000 1.3 |
24 | +++ ChangeLog 28 May 2013 20:00:46 -0000 1.4 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-gfx/cropgui |
27 | -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.3 2012/12/28 16:41:41 ago Exp $ |
29 | +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.4 2013/05/28 20:00:46 qnikst Exp $ |
31 | + |
32 | +*cropgui-0.1.1-r1 (28 May 2013) |
33 | + |
34 | + 28 May 2013; Alexander Vershilov <qnikst@g.o> +cropgui-0.1.1-r1.ebuild, |
35 | + +files/cropgui-0.1.1-PIL.patch: |
36 | + fix deprecated imports by Mikle Kolyada (#471530) |
37 | |
38 | 28 Dec 2012; Agostino Sarubbo <ago@g.o> cropgui-0.1.1.ebuild: |
39 | Stable for x86, wrt bug #449056 |
40 | |
41 | |
42 | |
43 | 1.1 media-gfx/cropgui/cropgui-0.1.1-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: cropgui-0.1.1-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r1.ebuild,v 1.1 2013/05/28 20:00:46 qnikst Exp $ |
53 | |
54 | EAPI="4" |
55 | |
56 | PYTHON_DEPEND="2" |
57 | SUPPORT_PYTHON_ABIS="1" |
58 | RESTRICT_PYTHON_ABIS="3.*" |
59 | |
60 | inherit eutils python |
61 | |
62 | DESCRIPTION="GUI for lossless cropping of jpeg images" |
63 | HOMEPAGE="http://emergent.unpythonic.net/01248401946" |
64 | SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | IUSE="" |
70 | |
71 | DEPEND="" |
72 | RDEPEND=" |
73 | dev-python/imaging |
74 | dev-python/pygobject:2 |
75 | dev-python/pygtk:2 |
76 | " |
77 | |
78 | S="${WORKDIR}/${PN}" |
79 | |
80 | src_prepare() { |
81 | epatch "${FILESDIR}"/${P}-PIL.patch |
82 | sed -i -e '/Encoding/d' \ |
83 | -e '/Version/d' \ |
84 | -e '/MimeType/s/$/&;/' \ |
85 | -e '/Categories/s/Application;//' \ |
86 | cropgui.desktop || die 'sed on cropgui.desktop failed' |
87 | } |
88 | |
89 | src_install() { |
90 | install_cropgui_wrapper() { |
91 | insinto "$(python_get_sitedir)/${PN}" |
92 | python_convert_shebangs -q ${PYTHON_ABI} *.py |
93 | doins cropgtk.py cropgui_common.py filechooser.py cropgui.glade |
94 | make_wrapper cropgui-${PYTHON_ABI} "$(PYTHON -a) $(python_get_sitedir)/${PN}/cropgtk.py" |
95 | } |
96 | python_execute_function -q install_cropgui_wrapper |
97 | python_generate_wrapper_scripts "${ED}/usr/bin/cropgui" |
98 | |
99 | domenu cropgui.desktop |
100 | doicon cropgui.png |
101 | } |