diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-02 12:25:44 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:26 +0100 |
| commit | 48bd64078071888a0a7ed6339f1fc5ff94139089 (patch) | |
| tree | f246cc361a73e206e3022d7881e995acb8fe1b05 /meta | |
| parent | 4de7a81307ace2be72b6da525ce4d9870d71f138 (diff) | |
| download | poky-48bd64078071888a0a7ed6339f1fc5ff94139089.tar.gz | |
neard: do not package python test scripts
They require python-dbus and python-gobject
(which are only provided for Python 3), and have not
been ported to Python 3.
(From OE-Core rev: 6334de28bfd5252343deef326e4edca785254b85)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-connectivity/neard/neard_0.15.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-connectivity/neard/neard_0.15.bb b/meta/recipes-connectivity/neard/neard_0.15.bb index 93bddb34ce..065cbec931 100644 --- a/meta/recipes-connectivity/neard/neard_0.15.bb +++ b/meta/recipes-connectivity/neard/neard_0.15.bb | |||
| @@ -33,18 +33,9 @@ do_install_append() { | |||
| 33 | > ${D}${sysconfdir}/init.d/neard | 33 | > ${D}${sysconfdir}/init.d/neard |
| 34 | chmod 0755 ${D}${sysconfdir}/init.d/neard | 34 | chmod 0755 ${D}${sysconfdir}/init.d/neard |
| 35 | fi | 35 | fi |
| 36 | |||
| 37 | # Install the tests for neard-tests | ||
| 38 | install -d ${D}${libdir}/neard | ||
| 39 | install -m 0755 ${S}/test/* ${D}${libdir}/${BPN}/ | ||
| 40 | install -m 0755 ${B}/tools/nfctool/nfctool ${D}${libdir}/${BPN}/ | ||
| 41 | } | 36 | } |
| 42 | 37 | ||
| 43 | PACKAGES =+ "${PN}-tests" | 38 | RDEPENDS_${PN} = "dbus" |
| 44 | |||
| 45 | FILES_${PN}-tests = "${libdir}/${BPN}/*-test" | ||
| 46 | |||
| 47 | RDEPENDS_${PN} = "dbus python python-dbus python-pygobject" | ||
| 48 | 39 | ||
| 49 | # Bluez & Wifi are not mandatory except for handover | 40 | # Bluez & Wifi are not mandatory except for handover |
| 50 | RRECOMMENDS_${PN} = "\ | 41 | RRECOMMENDS_${PN} = "\ |
| @@ -52,8 +43,6 @@ RRECOMMENDS_${PN} = "\ | |||
| 52 | ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \ | 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \ |
| 53 | " | 44 | " |
| 54 | 45 | ||
| 55 | RDEPENDS_${PN}-tests = "python python-dbus python-pygobject" | ||
| 56 | |||
| 57 | INITSCRIPT_NAME = "neard" | 46 | INITSCRIPT_NAME = "neard" |
| 58 | INITSCRIPT_PARAMS = "defaults 64" | 47 | INITSCRIPT_PARAMS = "defaults 64" |
| 59 | 48 | ||
