mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-11-20 04:18:25 +01:00
azote: update, remove unneeded patch
This commit is contained in:
parent
3b463656cd
commit
fae67ad536
@ -1,27 +0,0 @@
|
|||||||
From 9522acf9af582148ab85062f3647965ee5caa778 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Markus Volk <f_l_k@t-online.de>
|
|
||||||
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 <f_l_k@t-online.de>
|
|
||||||
---
|
|
||||||
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
|
|
||||||
|
|
@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
|
|||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
git://github.com/nwg-piotr/azote.git;protocol=https;branch=master \
|
git://github.com/nwg-piotr/azote.git;protocol=https;branch=master \
|
||||||
file://0001-dist-azote-avoid-usage-of-deprecated-distutils-modul.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN} = " \
|
RDEPENDS:${PN} = " \
|
||||||
@ -25,7 +24,7 @@ inherit setuptools3
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
PV = "1.9.1"
|
PV = "1.9.1"
|
||||||
SRCREV = "v${PV}"
|
SRCREV = "c4ccd502c27fa6eb801a7b2b0636aed09e8c4a12"
|
||||||
|
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
|
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
|
||||||
|
Loading…
Reference in New Issue
Block a user