Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-osmosdr/
Date: Sat, 19 Dec 2015 14:05:00
Message-Id: 1450533821.86421caa7739259ece1e817e40edb33f98df6e77.chithanh@gentoo
1 commit: 86421caa7739259ece1e817e40edb33f98df6e77
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 19 14:03:41 2015 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 19 14:03:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86421caa
7
8 net-wireless/gr-osmosdr: fix building with USE="-python"
9
10 python_fix_shebang now dies when the directory doesn't exist
11
12 Package-Manager: portage-2.2.24
13
14 net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild | 4 +++-
15 net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild | 6 ++++--
16 2 files changed, 7 insertions(+), 3 deletions(-)
17
18 diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild
19 index dd7b006..cb99ab8 100644
20 --- a/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild
21 +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.1.4_p20150730.ebuild
22 @@ -66,5 +66,7 @@ src_configure() {
23
24 src_install() {
25 cmake-utils_src_install
26 - python_fix_shebang "${ED}"/usr/bin
27 + if use python; then
28 + python_fix_shebang "${ED}"/usr/bin
29 + fi
30 }
31
32 diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
33 index fb14eb8..346b5cc 100644
34 --- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
35 +++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 1999-2014 Gentoo Foundation
38 +# Copyright 1999-2015 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Id$
41
42 @@ -66,5 +66,7 @@ src_configure() {
43
44 src_install() {
45 cmake-utils_src_install
46 - python_fix_shebang "${ED}"/usr/bin
47 + if use python; then
48 + python_fix_shebang "${ED}"/usr/bin
49 + fi
50 }