1 |
pinkbyte 13/05/29 13:16:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cropgui-0.1.1-r2.ebuild |
5 |
Log: |
6 |
Revision bump: EAPI 5, migrate to python-r1 eclass, add epatch_user |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 media-gfx/cropgui/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 28 May 2013 20:00:46 -0000 1.4 |
24 |
+++ ChangeLog 29 May 2013 13:16:15 -0000 1.5 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-gfx/cropgui |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.4 2013/05/28 20:00:46 qnikst Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.5 2013/05/29 13:16:15 pinkbyte Exp $ |
30 |
+ |
31 |
+*cropgui-0.1.1-r2 (29 May 2013) |
32 |
+ |
33 |
+ 29 May 2013; Sergey Popov <pinkbyte@g.o> +cropgui-0.1.1-r2.ebuild: |
34 |
+ Revision bump: EAPI 5, migrate to python-r1 eclass, add epatch_user |
35 |
|
36 |
*cropgui-0.1.1-r1 (28 May 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-gfx/cropgui/cropgui-0.1.1-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cropgui-0.1.1-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild,v 1.1 2013/05/29 13:16:15 pinkbyte Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
PYTHON_COMPAT=( python2_{6,7} ) |
55 |
inherit eutils python-r1 |
56 |
|
57 |
DESCRIPTION="GUI for lossless cropping of jpeg images" |
58 |
HOMEPAGE="http://emergent.unpythonic.net/01248401946" |
59 |
SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
65 |
|
66 |
DEPEND="${PYTHON_DEPS}" |
67 |
RDEPEND="${PYTHON_DEPS} |
68 |
dev-python/imaging[${PYTHON_USEDEP}] |
69 |
dev-python/pygobject:2[${PYTHON_USEDEP}] |
70 |
dev-python/pygtk:2[${PYTHON_USEDEP}] |
71 |
" |
72 |
|
73 |
S="${WORKDIR}/${PN}" |
74 |
|
75 |
src_prepare() { |
76 |
sed -i -e '/Encoding/d' \ |
77 |
-e '/Version/d' \ |
78 |
-e '/MimeType/s/$/&;/' \ |
79 |
-e '/Categories/s/Application;//' \ |
80 |
cropgui.desktop || die 'sed on cropgui.desktop failed' |
81 |
# bug 471530 |
82 |
epatch "${FILESDIR}/${P}-PIL.patch" |
83 |
|
84 |
epatch_user |
85 |
} |
86 |
|
87 |
install_cropgui_wrapper() { |
88 |
python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade |
89 |
make_wrapper "${PN}-${EPYTHON}" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
local python_moduleroot="${PN}" |
94 |
python_foreach_impl install_cropgui_wrapper |
95 |
dosym python-exec /usr/bin/"${PN}" |
96 |
|
97 |
domenu "${PN}.desktop" |
98 |
doicon "${PN}.png" |
99 |
} |