Skip to contentSkip to conversation

evolution-data-server: remove pythonnative from inherit

PATCH New Andreas Müller 1 participant 2 messages Jan 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 evolution-data-server: remove pythonnative from inherit

pythonnative is about to be removed and evolution-data-server builds fine without

---
 .../evolution-data-server/evolution-data-server.bb              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +1 -1
index 08bd778d0..7f267b497 100644
@@ -6,7 +6,7 @@ DEPENDS = " \
     dbus db virtual/libiconv zlib libsoup-2.4 libical nss libsecret \
 "
 
-inherit gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative pythonnative
+inherit gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative
 
 REQUIRED_DISTRO_FEATURES = "x11"
 
Signature · 1 line
2.21.1
#1 lore raw

PATCH 2/2 fontforge: rework for python3

* python3native is necessary because configure asks for version. If it uses host's version python modules might be installed in wrong paths
* checked: ${PN}-python is packed properly
* while at it remove uneccessary (wrong) line: there is no ${PN}-python-dbg

---
 meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb +3 -5
index fe7601d83..c12d01e2d 100644
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = " \
     file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \
 "
 
-DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash gettext-native"
+DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native"
 DEPENDS_append_class-target = " libxi"
 
-inherit autotools pkgconfig pythonnative features_check gettext gtk-icon-cache mime mime-xdg
+inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg
 
 REQUIRED_DISTRO_FEATURES_append_class-target = " x11"
 
@@ -31,8 +31,6 @@ EXTRA_OECONF_append_class-native = " with_x=no"
 
 PACKAGES =+ "${PN}-python"
 
-RPROVIDES_${PN}-dbg += "${PN}-python-dbg"
-
 FILES_${PN} += " \
     ${datadir}/appdata \
     ${datadir}/metainfo \
@@ -40,7 +38,7 @@ FILES_${PN} += " \
 "
 
 FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${BPN}/python"
-RDEPENDS_${PN}-python = "python"
+RDEPENDS_${PN}-python = "python3"
 
 # for e.g kde's oxygen-fonts
 BBCLASSEXTEND = "native"
Signature · 1 line
2.21.1