Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/taskcoach: ChangeLog taskcoach-1.1.4-r1.ebuild
Date: Sun, 10 Oct 2010 23:03:24
Message-Id: 20101010221732.1DE2A20051@flycatcher.gentoo.org
1 caster 10/10/10 22:17:32
2
3 Modified: ChangeLog
4 Added: taskcoach-1.1.4-r1.ebuild
5 Log:
6 Backport fix for upstream bug 3081666 from upstream svn.
7
8 (Portage version: 2.2_rc91/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.60 app-office/taskcoach/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/taskcoach/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/taskcoach/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/taskcoach/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/taskcoach/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 1 Oct 2010 07:09:06 -0000 1.59
24 +++ ChangeLog 10 Oct 2010 22:17:32 -0000 1.60
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/taskcoach
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/ChangeLog,v 1.59 2010/10/01 07:09:06 caster Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/ChangeLog,v 1.60 2010/10/10 22:17:32 caster Exp $
30 +
31 +*taskcoach-1.1.4-r1 (10 Oct 2010)
32 +
33 + 10 Oct 2010; Vlastimil Babka <caster@g.o> +files/3081666.patch,
34 + +taskcoach-1.1.4-r1.ebuild:
35 + Backport fix for upstream bug 3081666 from upstream svn.
36
37 *taskcoach-1.1.4 (01 Oct 2010)
38
39
40
41
42 1.1 app-office/taskcoach/taskcoach-1.1.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/taskcoach/taskcoach-1.1.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/taskcoach/taskcoach-1.1.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: taskcoach-1.1.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.1.4-r1.ebuild,v 1.1 2010/10/10 22:17:32 caster Exp $
52
53 EAPI=3
54
55 PYTHON_DEPEND="2"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="2.4 3.*"
58 PYTHON_MODNAME="buildlib taskcoachlib"
59
60 inherit distutils eutils
61
62 MY_PN="TaskCoach"
63 MY_P="${MY_PN}-${PV}"
64
65 DESCRIPTION="Simple personal tasks and todo lists manager"
66 HOMEPAGE="http://www.taskcoach.org"
67 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
68 LICENSE="GPL-3"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="libnotify"
72 DEPEND=">=dev-python/wxpython-2.8.9.2:2.8"
73 RDEPEND="${DEPEND}
74 libnotify? ( dev-python/notify-python )"
75
76 S="${WORKDIR}/${MY_P}"
77
78 DOCS="CHANGES.txt"
79
80 src_unpack() {
81 default
82
83 einfo "Removing Funambol support, works only on x86 and python 2.5."
84 rm -fv "${S}"/taskcoachlib/bin.in/linux/*.so || die
85 }
86
87 src_prepare() {
88 distutils_src_prepare
89
90 epatch "${FILESDIR}/3081666.patch"
91 }
92
93 src_install() {
94 distutils_src_install
95
96 # a bit ugly but...
97 mv "${D}/usr/bin/taskcoach.py" "${D}/usr/bin/taskcoach" || die
98 for file in "${D}"/usr/bin/taskcoach.py-*; do
99 dir=$(dirname ${file})
100 ver=$(basename ${file})
101 ver=${ver#taskcoach.py-}
102 mv "${file}" "${dir}/taskcoach-${ver}" || die
103 done
104
105 doicon "icons.in/${PN}.png" || die
106 make_desktop_entry ${PN} "Task Coach" ${PN} Office || die
107 }