Skip to contentSkip to conversation

sip3: remove the recipe

PATCH New Alexander Kanavin 1 participant 3 messages Oct 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 sip3: remove the recipe

It is not compatible with python 3.11, and all
development on that series has ceased:
https://riverbankcomputing.com/software/sip/download

There is an actively maintained version
https://www.riverbankcomputing.com/news/SIP_v6.6.2_Released
https://pypi.org/project/sip/
but it probably needs a newly written recipe if someone has interest in it.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 -
 meta-oe/recipes-devtools/sip/sip3_4.19.23.bb  | 40 -------------------
 2 files changed, 41 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/sip/sip3_4.19.23.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -1
index cd99fb48c..a5a033cae 100644
@@ -300,7 +300,6 @@ RDEPENDS:packagegroup-meta-oe-devtools ="\
     python3-distutils-extra \
     python3-pycups \
     rapidjson \
-    sip3 \
     squashfs-tools-ng \
     uftrace \
     unifex \
meta-oe/recipes-devtools/sip/sip3_4.19.23.bb deleted +0 -40
deleted file mode 100644
index d6335585e..000000000
@@ -1,40 +0,0 @@
-SUMMARY = "SIP is a C++/Python Wrapper Generator"
-HOMEPAGE = "https://riverbankcomputing.com/software/sip/"
-SECTION = "devel"
-LICENSE = "GPL-2.0-or-later"
-LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
-
-SRC_URI = "https://www.riverbankcomputing.com/static/Downloads/sip/${PV}/sip-${PV}.tar.gz \
-"
-SRC_URI[md5sum] = "70adc0c9734e2d9dcd241d3f931dfc74"
-SRC_URI[sha256sum] = "22ca9bcec5388114e40d4aafd7ccd0c4fe072297b628d0c5cdfa2f010c0bc7e7"
-
-inherit python3-dir python3native
-
-S = "${WORKDIR}/sip-${PV}"
-
-DEPENDS = "python3"
-
-PACKAGES += "python3-sip3"
-
-BBCLASSEXTEND = "native"
-
-CONFIGURE_SYSROOT = "${STAGING_DIR_HOST}"
-CONFIGURE_SYSROOT:class-native = "${STAGING_DIR_NATIVE}"
-
-do_configure:prepend() {
-    echo "py_platform = linux" > sip.cfg
-    echo "py_inc_dir = ${STAGING_INCDIR}/python%(py_major).%(py_minor)${PYTHON_ABI}" >> sip.cfg
-    echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
-    echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
-    echo "sip_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> sip.cfg
-    echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
-    ${PYTHON} configure.py --configuration sip.cfg --sip-module PyQt5.sip --sysroot ${CONFIGURE_SYSROOT} CC="${CC}" CXX="${CXX}" LINK="${CXX}" STRIP="" LINK_SHLIB="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}"
-}
-
-do_install() {
-    oe_runmake install
-}
-
-FILES:python3-sip3 = "${libdir}/${PYTHON_DIR}/site-packages/"
-FILES:${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/3 python3-wxgtk4: skip the recipe

---
 .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb     | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +2 -0
index 4d739b86f..842c57646 100644
@@ -33,3 +33,5 @@ RDEPENDS:${PN} = "\
     python3-six \
     python3-xml \
 "
+
+SKIP_RECIPE[python3-wxgtk4] ?= "Not compatible with py3.11; needs version update for both itself and wxwidgets"
Signature · 1 line
2.30.2
#2 lore raw

PATCH 3/3 python3-yappi: mark as incompatible with python 3.11

In reply to Alexander Kanavin

A request to release a new version is here:
https://github.com/sumerc/yappi/issues/122

---
 meta-python/recipes-devtools/python/python3-yappi_1.3.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-yappi_1.3.6.bb +2 -0
index 2f2444319..526af346b 100644
@@ -32,3 +32,5 @@ do_install_ptest() {
     cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
     cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
 }
+
+SKIP_RECIPE[python3-yappi] ?= "Not compatible with py3.11; needs a new release"
Signature · 1 line
2.30.2