summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:18:40 -0500
committerAlexandre Rostovtsev <tetromino@gentoo.org>2016-02-28 23:19:39 -0500
commitae0694e574fb575a914890986ffbf0933ef19a60 (patch)
tree038a7d3750a2ebd01fe2f08094dbaff0cc67b9fe
parentgames-util/pyfa: bump to 1.19.1 for bug #569944 (diff)
downloadgentoo-ae0694e5.tar.gz
gentoo-ae0694e5.tar.bz2
gentoo-ae0694e5.zip
games-util/pyfa: eapi6-ify
Package-Manager: portage-2.2.27
-rw-r--r--games-util/pyfa/pyfa-1.19.1.ebuild11
-rw-r--r--games-util/pyfa/pyfa-9999.ebuild11
2 files changed, 14 insertions, 8 deletions
diff --git a/games-util/pyfa/pyfa-1.19.1.ebuild b/games-util/pyfa/pyfa-1.19.1.ebuild
index bf7db2e88c4d..0d2065a0b205 100644
--- a/games-util/pyfa/pyfa-1.19.1.ebuild
+++ b/games-util/pyfa/pyfa-1.19.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="6"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,threads"
@@ -39,13 +39,16 @@ src_prepare() {
edos2unix config.py pyfa.py service/settings.py
# load gameDB and images from separate staticdata directory
- epatch "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
+ eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
# do not try to save exported html to python sitedir
- epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
+ eapply "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
# fix import path in the main script for systemwide installation
- epatch "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
+ eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
+
+ eapply_user
+
touch __init__.py
pyfa_make_configforced() {
diff --git a/games-util/pyfa/pyfa-9999.ebuild b/games-util/pyfa/pyfa-9999.ebuild
index bf7db2e88c4d..0d2065a0b205 100644
--- a/games-util/pyfa/pyfa-9999.ebuild
+++ b/games-util/pyfa/pyfa-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="6"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,threads"
@@ -39,13 +39,16 @@ src_prepare() {
edos2unix config.py pyfa.py service/settings.py
# load gameDB and images from separate staticdata directory
- epatch "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
+ eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
# do not try to save exported html to python sitedir
- epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
+ eapply "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
# fix import path in the main script for systemwide installation
- epatch "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
+ eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
+
+ eapply_user
+
touch __init__.py
pyfa_make_configforced() {