diff mbox series

[meta-python] python3-libusb1: rename recipe to reflect the python version and update to use pypi

Message ID 20241213211002.2442194-1-derek@asterius.io
State Accepted
Headers show
Series [meta-python] python3-libusb1: rename recipe to reflect the python version and update to use pypi | expand

Commit Message

Derek Straka Dec. 13, 2024, 9:10 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../{python-libusb1_3.1.0.bb => python3-libusb1_3.1.0.bb}    | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-libusb1_3.1.0.bb => python3-libusb1_3.1.0.bb} (73%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb b/meta-python/recipes-devtools/python/python3-libusb1_3.1.0.bb
similarity index 73%
rename from meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
rename to meta-python/recipes-devtools/python/python3-libusb1_3.1.0.bb
index 96c83b3fa..f3a0147a3 100644
--- a/meta-python/recipes-devtools/python/python-libusb1_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-libusb1_3.1.0.bb
@@ -6,11 +6,8 @@  LIC_FILES_CHKSUM = " \
     file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \
 "
 
-SRC_URI = "https://github.com/vpelletier/${BPN}/releases/download/${PV}/libusb1-${PV}.tar.gz"
 SRC_URI[sha256sum] = "4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c"
 
-S = "${WORKDIR}/libusb1-${PV}"
-
 RDEPENDS:${PN} = "libusb1"
 
-inherit setuptools3
+inherit setuptools3 pypi