SUMMARY = "PyUSB provides USB access on the Python language"
HOMEPAGE = "http://pyusb.sourceforge.net/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"

DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"

RDEPENDS_${PN} += " \
	python3-logging \
"

SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc"

inherit pypi setuptools3

BBCLASSEXTEND = "native nativesdk"

SUMMARY = "PyUSB provides USB access on the Python language"
HOMEPAGE = "http://pyusb.sourceforge.net/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905"

DEPENDS += "libusb1 ${PYTHON_PN}-setuptools-scm-native"

RDEPENDS_${PN} += " \
	python3-logging \
"

SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b838cbc"

inherit pypi setuptools3

RDEPENDS_${PN} += "libusb1"

BBCLASSEXTEND = "native nativesdk"

Add missing runtime dependency on libusb1
python3-pyusb: Add missing runtime dependency on libusb1

Patch as suggested from [1]

[1] https://github.com/openembedded/meta-openembedded/issues/394
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
Signed-off-by: Trevor Gamblin <fb8c09b3db10148c84dac072f39fc5dba3573139@windriver.com>
