games-emulation/m64py: Add py3.7
authorDavid Seifert <soap@gentoo.org>
Sun, 16 Jun 2019 17:58:26 +0000 (19:58 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 16 Jun 2019 17:59:03 +0000 (19:59 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert <soap@gentoo.org>
games-emulation/m64py/m64py-0.2.4.ebuild

index bd849bbab87af694d2badf923d1045ca9dcba1e4..3a2bbf16337904c687aa591cf5060aa54fb43880 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6,7} )
 
 inherit distutils-r1 xdg-utils
 
@@ -37,9 +37,9 @@ RDEPEND="
 
 python_prepare_all() {
        # set the correct search path
-       cat >> src/m64py/platform.py <<-_EOF_
+       cat >> src/m64py/platform.py <<-_EOF_ || die
                SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
-_EOF_
+       _EOF_
 
        distutils-r1_python_prepare_all
 }