Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/urbanterror-data/
Date: Sun, 18 Apr 2021 06:31:47
Message-Id: 1618727492.6c81c51ba01fffd9a8190d60c1749eb98cf09a89.sam@gentoo
1 commit: 6c81c51ba01fffd9a8190d60c1749eb98cf09a89
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 06:25:04 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 06:31:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c81c51b
7
8 games-fps/urbanterror-data: port to EAPI 7, fix MissingLicenseRestricts
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../urbanterror-data/urbanterror-data-4.3.4.ebuild | 18 ++++++++----------
13 1 file changed, 8 insertions(+), 10 deletions(-)
14
15 diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
16 index a3c4a290fb5..cb042123491 100644
17 --- a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
18 +++ b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild
19 @@ -1,21 +1,23 @@
20 -# Copyright 1999-2019 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="6"
25 +EAPI=7
26 +
27 +CHECKREQS_DISK_BUILD="3300M"
28 +CHECKREQS_DISK_USR="1400M"
29
30 inherit check-reqs
31
32 ENGINE_PV=${PV}
33 -
34 MY_PN=UrbanTerror
35 MY_PV=43_full
36
37 DESCRIPTION="Data files for UrbanTerror"
38 HOMEPAGE="https://www.urbanterror.info"
39 -
40 # load the base image and save it as .0 file
41 # use 43_full-2.zip as upstream fixed something back then
42 SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}_2.zip -> ${PN}-4.3.0.zip"
43 +S="${WORKDIR}/${MY_PN}43"
44
45 # fetch updates recursively for |4.3.x-4.3.0|
46 if [[ "${PV}" != "4.3.0" ]]; then
47 @@ -30,13 +32,9 @@ unset MY_CTR
48 LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps"
49 SLOT="0"
50 KEYWORDS="~amd64 ~x86"
51 -RESTRICT="bindist"
52 -DEPEND="app-arch/unzip"
53 -
54 -S="${WORKDIR}/${MY_PN}43"
55 +RESTRICT="bindist mirror"
56
57 -CHECKREQS_DISK_BUILD="3300M"
58 -CHECKREQS_DISK_USR="1400M"
59 +BDEPEND="app-arch/unzip"
60
61 src_prepare() {
62 default