Skip to contentSkip to conversation

python: python-libusb1: add recipe

PATCH New Tomasz Żyjewski 1 participant 1 message Apr 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python: python-libusb1: add recipe

---
 .../python/python-libusb1_3.1.0.bb             | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb new file +18 -0
new file mode 100644
index 000000000000..a045dfa8bc9f
@@ -0,0 +1,18 @@
+SUMMARY = "Pure-python wrapper for libusb-1.0"
+HOMEPAGE = "http://github.com/vpelletier/python-libusb1"
+AUTHOR = "Vincent Pelletier <[email protected]>"
+LICENSE = "GPL-2.0-only & LGPL-2.1-only"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+    file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \
+"
+
+SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz"
+SRC_URI[md5sum] = "7b4f094786d1dfc8d011c7649d8ccb97"
+SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c"
+
+S = "${WORKDIR}/libusb1-${PV}"
+
+RDEPENDS:${PN} = "libusb1"
+
+inherit setuptools3
Signature · 1 line
2.44.0