1 |
hasufell 13/03/30 00:13:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sunflower-0.1_alpha54.ebuild |
5 |
Log: |
6 |
version bump, improve LINGUAS handling |
7 |
|
8 |
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 x11-misc/sunflower/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/sunflower/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/sunflower/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/sunflower/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 17 Mar 2013 16:14:00 -0000 1.4 |
24 |
+++ ChangeLog 30 Mar 2013 00:13:14 -0000 1.5 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-misc/sunflower |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v 1.4 2013/03/17 16:14:00 hwoarang Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v 1.5 2013/03/30 00:13:14 hasufell Exp $ |
30 |
+ |
31 |
+*sunflower-0.1_alpha54 (30 Mar 2013) |
32 |
+ |
33 |
+ 30 Mar 2013; Julian Ospald <hasufell@g.o> |
34 |
+ +sunflower-0.1_alpha54.ebuild: |
35 |
+ version bump, improve LINGUAS handling |
36 |
|
37 |
17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
38 |
Add proxy-maintainers to metadata.xml |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-misc/sunflower/sunflower-0.1_alpha54.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha54.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha54.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: sunflower-0.1_alpha54.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha54.ebuild,v 1.1 2013/03/30 00:13:14 hasufell Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
inherit eutils fdo-mime gnome2-utils python-r1 |
57 |
|
58 |
MY_PV="${PV%_alpha*}a-${PV#*_alpha}" |
59 |
MY_PN="Sunflower" |
60 |
DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support" |
61 |
HOMEPAGE="http://code.google.com/p/sunflower-fm" |
62 |
SRC_URI="http://sunflower-fm.googlecode.com/files/${MY_PN}-${MY_PV}.tgz" |
63 |
|
64 |
LICENSE="GPL-3" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="${PYTHON_DEPS}" |
70 |
RDEPEND="${DEPEND} |
71 |
>=dev-python/pygtk-2.15.0 |
72 |
>=dev-python/notify-python-0.1 |
73 |
virtual/python-argparse[${PYTHON_USEDEP}]" |
74 |
|
75 |
S=${WORKDIR}/${MY_PN} |
76 |
|
77 |
src_prepare() { |
78 |
find "${S}" -name "*.py[co]" -delete || die |
79 |
find "${S}"/translations -name "*.po" -delete || die |
80 |
rm "${S}"/translations/${PN}.pot || die |
81 |
|
82 |
sed -i \ |
83 |
-e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \ |
84 |
${MY_PN}.py || die |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
touch __init__.py || die |
89 |
installme() { |
90 |
# install modules |
91 |
python_moduleinto ${PN} |
92 |
python_domodule images application ${MY_PN}.py \ |
93 |
AUTHORS CHANGES COPYING DEPENDS TODO __init__.py |
94 |
|
95 |
# generate and install startup scripts |
96 |
sed \ |
97 |
-e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ |
98 |
"${FILESDIR}"/${PN} > "${T}"/${PN} || die |
99 |
python_doscript "${T}"/${PN} |
100 |
} |
101 |
|
102 |
# install for all enabled implementations |
103 |
python_foreach_impl installme |
104 |
|
105 |
insinto /usr/share/locale |
106 |
# correct gettext behavior |
107 |
if [[ -n "${LINGUAS+x}" ]] ; then |
108 |
for i in $(cd "${S}"/translations ; echo *) ; do |
109 |
if has ${i} ${LINGUAS} ; then |
110 |
doins -r "${S}"/translations/${i} |
111 |
fi |
112 |
done |
113 |
else |
114 |
doins -r "${S}"/translations/* |
115 |
fi |
116 |
|
117 |
newicon -s 64 images/${PN}_64.png ${PN}.png |
118 |
doicon -s scalable images/${PN}.svg |
119 |
newmenu ${MY_PN}.desktop ${PN}.desktop |
120 |
} |
121 |
|
122 |
pkg_preinst() { |
123 |
gnome2_icon_savelist |
124 |
} |
125 |
|
126 |
pkg_postinst() { |
127 |
fdo-mime_desktop_database_update |
128 |
gnome2_icon_cache_update |
129 |
|
130 |
# TODO: better description |
131 |
elog "optional dependencies:" |
132 |
elog " dev-python/libgnome-python" |
133 |
elog " media-libs/mutagen" |
134 |
elog " x11-libs/vte:0[python] (terminal support)" |
135 |
} |
136 |
|
137 |
pkg_postrm() { |
138 |
fdo-mime_desktop_database_update |
139 |
gnome2_icon_cache_update |
140 |
} |