summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-09-16 01:55:18 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-09-16 01:55:46 +0200
commitcf0f6da43b1e12cdf6aa6c92c761b757f00e8832 (patch)
treed4236470cb1eee6705ce5404fe297f0008f2656c /games-strategy
parentapp-misc/screen: Patch sources to mitigate a stack overflow. Fixes security b... (diff)
downloadgentoo-cf0f6da43b1e12cdf6aa6c92c761b757f00e8832.tar.gz
gentoo-cf0f6da43b1e12cdf6aa6c92c761b757f00e8832.tar.bz2
gentoo-cf0f6da43b1e12cdf6aa6c92c761b757f00e8832.zip
games-strategy/0ad: revbump to fix missing python DEPEND
Gentoo-Bug: 560542
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild (renamed from games-strategy/0ad/0ad-0.0.18_alpha-r1.ebuild)11
1 files changed, 10 insertions, 1 deletions
diff --git a/games-strategy/0ad/0ad-0.0.18_alpha-r1.ebuild b/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild
index 06c8f8a4fd82..e9c57bd4d164 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
}