commit:     e4e5a0e92cd78ec92b5cbba2b32cb2a0c793551b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 08:52:30 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 08:54:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e5a0e9

app-misc/golly: revet "drop optional python2 scripting support"

Restore python-2 support until we add python-3.

This reverts commit b5cdd754b8c4c528a258db72069f0dd0eea0f7c7.

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-misc/golly/golly-3.3-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-misc/golly/golly-3.3-r1.ebuild 
b/app-misc/golly/golly-3.3-r1.ebuild
index 27ee1bae14e..26742c324c9 100644
--- a/app-misc/golly/golly-3.3-r1.ebuild
+++ b/app-misc/golly/golly-3.3-r1.ebuild
@@ -4,8 +4,9 @@
 EAPI=7
 
 WX_GTK_VER=3.0
+PYTHON_COMPAT=( python2_7 )
 
-inherit desktop eutils flag-o-matic wxwidgets xdg-utils
+inherit desktop eutils flag-o-matic python-single-r1 wxwidgets xdg-utils
 
 DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
 HOMEPAGE="http://golly.sourceforge.net/";
@@ -15,11 +16,13 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="tiff"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="virtual/opengl
        sys-libs/zlib
        x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,tiff?]"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+       ${PYTHON_DEPS}"
 
 S=${WORKDIR}/${P}-src
 

Reply via email to