blueman: inherit cython class
PATCH 1/21 blueman: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +2 -2
@@ -2,9 +2,9 @@ DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native" +DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject" -inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig +inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig cython REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
Signature · 1 line
2.34.1
PATCH 2/21 python3-cchardet: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb +1 -3
@@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" -inherit pypi setuptools3 +inherit pypi setuptools3 cython BBCLASSEXTEND = "native nativesdk" - -DEPENDS += "python3-cython-native"
Signature · 1 line
2.34.1
PATCH 3/21 python3-cytoolz: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb +1 -2
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" SRC_URI[sha256sum] = "eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd" -inherit pypi setuptools3 +inherit pypi setuptools3 cython -DEPENDS += "python3-cython-native" RDEPENDS:${PN} += "python3-toolz"
Signature · 1 line
2.34.1
PATCH 4/21 python3-dbus-fast: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
Also remove obsolete setuptools/wheel build dependencies.
--- .../recipes-devtools/python/python3-dbus-fast_2.24.3.bb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb +1 -7
@@ -7,13 +7,7 @@ SRC_URI[sha256sum] = "9042a1b565ecac4f8e04df79376de1d1d31e4c82eddb6e71e8b8d82d0c PYPI_PACKAGE = "dbus_fast" -inherit pypi python_poetry_core - -DEPENDS += " \ - python3-setuptools-native \ - python3-wheel-native \ - python3-cython-native \ - " +inherit pypi python_poetry_core cython RDEPENDS:${PN} += " \ python3-core (>=3.7) \
Signature · 1 line
2.34.1
PATCH 5/21 python3-frozenlist: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-frozenlist_1.4.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb +1 -2
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" SRC_URI[sha256sum] = "c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 6/21 python3-gevent: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-gevent_24.2.1.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb +2 -6
@@ -4,7 +4,7 @@ a high-level synchronous API on top of the libevent event loop." HOMEPAGE = "http://www.gevent.org" LICENSE = "MIT & Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" -DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cython-native python3-cffi-native" +DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cffi-native" RDEPENDS:${PN} = "python3-greenlet \ python3-mime \
@@ -18,7 +18,7 @@ SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \ SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython # Don't embed libraries, link to the system provided libs instead export GEVENTSETUP_EMBED_CARES = "0"
@@ -33,10 +33,6 @@ do_configure:append() { rm -rf ${S}/src/gevent/*.c } -do_compile:append() { - sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c -} - # http://errors.yoctoproject.org/Errors/Details/766918/ # src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] # src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types]
Signature · 1 line
2.34.1
PATCH 7/21 python3-h5py: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-h5py_3.12.1.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb +1 -12
@@ -8,12 +8,11 @@ SRC_URI[sha256sum] = "326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13db SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" -inherit pkgconfig pypi setuptools3 +inherit pkgconfig pypi setuptools3 cython BBCLASSEXTEND = "native" DEPENDS = "python3-pkgconfig-native \ - python3-cython-native \ python3-numpy-native \ python3-six-native \ hdf5-native \
@@ -21,16 +20,6 @@ DEPENDS = "python3-pkgconfig-native \ hdf5 \ " -PACKAGESPLITFUNCS =+ "fix_cythonized_sources" - -fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do - if [ -e $f ]; then - sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f - fi - done -} - RDEPENDS:${PN} = "python3-numpy \ python3-six \ python3-json \
Signature · 1 line
2.34.1
PATCH 8/21 python3-kivy: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-kivy_2.3.0.bb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +1 -9
@@ -4,7 +4,7 @@ HOMEPAGE = "https://kivy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09" -inherit setuptools3 pkgconfig features_check +inherit setuptools3 pkgconfig features_check cython # Kivy's setup files only look for GLES libraries for Android, iOS, RPi, # and mali-based OS's. We need to patch the setup file to tell Kivy setup
@@ -52,7 +52,6 @@ DEPENDS += " \ libsdl2-mixer \ pango \ python3 \ - python3-cython-native \ " RDEPENDS:${PN} = " \
@@ -75,10 +74,3 @@ RDEPENDS:${PN} = " \ # python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4568:52: error: assignment to 'void (*)(GLuint, GLsizei, const GLchar **, const GLint *)' {aka 'void (*)(unsigned int, int, const char **, const int *)'} from incompatible pointer type 'void (*)(GLuint, GLsizei, const GLchar * const*, const GLint *)' {aka 'void (*)(unsigned int, int, const char * const*, const int *)'} [-Wincompatible-pointer-types] # python3-kivy/2.3.0/git/kivy/core/window/_window_sdl2.c:8781:23: error: passing argument 1 of 'SDL_SetEventFilter' from incompatible pointer type [-Wincompatible-pointer-types] CFLAGS += "-Wno-error=incompatible-pointer-types" - -do_compile:append() { - for f in `find ${B} -name *.c` - do - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f - done -}
Signature · 1 line
2.34.1
PATCH 9/21 python3-pandas: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-pandas_2.2.2.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb +1 -12
@@ -13,24 +13,13 @@ SRC_URI += " \ SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" -inherit pypi python_mesonpy +inherit pypi python_mesonpy cython DEPENDS += " \ - python3-cython-native \ python3-numpy-native \ python3-versioneer-native \ " -PACKAGESPLITFUNCS =+ "fix_cythonized_sources" - -fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do - if [ -e $f ]; then - sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f - fi - done -} - CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" RDEPENDS:${PN} += " \
Signature · 1 line
2.34.1
PATCH 10/21 python3-pkcs11: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb +1 -2
@@ -9,12 +9,11 @@ SRC_URI[sha256sum] = "9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9 PYPI_PACKAGE = "python-pkcs11" -inherit pypi setuptools3 +inherit pypi setuptools3 cython BBCLASSEXTEND = "native" DEPENDS += " \ - python3-cython-native \ python3-setuptools-scm-native \ python3 \ "
Signature · 1 line
2.34.1
PATCH 11/21 python3-pocketsphinx: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-pocketsphinx_5.0.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb +2 -2
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" SRC_URI[sha256sum] = "27f4de0ca2d2bce391ce87eaab84fe6f0bc059b306fd1702d5fe6549b66e1586" -inherit cmake pkgconfig pypi python3native +inherit cmake pkgconfig pypi python3native cython -DEPENDS += "swig-native python3-cython-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" +DEPENDS += "swig-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" EXTRA_OECMAKE += "-DBUILD_GSTREAMER=ON"
Signature · 1 line
2.34.1
PATCH 12/21 python3-propcache: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb +1 -2
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest cython SRC_URI += " \ file://run-ptest \
@@ -13,7 +13,6 @@ SRC_URI += " \ DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " RDEPENDS:${PN}-ptest += " \
Signature · 1 line
2.34.1
PATCH 13/21 python3-pycocotools: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-pycocotools_2.0.8.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb +2 -6
@@ -3,15 +3,11 @@ SUMMARY = "COCO is a large image dataset designed for object detection, segmenta LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch" SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" -DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" +DEPENDS = "python3-numpy-native virtual/crypt" RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" - -do_compile:append() { - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c -}
Signature · 1 line
2.34.1
PATCH 14/21 python3-pyproj: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
Also clean up DEPENDS: all variations need target proj and proj-native.
--- .../recipes-devtools/python/python3-pyproj_3.7.0.bb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb +2 -11
@@ -1,10 +1,9 @@ SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" -DEPENDS = "python3-cython proj" -DEPENDS:append:class-target = " python3-cython-native proj-native" +DEPENDS = "proj-native proj" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython SRC_URI += "file://rpath.patch"
@@ -21,11 +20,3 @@ RDEPENDS:${PN} = " \ export PROJ_INCDIR = "${STAGING_INCDIR}" export PROJ_LIBDIR = "${STAGING_LIBDIR}" export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.." - -do_compile:append() { - for f in `find ${B} -name *.c` - do - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f - done - python_pep517_do_compile -}
Signature · 1 line
2.34.1
PATCH 15/21 python3-pystemd: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
Also switch to python_setuptools_build_meta as there is a pyproject.toml.
--- meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb +2 -2
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" -DEPENDS = "systemd python3-cython-native" +DEPENDS = "systemd" RDEPENDS:${PN} += "\ python3-xml \ python3-lxml \
@@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\ " REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi setuptools3 features_check pkgconfig +inherit pypi python_setuptools_build_meta features_check pkgconfig cython do_configure:prepend() { rm -rf ${S}/pystemd/*.c
Signature · 1 line
2.34.1
PATCH 16/21 python3-pyzmq: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +2 -2
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "\ file://LICENSE.LESSER;md5=0e99bfbdd8b9d33b0221986fe3be89ed \ " -DEPENDS = "python3-packaging-native python3-cython-native python3-setuptools-scm-native zeromq" +DEPENDS = "python3-packaging-native python3-setuptools-scm-native zeromq" SRC_URI:append = " \ file://club-rpath-out.patch \
@@ -15,7 +15,7 @@ SRC_URI:append = " \ " SRC_URI[sha256sum] = "93f1aa311e8bb912e34f004cf186407a4e90eec4f0ecc0efd26056bf7eda0226" -inherit pypi pkgconfig python_setuptools_build_meta ptest +inherit pypi pkgconfig python_setuptools_build_meta ptest cython PACKAGES =+ "\ ${PN}-test \
Signature · 1 line
2.34.1
PATCH 17/21 python3-reedsolo: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../python3-reedsolo/python3-reedsolo_2.1.0b1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb +1 -2
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c" SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython -DEPENDS += "python3-cython-native" RDEPENDS:${PN} += "python3-core"
Signature · 1 line
2.34.1
PATCH 18/21 python3-sqlalchemy: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-sqlalchemy_2.0.35.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb +1 -3
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f" -inherit pypi python_setuptools_build_meta - -DEPENDS += "python3-cython-native" +inherit pypi python_setuptools_build_meta cython RDEPENDS:${PN} += " \ python3-asyncio \
Signature · 1 line
2.34.1
PATCH 19/21 python3-systemd: switch to python_setuptools_build_meta
In reply to Ross BurtonSwitch to the modern build system, and sort the recipe assignments to be more idiomatic.
--- .../recipes-devtools/python/python3-systemd_235.bb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python3-systemd_235.bb +8 -4
@@ -4,9 +4,13 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" PYPI_PACKAGE = "systemd-python" -DEPENDS += "systemd (<=235)" -RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" -REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi features_check pkgconfig setuptools3 SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a" + +DEPENDS += "systemd (<=235)" + +inherit pypi features_check pkgconfig python_setuptools_build_meta + +REQUIRED_DISTRO_FEATURES = "systemd" + +RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog"
Signature · 1 line
2.34.1
PATCH 20/21 python3-yarl: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb +1 -2
@@ -9,11 +9,10 @@ SRC_URI += "file://run-ptest" PYPI_PACKAGE = "yarl" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " RDEPENDS:${PN} = "\
Signature · 1 line
2.34.1
PATCH 21/21 python3-zeroconf: inherit cython class
In reply to Ross BurtonUse the new cython class to avoid duplicated fixup code to remove build paths.
--- .../recipes-devtools/python/python3-zeroconf_0.136.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-zeroconf_0.136.0.bb +1 -3
@@ -5,9 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=e77986dc8e2ee22d44 SRC_URI[sha256sum] = "7a82c7bd0327266ef9f04a5272b0bb79812ddcefccf944320b5f3519586bbc82" -DEPENDS += "python3-cython-native" - -inherit pypi python_poetry_core +inherit pypi python_poetry_core cython RDEPENDS:${PN} += " \ python3-ifaddr (>=0.1.7) \
Signature · 1 line
2.34.1
Note that this patchbomb depends on "[OE-core] [PATCH] classes-recipe/cython: handle builds with no .c sources”.
Ross
Quoted 38 lines · Ross Burton via lists.openembedded.org
Use the new cython class to avoid duplicated fixup code to remove build paths.
Signed-off-by Ross Burton <[email protected]>---
meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +0
-0@@ -2,9 +2,9 @@ DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager"LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM= "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +2
-2-DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native" +DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject" -inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig +inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig cython
REQUIRED_DISTRO_FEATURES= "gobject-introspection-data"Signature · 10 lines
2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113824): https://lists.openembedded.org/g/openembedded-devel/message/113824 Mute This Topic: https://lists.openembedded.org/mt/109582869/6875888 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-