Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488416
Collapse All | Expand All

(-)/usr/portage/app-office/taskcoach/taskcoach-1.3.40.ebuild (-14 / +9 lines)
Lines 1-12 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2014 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.3.40.ebuild,v 1.1 2014/05/30 22:24:35 caster Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_COMPAT=( python{2_6,2_7} )
7
PYTHON_COMPAT=( python2_7 )
8
8
9
inherit distutils-r1 eutils versionator
9
inherit distutils-r1 eutils
10
10
11
MY_PN="TaskCoach"
11
MY_PN="TaskCoach"
12
MY_P="${MY_PN}-${PV}"
12
MY_P="${MY_PN}-${PV}"
Lines 14-25 Link Here
14
DESCRIPTION="Simple personal tasks and todo lists manager"
14
DESCRIPTION="Simple personal tasks and todo lists manager"
15
HOMEPAGE="http://www.taskcoach.org http://pypi.python.org/pypi/TaskCoach"
15
HOMEPAGE="http://www.taskcoach.org http://pypi.python.org/pypi/TaskCoach"
16
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
16
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
17
RESTRICT="mirror"
17
LICENSE="GPL-3"
18
LICENSE="GPL-3"
18
SLOT="0"
19
SLOT="0"
19
KEYWORDS="~amd64 ~x86"
20
KEYWORDS="~amd64 ~x86"
20
IUSE="libnotify"
21
IUSE="libnotify"
21
DEPEND=">=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}]
22
DEPEND="
22
	>=dev-python/twisted-core-10.0"
23
	>=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}]
24
	dev-python/twisted-core"
23
RDEPEND="${DEPEND}
25
RDEPEND="${DEPEND}
24
	libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )"
26
	libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )"
25
27
Lines 29-43 Link Here
29
31
30
python_install_all() {
32
python_install_all() {
31
	distutils-r1_python_install_all
33
	distutils-r1_python_install_all
32
33
	doicon "icons.in/${PN}.png"
34
	doicon "icons.in/${PN}.png"
34
	make_desktop_entry ${PN}.py "Task Coach" ${PN} Office
35
	dosym "${PN}.py" "/usr/bin/${PN}"
36
	make_desktop_entry ${PN} "Task Coach" ${PN} Office
35
}
37
}
36
38
37
pkg_postinst() {
38
	if [[ -n ${REPLACING_VERSIONS} ]]; then
39
		if ! version_is_at_least 1.3.40 ${REPLACING_VERSIONS}; then
40
			elog "Since version 1.3.40, the Task Coach executable is called ${PN}.py"
41
		fi
42
	fi
43
}

Return to bug 488416