similarity index 70%
rename from meta-python/recipes-devtools/python/python3-uswid_git.bb
rename to meta-python/recipes-devtools/python/python3-uswid_0.4.7.bb
@@ -2,6 +2,11 @@ SUMMARY = "A pure-python library for embedding CoSWID data"
HOMEPAGE = "https://github.com/hughsie/python-uswid"
SECTION = "devel/python"
LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
+
+SRC_URI[sha256sum] = "de15c2421bedaa5f54606558700c1f628f07d73da49ec69d1888214ac52c49e6"
+
+inherit setuptools3 python3native pypi
DEPENDS += " python3-cbor2 python3-lxml python3-pefile"
RDEPENDS:${PN} += " \
@@ -10,12 +15,5 @@ RDEPENDS:${PN} += " \
python3-lxml \
python3-netclient \
"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
-
-SRC_URI = "git://github.com/hughsie/python-uswid.git;branch=main;protocol=https"
-SRCREV = "3223034abef88ae29cf79fdc7fe11ec7e21e11ff"
-S = "${WORKDIR}/git"
-
-inherit setuptools3 python3native
BBCLASSEXTEND = "native nativesdk"
Signed-off-by: Derek Straka <derek@asterius.io> --- .../{python3-uswid_git.bb => python3-uswid_0.4.7.bb} | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) rename meta-python/recipes-devtools/python/{python3-uswid_git.bb => python3-uswid_0.4.7.bb} (70%)