Skip to contentSkip to conversation

python3-libusb1_1.7.1.bb: recipe added

PATCH New Ewa Kujawska 1 participant 1 message Aug 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-libusb1_1.7.1.bb: recipe added

A pure-python wrapper for libusb-1.0 refers to a Python module or package that provides an interface to interact with the libusb-1.0 library using Python code. libusb-1.0 is a cross-platform library that allows applications to communicate with USB devices without the need for platform-specific drivers. It provides a standardized way to access USB devices from various operating systems.

---
 .../python/python3-libusb1_1.7.1.bb                 | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-libusb1_1.7.1.bb +7 -6
index 476966c2178b..9f95e5595178 100644
@@ -1,15 +1,16 @@
 SUMMARY = "Pure-python wrapper for libusb-1.0"
+
 HOMEPAGE = "http://github.com/vpelletier/python-libusb1"
-AUTHOR = "Vincent Pelletier <[email protected]>"
-LICENSE = "LGPL-2.1"
+LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "https://files.pythonhosted.org/packages/80/bb/4ee9d760dd29499d877ee384f1d2bc6bb9923defd4c69843aef5e729972d/libusb1-1.7.1.tar.gz"
-SRC_URI[md5sum] = "cb4073182fef4cee6ab9c6666b48d1a1"
+SRC_URI = "https://files.pythonhosted.org/packages/80/bb/4ee9d760dd29499d877ee384f1d2bc6bb9923defd4c69843aef5e729972d/libusb1-${PV}.tar.gz"
 SRC_URI[sha256sum] = "adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571"
 
-S = "${WORKDIR}/libusb1-1.7.1"
+PV = "1.7.1"
+
+S = "${WORKDIR}/libusb1-${PV}"
 
-RDEPENDS_${PN} = "libusb1"
+RDEPENDS:${PN} = "libusb1"
 
 inherit setuptools3
Signature · 1 line
2.41.0