Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/holdingnuts/
Date: Mon, 16 Oct 2017 00:08:53
Message-Id: 1508112452.268cdc056ddcc77cca94428f348db2cd0ca90c95.soap@gentoo
1 commit: 268cdc056ddcc77cca94428f348db2cd0ca90c95
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 23:47:10 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 16 00:07:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268cdc05
7
8 games-board/holdingnuts: [QA] Add cmake-utils_src_prepare
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild | 10 ++++++++--
13 games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild | 4 ++--
14 2 files changed, 10 insertions(+), 4 deletions(-)
15
16 diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
17 index 457e8f4aa2c..43adabfbe09 100644
18 --- a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
19 +++ b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=5
26 @@ -23,9 +23,15 @@ RDEPEND="
27 DEPEND="${RDEPEND}
28 >=dev-util/cmake-2.6.3"
29
30 +PATCHES=(
31 + # upstream patch (bug #307901)
32 + "${FILESDIR}"/${P}-wheel.patch
33 +)
34 +
35 src_prepare() {
36 + cmake-utils_src_prepare
37 +
38 sed -i -e '/^Path/d' holdingnuts.desktop || die
39 - epatch "${FILESDIR}"/${P}-wheel.patch # upstream patch (bug #307901)
40 }
41
42 src_configure() {
43
44 diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
45 index 08d29871cc4..daad81defad 100644
46 --- a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
47 +++ b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
48 @@ -1,4 +1,4 @@
49 -# Copyright 1999-2016 Gentoo Foundation
50 +# Copyright 1999-2017 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=6
54 @@ -28,7 +28,7 @@ PATCHES=(
55 )
56
57 src_prepare() {
58 - default
59 + cmake-utils_src_prepare
60
61 sed -i -e '/^Path/d' holdingnuts.desktop || die
62 }