summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-05 13:12:39 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-05 13:12:39 +0000
commitea8e3c41003a0356815cbd42ccece44bc429a1f1 (patch)
treef3c94086e41fddf2f4cccdf8f74f36cd3e3b545b /x11-misc
parentversion bump (diff)
downloadgentoo-2-ea8e3c41003a0356815cbd42ccece44bc429a1f1.tar.gz
gentoo-2-ea8e3c41003a0356815cbd42ccece44bc429a1f1.tar.bz2
gentoo-2-ea8e3c41003a0356815cbd42ccece44bc429a1f1.zip
version bump, remove old
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/sunflower/ChangeLog8
-rw-r--r--x11-misc/sunflower/sunflower-0.1_alpha53.ebuild (renamed from x11-misc/sunflower/sunflower-0.1_alpha52.ebuild)13
2 files changed, 16 insertions, 5 deletions
diff --git a/x11-misc/sunflower/ChangeLog b/x11-misc/sunflower/ChangeLog
index b7a068c2c3ba..8a4af02b0acf 100644
--- a/x11-misc/sunflower/ChangeLog
+++ b/x11-misc/sunflower/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/sunflower
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v 1.2 2013/01/31 19:57:08 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/ChangeLog,v 1.3 2013/02/05 13:12:38 hasufell Exp $
+
+*sunflower-0.1_alpha53 (05 Feb 2013)
+
+ 05 Feb 2013; Julian Ospald <hasufell@gentoo.org>
+ -sunflower-0.1_alpha52.ebuild, +sunflower-0.1_alpha53.ebuild:
+ version bump, remove old
31 Jan 2013; Julian Ospald <hasufell@gentoo.org>
sunflower-0.1_alpha52.ebuild:
diff --git a/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild b/x11-misc/sunflower/sunflower-0.1_alpha53.ebuild
index 98b982385d58..1fe7480e5f57 100644
--- a/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild
+++ b/x11-misc/sunflower/sunflower-0.1_alpha53.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha52.ebuild,v 1.3 2013/01/31 19:57:08 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/sunflower/sunflower-0.1_alpha53.ebuild,v 1.1 2013/02/05 13:12:38 hasufell Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils fdo-mime gnome2-utils python-r1
+PLOCALES="bg cs de es hu pl ru uk_UA"
+inherit eutils fdo-mime gnome2-utils l10n python-r1
MY_PV="${PV%_alpha*}a-${PV#*_alpha}"
MY_PN="Sunflower"
@@ -27,7 +28,8 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_PN}
src_prepare() {
- find "${S}" -name "*.py[co]" -delete
+ find "${S}" -name "*.py[co]" -delete || die
+ find "${S}"/translations -name "*.po" -delete || die
sed -i \
-e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \
@@ -39,7 +41,7 @@ src_install() {
installme() {
# install modules
python_moduleinto ${PN}
- python_domodule images translations application ${MY_PN}.py \
+ python_domodule images application ${MY_PN}.py \
AUTHORS CHANGES COPYING DEPENDS TODO __init__.py
# generate and install startup scripts
@@ -52,6 +54,9 @@ src_install() {
# install for all enabled implementations
python_foreach_impl installme
+ installlocale() { insinto /usr/share/locale ; doins -r "${S}"/translations/${1} ;}
+ l10n_for_each_locale_do installlocale
+
newicon -s 64 images/${PN}_64.png ${PN}.png
doicon -s scalable images/${PN}.svg
newmenu ${MY_PN}.desktop ${PN}.desktop