Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/pyfa/
Date: Mon, 29 Feb 2016 04:20:38
Message-Id: 1456719579.ae0694e574fb575a914890986ffbf0933ef19a60.tetromino@gentoo
1 commit: ae0694e574fb575a914890986ffbf0933ef19a60
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 29 04:18:40 2016 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 29 04:19:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae0694e5
7
8 games-util/pyfa: eapi6-ify
9
10 Package-Manager: portage-2.2.27
11
12 games-util/pyfa/pyfa-1.19.1.ebuild | 11 +++++++----
13 games-util/pyfa/pyfa-9999.ebuild | 11 +++++++----
14 2 files changed, 14 insertions(+), 8 deletions(-)
15
16 diff --git a/games-util/pyfa/pyfa-1.19.1.ebuild b/games-util/pyfa/pyfa-1.19.1.ebuild
17 index bf7db2e..0d2065a 100644
18 --- a/games-util/pyfa/pyfa-1.19.1.ebuild
19 +++ b/games-util/pyfa/pyfa-1.19.1.ebuild
20 @@ -2,7 +2,7 @@
21 # Distributed under the terms of the GNU General Public License v2
22 # $Id$
23
24 -EAPI="5"
25 +EAPI="6"
26 PYTHON_COMPAT=( python2_7 )
27 PYTHON_REQ_USE="sqlite,threads"
28
29 @@ -39,13 +39,16 @@ src_prepare() {
30 edos2unix config.py pyfa.py service/settings.py
31
32 # load gameDB and images from separate staticdata directory
33 - epatch "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
34 + eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
35
36 # do not try to save exported html to python sitedir
37 - epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
38 + eapply "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
39
40 # fix import path in the main script for systemwide installation
41 - epatch "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
42 + eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
43 +
44 + eapply_user
45 +
46 touch __init__.py
47
48 pyfa_make_configforced() {
49
50 diff --git a/games-util/pyfa/pyfa-9999.ebuild b/games-util/pyfa/pyfa-9999.ebuild
51 index bf7db2e..0d2065a 100644
52 --- a/games-util/pyfa/pyfa-9999.ebuild
53 +++ b/games-util/pyfa/pyfa-9999.ebuild
54 @@ -2,7 +2,7 @@
55 # Distributed under the terms of the GNU General Public License v2
56 # $Id$
57
58 -EAPI="5"
59 +EAPI="6"
60 PYTHON_COMPAT=( python2_7 )
61 PYTHON_REQ_USE="sqlite,threads"
62
63 @@ -39,13 +39,16 @@ src_prepare() {
64 edos2unix config.py pyfa.py service/settings.py
65
66 # load gameDB and images from separate staticdata directory
67 - epatch "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
68 + eapply "${FILESDIR}/${PN}-1.15.1-staticdata.patch"
69
70 # do not try to save exported html to python sitedir
71 - epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
72 + eapply "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
73
74 # fix import path in the main script for systemwide installation
75 - epatch "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
76 + eapply "${FILESDIR}/${PN}-1.15.1-import-pyfa.patch"
77 +
78 + eapply_user
79 +
80 touch __init__.py
81
82 pyfa_make_configforced() {