Skip to contentSkip to conversation

mesa: rename mesa_%.bbappend to mesa.bbappend

PATCH New Yi Zhao 1 participant 2 messages Aug 26, 2024

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/2 mesa: rename mesa_%.bbappend to mesa.bbappend

The mesa recipe in oe-core layer was renamed to mesa.bb in commit[1]. Rename bbappend to adapt this change.

[1] https://git.openembedded.org/openembedded-core/commit/?id=f5cfb3e23603cefb2f3f6bfe776afaedefd10808

---
 recipes-graphics/mesa/{mesa_%.bbappend => mesa.bbappend} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-graphics/mesa/{mesa_%.bbappend => mesa.bbappend} (100%)
recipes-graphics/mesa/mesa.bbappend renamed from recipes-graphics/mesa/mesa_%.bbappend +0 -0
similarity index 100%
rename from recipes-graphics/mesa/mesa_%.bbappend
rename to recipes-graphics/mesa/mesa.bbappend
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 setools: switch to PEP-517 build backend

Fix QA warning:
WARNING: setools-4.5.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

---
 recipes-security/setools/setools_4.5.1.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
recipes-security/setools/setools_4.5.1.bb +3 -4
index 45063cd..9b6745e 100644
@@ -18,19 +18,18 @@ S = "${WORKDIR}/git"
 
 DEPENDS = "python3-cython-native libsepol libselinux"
 
-RDEPENDS:${PN} = "python3-networkx python3-setuptools \
-                  python3-logging libselinux-python"
+RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python"
 
 RPROVIDES:${PN} = "${PN}-console"
 
-inherit setuptools3
+inherit python_setuptools_build_meta
 
 do_install:prepend() {
     sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c
 }
 
 do_install:append() {
-    # Need PyQt5 support, disable gui tools
+    # Need PyQt6 support, disable gui tools
     rm -f ${D}${bindir}/apol
     rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui
     rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__
Signature · 1 line
2.25.1