From: | "Sergey Popov (pinkbyte)" <pinkbyte@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/cropgui: metadata.xml ChangeLog cropgui-0.1.1.ebuild |
Date: | Tue, 27 Nov 2012 08:49:23 |
Message-Id: | 20121127084911.390F020C65@flycatcher.gentoo.org |
1 | pinkbyte 12/11/27 08:49:11 |
2 | |
3 | Added: metadata.xml ChangeLog cropgui-0.1.1.ebuild |
4 | Log: |
5 | Initial commit wrt bug #435294. Thanks to Jared B. and Mikle Kolyada for their work on ebuild. The latter will maintain this package through proxy maintainers |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/cropgui/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>proxy-maintainers</herd> |
21 | <maintainer> |
22 | <email>zlog.gentoo@×××××.com</email> |
23 | <name>Mikle Kolyada</name> |
24 | <description>Maintainer. Assign bugs to him</description> |
25 | </maintainer> |
26 | <maintainer> |
27 | <email>pinkbyte@g.o</email> |
28 | <name>Sergey Popov</name> |
29 | <description>Proxy maintainer. CC him on bugs</description> |
30 | </maintainer> |
31 | </pkgmetadata> |
32 | |
33 | |
34 | |
35 | 1.1 media-gfx/cropgui/ChangeLog |
36 | |
37 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.1&view=markup |
38 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/ChangeLog?rev=1.1&content-type=text/plain |
39 | |
40 | Index: ChangeLog |
41 | =================================================================== |
42 | # ChangeLog for media-gfx/cropgui |
43 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
44 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.1 2012/11/27 08:49:11 pinkbyte Exp $ |
45 | |
46 | *cropgui-0.1.1 (27 Nov 2012) |
47 | |
48 | 27 Nov 2012; Sergey Popov <pinkbyte@g.o> +cropgui-0.1.1.ebuild, |
49 | +metadata.xml: |
50 | Initial commit wrt bug #435294. Thanks to Jared B. and Mikle Kolyada for |
51 | their work on ebuild. The latter will maintain this package through proxy |
52 | maintainers |
53 | |
54 | |
55 | |
56 | |
57 | 1.1 media-gfx/cropgui/cropgui-0.1.1.ebuild |
58 | |
59 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1.ebuild?rev=1.1&view=markup |
60 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1.ebuild?rev=1.1&content-type=text/plain |
61 | |
62 | Index: cropgui-0.1.1.ebuild |
63 | =================================================================== |
64 | # Copyright 1999-2012 Gentoo Foundation |
65 | # Distributed under the terms of the GNU General Public License v2 |
66 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1.ebuild,v 1.1 2012/11/27 08:49:11 pinkbyte Exp $ |
67 | |
68 | EAPI="4" |
69 | |
70 | PYTHON_DEPEND="2" |
71 | SUPPORT_PYTHON_ABIS="1" |
72 | RESTRICT_PYTHON_ABIS="3.*" |
73 | |
74 | inherit eutils python |
75 | |
76 | DESCRIPTION="GUI for lossless cropping of jpeg images" |
77 | HOMEPAGE="http://emergent.unpythonic.net/01248401946" |
78 | SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz" |
79 | |
80 | LICENSE="GPL-2" |
81 | SLOT="0" |
82 | KEYWORDS="~amd64 ~x86" |
83 | IUSE="" |
84 | |
85 | DEPEND="" |
86 | RDEPEND=" |
87 | dev-python/imaging |
88 | dev-python/pygobject:2 |
89 | dev-python/pygtk:2 |
90 | " |
91 | |
92 | S="${WORKDIR}/${PN}" |
93 | |
94 | src_prepare() { |
95 | sed -i -e '/Encoding/d' \ |
96 | -e '/Version/d' \ |
97 | -e '/MimeType/s/$/&;/' \ |
98 | -e '/Categories/s/Application;//' \ |
99 | cropgui.desktop || die 'sed on cropgui.desktop failed' |
100 | } |
101 | |
102 | src_install() { |
103 | install_cropgui_wrapper() { |
104 | insinto "$(python_get_sitedir)/${PN}" |
105 | python_convert_shebangs -q ${PYTHON_ABI} *.py |
106 | doins cropgtk.py cropgui_common.py filechooser.py cropgui.glade |
107 | make_wrapper cropgui-${PYTHON_ABI} "$(PYTHON -a) $(python_get_sitedir)/${PN}/cropgtk.py" |
108 | } |
109 | python_execute_function -q install_cropgui_wrapper |
110 | python_generate_wrapper_scripts "${ED}/usr/bin/cropgui" |
111 | |
112 | domenu cropgui.desktop |
113 | doicon cropgui.png |
114 | } |