blob: 1e9015bd90690029ead6716f93065f0fa469df23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/kajongg-4.9.3.ebuild,v 1.4 2012/11/30 15:22:41 ago Exp $
EAPI=4
if [[ ${PV} == *9999 ]]; then
eclass="kde4-base"
else
eclass="kde4-meta"
KMNAME="kdegames"
fi
KDE_HANDBOOK="optional"
PYTHON_DEPEND="2:2.6"
inherit ${eclass} python
DESCRIPTION="The classical Mah Jongg for four players"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="debug"
DEPEND="
dev-db/sqlite:3
$(add_kdebase_dep libkdegames)
$(add_kdebase_dep pykde4)
"
RDEPEND="${DEPEND}
$(add_kdebase_dep libkmahjongg)
>=dev-python/twisted-8.2.0
"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
${eclass}_pkg_setup
}
src_prepare() {
if [[ ${PV} == *9999 ]]; then
python_convert_shebangs -r 2 src
else
python_convert_shebangs -r 2 kajongg/src
fi
${eclass}_src_prepare
}
|