Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541296 | Differences between
and this patch

Collapse All | Expand All

(-)KochMorse-0.99.6.ebuild (-9 / +16 lines)
Lines 1-11 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2012 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/media-radio/KochMorse/KochMorse-0.99.6.ebuild,v 1.4 2011/03/11 18:39:07 arfrever Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-radio/KochMorse/KochMorse-0.99.6.ebuild,v 1.4 2011/03/11 18:39:07 arfrever Exp $
4
4
5
EAPI="3"
5
EAPI=5
6
PYTHON_DEPEND="2"
7
6
8
inherit distutils
7
PYTHON_COMPAT=( python2_7 )
8
DISTUTILS_SINGLE_IMPL=1
9
10
inherit distutils-r1
9
11
10
DESCRIPTION="Morse-tutor for Linux using the Koch-method"
12
DESCRIPTION="Morse-tutor for Linux using the Koch-method"
11
HOMEPAGE="http://KochMorse.googlecode.com/"
13
HOMEPAGE="http://KochMorse.googlecode.com/"
Lines 13-26 Link Here
13
15
14
LICENSE="GPL-2"
16
LICENSE="GPL-2"
15
SLOT="0"
17
SLOT="0"
16
KEYWORDS="amd64 x86"
18
KEYWORDS="~amd64 ~x86"
17
IUSE=""
19
IUSE=""
18
20
19
DEPEND="dev-python/pyalsaaudio
21
DEPEND="dev-python/pyalsaaudio[${PYTHON_USEDEP}]
20
	dev-python/pygtk"
22
	dev-python/pygtk[${PYTHON_USEDEP}]"
21
RDEPEND="${DEPEND}"
23
RDEPEND="${DEPEND}"
22
24
25
python_prepare_all() {
26
	sed -e 's:Categories=Application;:Categories=:' \
27
		-i kochmorse.desktop || die
28
	distutils-r1_python_prepare_all
29
}
30
23
pkg_setup() {
31
pkg_setup() {
24
	python_set_active_version 2
32
	python-single-r1_pkg_setup
25
	python_pkg_setup
26
}
33
}

Return to bug 541296