From: Julian Ospald Date: Tue, 15 Sep 2015 23:55:18 +0000 (+0200) Subject: games-strategy/0ad: revbump to fix missing python DEPEND X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cf0f6da43b1e12cdf6aa6c92c761b757f00e8832;p=gentoo.git games-strategy/0ad: revbump to fix missing python DEPEND Gentoo-Bug: 560542 --- 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 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 }