summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-27 09:52:30 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-27 09:54:03 +0100
commite4e5a0e92cd78ec92b5cbba2b32cb2a0c793551b (patch)
tree413db3125bcf5fb79a5af400b91f4128a1383e09 /app-misc
parentdev-perl/Config-IniFiles: Bump to version 3.0.3 (diff)
downloadgentoo-e4e5a0e92cd78ec92b5cbba2b32cb2a0c793551b.tar.gz
gentoo-e4e5a0e92cd78ec92b5cbba2b32cb2a0c793551b.tar.bz2
gentoo-e4e5a0e92cd78ec92b5cbba2b32cb2a0c793551b.zip
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@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/golly/golly-3.3-r1.ebuild7
1 files 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 27ee1bae14e8..26742c324c99 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