All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Siegumfeldt <mns@gomspace.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [meta-oe, thud][PATCH 3/6] libiio: allow python3 bindings to be built
Date: Tue, 5 Nov 2019 13:00:28 +0100	[thread overview]
Message-ID: <20191105120031.6579-4-mns@gomspace.com> (raw)
In-Reply-To: <20191105120031.6579-1-mns@gomspace.com>

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index 5d422520b..4282355f8 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https"
 
 S = "${WORKDIR}/git"
 
-inherit cmake pythonnative systemd
+inherit cmake python3native systemd
 
 DEPENDS = " \
     flex-native bison-native libaio \
@@ -29,16 +29,16 @@ PACKAGECONFIG ??= "USB_BACKEND NETWORK_BACKEND"
 PACKAGECONFIG[USB_BACKEND] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
 PACKAGECONFIG[NETWORK_BACKEND] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
 
-PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python"
+PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-${PYTHON_PN}"
 
-RDEPENDS_${PN}-python = "${PN} python-ctypes python-stringold"
+RDEPENDS_${PN}-${PYTHON_PN} = "${PN} ${PYTHON_PN}-ctypes ${PYTHON_PN}-stringold"
 
 FILES_${PN}-iiod = " \
     ${sbindir}/iiod \
     ${systemd_system_unitdir}/iiod.service \
 "
 FILES_${PN}-tests = "${bindir}"
-FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
+FILES_${PN}-${PYTHON_PN} = "${PYTHON_SITEPACKAGES_DIR}"
 
 SYSTEMD_PACKAGES = "${PN}-iiod"
 SYSTEMD_SERVICE_${PN}-iiod = "iiod.service"
-- 
2.17.1



  parent reply	other threads:[~2019-11-05 12:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 12:00 [meta-oe,thud][PATCH 0/6] libiio: backports from master Martin Siegumfeldt
2019-11-05 12:00 ` [meta-oe,thud][PATCH 1/6] Bump libiio version to 0.15 Martin Siegumfeldt
2019-11-05 12:00 ` [meta-oe, thud][PATCH 2/6] Revert "libiio: fix build of python bindins" Martin Siegumfeldt
2019-11-05 12:00 ` Martin Siegumfeldt [this message]
2019-11-05 12:00 ` [meta-oe,thud][PATCH 4/6] libiio: bump to version 0.18+ Martin Siegumfeldt
2019-11-05 13:19 ` [meta-oe,thud][PATCH 0/6] libiio: backports from master Martin Siegumfeldt
2019-11-05 13:55 ` Adrian Bunk
2019-11-05 13:57   ` Adrian Bunk
2019-11-06  9:14     ` Martin Siegumfeldt
2019-11-06 18:23       ` Adrian Bunk
2019-11-07  8:52         ` Martin Siegumfeldt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191105120031.6579-4-mns@gomspace.com \
    --to=mns@gomspace.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.