From fae67ad5367ebbd16bd966d312286de7e64971ea Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 19 Jan 2022 13:31:40 +0100 Subject: [PATCH] azote: update, remove unneeded patch --- ...-usage-of-deprecated-distutils-modul.patch | 27 ------------------- recipes-gtk/nwg-shell/azote_git.bb | 3 +-- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 recipes-gtk/nwg-shell/azote/0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch diff --git a/recipes-gtk/nwg-shell/azote/0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch b/recipes-gtk/nwg-shell/azote/0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch deleted file mode 100644 index 2db1455..0000000 --- a/recipes-gtk/nwg-shell/azote/0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 9522acf9af582148ab85062f3647965ee5caa778 Mon Sep 17 00:00:00 2001 -From: Markus Volk -Date: Sat, 15 Jan 2022 18:05:08 +0100 -Subject: [PATCH] dist/azote: avoid usage of deprecated distutils module - -The distutils module has been depecated in python 3.10. -Make use of sysconfig instead - -Signed-off-by: Markus Volk ---- - dist/azote | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/dist/azote b/dist/azote -index b0bf0f0..6674ec9 100755 ---- a/dist/azote -+++ b/dist/azote -@@ -1,5 +1,5 @@ - #!/bin/sh - --LIB=$( python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())" ) -+LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('platlib'))") - cd $LIB/azote - exec /usr/bin/python3 main.py "$@" --- -2.25.1 - diff --git a/recipes-gtk/nwg-shell/azote_git.bb b/recipes-gtk/nwg-shell/azote_git.bb index f477081..7d35395 100644 --- a/recipes-gtk/nwg-shell/azote_git.bb +++ b/recipes-gtk/nwg-shell/azote_git.bb @@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" SRC_URI = " \ git://github.com/nwg-piotr/azote.git;protocol=https;branch=master \ - file://0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch \ " RDEPENDS:${PN} = " \ @@ -25,7 +24,7 @@ inherit setuptools3 S = "${WORKDIR}/git" PV = "1.9.1" -SRCREV = "v${PV}" +SRCREV = "c4ccd502c27fa6eb801a7b2b0636aed09e8c4a12" do_install:append() { install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications