1 |
commit: 9dc5fb30b49834dfdb1f331b38a9d6436644cb01 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 23 22:09:54 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 23 22:09:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc5fb30 |
7 |
|
8 |
net-wireless/bluez: Fixup test-programs changes |
9 |
|
10 |
Package-Manager: portage-2.2.23_p7 |
11 |
|
12 |
net-wireless/bluez/bluez-5.35-r1.ebuild | 14 ++++++-------- |
13 |
1 file changed, 6 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/net-wireless/bluez/bluez-5.35-r1.ebuild b/net-wireless/bluez/bluez-5.35-r1.ebuild |
16 |
index d4f7733..e016dec 100644 |
17 |
--- a/net-wireless/bluez/bluez-5.35-r1.ebuild |
18 |
+++ b/net-wireless/bluez/bluez-5.35-r1.ebuild |
19 |
@@ -5,7 +5,7 @@ |
20 |
EAPI=5 |
21 |
PYTHON_COMPAT="python2_7" |
22 |
|
23 |
-inherit autotools eutils multilib python-single-r1 python-utils-r1 readme.gentoo systemd udev user multilib-minimal |
24 |
+inherit autotools eutils multilib python-single-r1 readme.gentoo systemd udev user multilib-minimal |
25 |
|
26 |
DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
27 |
HOMEPAGE="http://www.bluez.org" |
28 |
@@ -58,8 +58,10 @@ DOC_CONTENTS=" |
29 |
|
30 |
pkg_setup() { |
31 |
enewgroup plugdev |
32 |
- use test && python-single-r1_pkg_setup |
33 |
- use test-programs && python-single-r1_pkg_setup |
34 |
+ |
35 |
+ if use test || use test-programs; then |
36 |
+ python-single-r1_pkg_setup |
37 |
+ fi |
38 |
|
39 |
if ! use udev; then |
40 |
ewarn |
41 |
@@ -126,7 +128,6 @@ multilib_src_configure() { |
42 |
--enable-pie \ |
43 |
--enable-threads \ |
44 |
--enable-library \ |
45 |
- $(multilib_native_use_enable test) \ |
46 |
--enable-tools \ |
47 |
--enable-manpages \ |
48 |
--enable-monitor \ |
49 |
@@ -134,7 +135,7 @@ multilib_src_configure() { |
50 |
$(multilib_native_use_enable obex) \ |
51 |
$(multilib_native_use_enable readline client) \ |
52 |
$(multilib_native_use_enable systemd) \ |
53 |
- $(multilib_native_use_enable test-programs test) |
54 |
+ $(multilib_native_use_enable test-programs test) \ |
55 |
$(systemd_with_unitdir) \ |
56 |
$(multilib_native_use_enable udev) \ |
57 |
$(multilib_native_use_enable udev sixaxis) |
58 |
@@ -165,9 +166,6 @@ multilib_src_install() { |
59 |
dobin tools/hex2hcd |
60 |
|
61 |
# Unittests are not that useful once installed, so make them optional |
62 |
- if use test && ! use test-programs; then |
63 |
- rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die |
64 |
- fi |
65 |
if use test-programs; then |
66 |
python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test |
67 |
for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do |