/[gentoo-x86]/app-office/taskcoach/taskcoach-1.3.18.ebuild
Gentoo

Contents of /app-office/taskcoach/taskcoach-1.3.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Sep 4 14:06:07 2012 UTC (2 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #433926

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.3.18.ebuild,v 1.2 2012/09/04 14:05:12 ago Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
10 PYTHON_MODNAME="buildlib taskcoachlib"
11
12 inherit distutils eutils
13
14 MY_PN="TaskCoach"
15 MY_P="${MY_PN}-${PV}"
16
17 DESCRIPTION="Simple personal tasks and todo lists manager"
18 HOMEPAGE="http://www.taskcoach.org http://pypi.python.org/pypi/TaskCoach"
19 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
20 LICENSE="GPL-3"
21 SLOT="0"
22 KEYWORDS="amd64 x86"
23 IUSE="libnotify"
24 DEPEND=">=dev-python/wxpython-2.8.9.2:2.8"
25 RDEPEND="${DEPEND}
26 libnotify? ( dev-python/notify-python )"
27
28 S="${WORKDIR}/${MY_P}"
29
30 DOCS="CHANGES.txt"
31
32 src_install() {
33 distutils_src_install
34
35 # a bit ugly but...
36 mv "${D}/usr/bin/taskcoach.py" "${D}/usr/bin/taskcoach" || die
37 for file in "${D}"/usr/bin/taskcoach.py-*; do
38 dir=$(dirname ${file})
39 ver=$(basename ${file})
40 ver=${ver#taskcoach.py-}
41 mv "${file}" "${dir}/taskcoach-${ver}" || die
42 done
43
44 doicon "icons.in/${PN}.png" || die
45 make_desktop_entry ${PN} "Task Coach" ${PN} Office || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20