commit:     cf0f6da43b1e12cdf6aa6c92c761b757f00e8832
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 23:55:18 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 23:55:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0f6da4

games-strategy/0ad: revbump to fix missing python DEPEND

Gentoo-Bug: 560542

 ...{0ad-0.0.18_alpha-r1.ebuild => 0ad-0.0.18_alpha-r2.ebuild} | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/games-strategy/0ad/0ad-0.0.18_alpha-r1.ebuild 
b/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild
similarity index 94%
rename from games-strategy/0ad/0ad-0.0.18_alpha-r1.ebuild
rename to games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild
index 06c8f8a..e9c57bd 100644
--- a/games-strategy/0ad/0ad-0.0.18_alpha-r1.ebuild
+++ b/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild
@@ -6,7 +6,10 @@ EAPI=5
 
 WX_GTK_VER="2.8"
 
-inherit eutils wxwidgets toolchain-funcs gnome2-utils games
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads,ssl"
+
+inherit eutils wxwidgets toolchain-funcs gnome2-utils python-any-r1 games
 
 MY_P=0ad-${PV/_/-}
 DESCRIPTION="A free, real-time strategy game"
@@ -41,11 +44,17 @@ RDEPEND="
        sound? ( media-libs/libvorbis
                media-libs/openal )"
 DEPEND="${RDEPEND}
+       ${PYTHON_DEPS}
        virtual/pkgconfig
        test? ( dev-lang/perl )"
 
 S=${WORKDIR}/${MY_P}
 
+pkg_setup() {
+       games_pkg_setup
+       python-any-r1_pkg_setup
+}
+
 src_prepare() {
        epatch "${FILESDIR}"/${P}-gentoo.patch
 }

Reply via email to