[meta-python] python3-pyiface: upgrade to latest git

Message ID 20220228173252.1277254-1-tim.orling@konsulko.com
State New
Headers show
Series [meta-python] python3-pyiface: upgrade to latest git | expand

Commit Message

Tim Orling Feb. 28, 2022, 5:32 p.m. UTC
Upstream hasn't done a release, but has commits which among other things
switches from distutils to setuptools.

Now DEPENDS on python3-setuptools-scm-native

Set PV to what the version of the 'wheel' is.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 ...on3-pyiface_0.0.11.bb => python3-pyiface_git.bb} | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyiface_0.0.11.bb => python3-pyiface_git.bb} (52%)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb b/meta-python/recipes-devtools/python/python3-pyiface_git.bb
similarity index 52%
rename from meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb
rename to meta-python/recipes-devtools/python/python3-pyiface_git.bb
index 3022d08343..847efd8cf8 100644
--- a/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb
+++ b/meta-python/recipes-devtools/python/python3-pyiface_git.bb
@@ -5,7 +5,14 @@  LICENSE = "GPLv3+"
 
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1"
 
-SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4"
-SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5"
+DEPENDS += "python3-setuptools-scm-native"
 
-inherit pypi setuptools3
+inherit setuptools3
+
+SRC_URI = "git://github.com/bat-serjo/PyIface.git;protocol=https;branch=master"
+SRCREV = "4557dbda96d2e4b1142c60603d4a27d007a9ffe6"
+PV = "0.1.dev33+g4557dbd"
+
+PIP_INSTALL_PACKAGE = "pyiface"
+
+S = "${WORKDIR}/git"