Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/gtg: ChangeLog gtg-0.3.1.ebuild
Date: Sat, 01 Nov 2014 10:44:48
Message-Id: 20141101104445.25052933D@oystercatcher.gentoo.org
1 eva 14/11/01 10:44:45
2
3 Modified: ChangeLog
4 Added: gtg-0.3.1.ebuild
5 Log:
6 Version bump, bug #501562. Fix homepage.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.15 app-office/gtg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/gtg/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 4 Feb 2013 23:16:31 -0000 1.14
24 +++ ChangeLog 1 Nov 2014 10:44:45 -0000 1.15
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/gtg
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/gtg/ChangeLog,v 1.14 2013/02/04 23:16:31 eva Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-office/gtg/ChangeLog,v 1.15 2014/11/01 10:44:45 eva Exp $
31 +
32 +*gtg-0.3.1 (01 Nov 2014)
33 +
34 + 01 Nov 2014; Gilles Dartiguelongue <eva@g.o> +gtg-0.3.1.ebuild,
35 + +files/gtg-0.3.1-desktop.patch, +files/gtg-0.3.1-locales.patch:
36 + Version bump, bug #501562. Fix homepage.
37
38 *gtg-0.3 (04 Feb 2013)
39
40
41
42
43 1.1 app-office/gtg/gtg-0.3.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/gtg-0.3.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtg/gtg-0.3.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gtg-0.3.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-office/gtg/gtg-0.3.1.ebuild,v 1.1 2014/11/01 10:44:45 eva Exp $
53
54 EAPI="5"
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit eutils fdo-mime gnome2-utils distutils-r1 versionator
58
59 MY_PV="$(get_version_component_range 1-2)"
60 DESCRIPTION="Personal organizer for the GNOME desktop environment"
61 HOMEPAGE="http://gtgnome.net/"
62 SRC_URI="http://launchpad.net/${PN}/${MY_PV}/${PV}/+download/${P}.tar.gz"
63
64 LICENSE="GPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="
70 dev-python/configobj[${PYTHON_USEDEP}]
71 dev-python/dbus-python[${PYTHON_USEDEP}]
72 dev-python/liblarch[${PYTHON_USEDEP}]
73 dev-python/notify-python[${PYTHON_USEDEP}]
74 dev-python/pycairo[${PYTHON_USEDEP}]
75 dev-python/pygobject:2[${PYTHON_USEDEP}]
76 dev-python/pygtk[${PYTHON_USEDEP}]
77 dev-python/python-dateutil[${PYTHON_USEDEP}]
78 dev-python/pyxdg[${PYTHON_USEDEP}]
79 dev-python/simplejson[${PYTHON_USEDEP}]
80 "
81 DEPEND="${RDEPEND}"
82
83 python_prepare_all() {
84 # Plugins are voluntarily left automagic as application has a nice way
85 # to suggest missing dependencies. We only remove the ones that cannot
86 # work on gentoo.
87 # Backends should be enabled via USE flag when pulling extra deps
88
89 # geoloc: uses removed from tree bindings
90 sed -e "/GTG.plugins.geolocalized_tasks',/d" \
91 -e "/geolocalized-tasks.gtg-plugin/d" \
92 -i setup.py || die
93
94 # launchpad: missing dependency
95 # evolution: missing python-r1 support
96 rm GTG/backends/backend_launchpad.py \
97 GTG/backends/backend_evolution.py \
98 || die
99
100 # Respect LINGUAS
101 epatch "${FILESDIR}"/${PN}-0.3.1-locales.patch
102
103 # Fix validation warning
104 epatch "${FILESDIR}"/${PN}-0.3.1-desktop.patch
105
106 distutils-r1_python_prepare_all
107 }
108
109 pkg_preinst() {
110 gnome2_icon_savelist
111 }
112
113 pkg_postinst() {
114 fdo-mime_desktop_database_update
115 fdo-mime_mime_database_update
116 gnome2_icon_cache_update
117 }
118
119 pkg_postrm() {
120 fdo-mime_desktop_database_update
121 fdo-mime_mime_database_update
122 gnome2_icon_cache_update
123 }