Gentoo Archives: gentoo-commits

From: Bernhard Mallinger <b.mallinger@×××.at>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/unknown-horizons/
Date: Fri, 01 Jul 2011 23:59:31
Message-Id: 7f35823e53ee00fd4e8730658c791dfe03698ab1.totycro@gentoo
1 commit: 7f35823e53ee00fd4e8730658c791dfe03698ab1
2 Author: totycro <totycro <AT> unknown-horizons <DOT> org>
3 AuthorDate: Fri Jul 1 23:59:15 2011 +0000
4 Commit: Bernhard Mallinger <b.mallinger <AT> gmx <DOT> at>
5 CommitDate: Fri Jul 1 23:59:15 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=7f35823e
7
8 Added unknown-horizons 2011.2 ebuild
9
10 ---
11 .../unknown-horizons-2011.2.ebuild | 38 ++++++++++++++++++++
12 1 files changed, 38 insertions(+), 0 deletions(-)
13
14 diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild
15 new file mode 100644
16 index 0000000..3bb60a3
17 --- /dev/null
18 +++ b/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild
19 @@ -0,0 +1,38 @@
20 +# Copyright 1999-2011 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI="3"
25 +
26 +PYTHON_DEPEND="2:2.7"
27 +PYTHON_USE_WITH="sqlite"
28 +
29 +inherit distutils games
30 +DESCRIPTION="Anno-like real time strategy game"
31 +HOMEPAGE="http://www.unknown-horizons.org/"
32 +
33 +SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz"
34 +
35 +LICENSE="GPL-2"
36 +KEYWORDS="~amd64 ~x86"
37 +SLOT="0"
38 +IUSE=""
39 +
40 +DEPEND="dev-python/pyyaml
41 + =games-engines/fife-0.3.2.2
42 + dev-python/python-distutils-extra"
43 +
44 +RDEPEND="$DEPEND"
45 +
46 +S="${WORKDIR}"/${PN}
47 +
48 +src_compile() {
49 + distutils_src_compile build_i18n
50 +}
51 +
52 +src_install() {
53 + # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy
54 + # violation
55 + distutils_src_install
56 + prepgamesdirs
57 +}