Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/apbs/
Date: Sun, 14 Oct 2018 20:45:59
Message-Id: 1539549944.b9a0956be6cfedb4fe5cb4d4f94b1675db4dff3e.asturm@gentoo
1 commit: b9a0956be6cfedb4fe5cb4d4f94b1675db4dff3e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 20:42:25 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 20:45:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a0956b
7
8 sci-chemistry/apbs: Several missing || die
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sci-chemistry/apbs/apbs-1.4.1-r2.ebuild | 14 +++++++++-----
14 1 file changed, 9 insertions(+), 5 deletions(-)
15
16 diff --git a/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild b/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild
17 index aecbcd3ce74..2f20af9fb69 100644
18 --- a/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild
19 +++ b/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=5
26 @@ -63,7 +63,8 @@ src_prepare() {
27 use doc && MAKEOPTS+=" -j1"
28 if use python; then
29 unset PATCHES || die
30 - cd tools/python && distutils-r1_src_prepare
31 + cd tools/python || die
32 + distutils-r1_src_prepare
33 fi
34 }
35
36 @@ -92,7 +93,8 @@ src_configure() {
37 )
38 cmake-utils_src_configure
39 if use python; then
40 - cd tools/python && distutils-r1_src_configure
41 + cd tools/python || die
42 + distutils-r1_src_configure
43 fi
44 }
45
46 @@ -100,7 +102,8 @@ src_compile(){
47 cmake-utils_src_compile
48 if use python; then
49 append-ldflags -L"${S}"/lib
50 - cd tools/python && distutils-r1_src_compile
51 + cd tools/python || die
52 + distutils-r1_src_compile
53 fi
54 }
55
56 @@ -121,7 +124,8 @@ src_install() {
57 fi
58 done
59 if use python; then
60 - cd tools/python && distutils-r1_src_install
61 + cd tools/python || die
62 + distutils-r1_src_install
63 rm -rf "${ED}"/usr/share/apbs/tools/python || die
64 fi
65 }