unattended-upgrades: Move to meta-python
PATCH 1/2 unattended-upgrades: Move to meta-python
It needs distutils, until its ported to use setuptools, keep it in meta-python as it depends on distutils infra from here.
Signed-off-by Khem Raj <[email protected]>
---
.../recipes-core/packagegroups/packagegroup-meta-python.bb | 1 +
...unattended-upgrade-Remove-distro_info-usage-to-check.patch | 0
.../unattended-upgrades/unattended-upgrades_2.6.bb | 4 ++--
3 files changed, 3 insertions(+), 2 deletions(-)
rename {meta-oe => meta-python}/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch (100%)
rename {meta-oe => meta-python}/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb (92%)meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -474,6 +474,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-yarl \ python3-zopeinterface \ telepathy-python3 \ + unattended-upgrades \ " RDEPENDS:packagegroup-meta-python3:remove:libc-musl:powerpc64le = "python3-grpcio python3-grpcio-tools"
meta-python/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch renamed from meta-oe/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch +0 -0
meta-python/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb renamed from meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb +2 -2
@@ -13,8 +13,8 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca" S = "${WORKDIR}/git" -inherit setuptools_build_meta -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl" +inherit distutils3 +#PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl" DEPENDS += "apt intltool-native python3-distutils-extra-native" RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog"
Signature · 1 line
2.35.1
PATCH 2/2 python3-blivetgui: Set PIP_INSTALL_PACKAGE
Signed-off-by Khem Raj <[email protected]>
--- .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb +2 -0
@@ -18,6 +18,8 @@ REQUIRED_DISTRO_FEATURES = "x11 systemd" inherit setuptools3 python3native +PIP_INSTALL_PACKAGE = "blivet_gui" + RDEPENDS:${PN} = "python3-pygobject python3 \ python3-blivet gtk+3 \ python3-pid libreport \
Signature · 1 line
2.35.1
ignore this one, since setuptools3_legacy will fix it and we can keep it in meta-oe
Quoted 50 lines · Khem Raj
It needs distutils, until its ported to use setuptools, keep it in meta-python as it depends on distutils infra from here.
Signed-off-by Khem Raj <[email protected]>--- .../recipes-core/packagegroups/packagegroup-meta-python.bb | 1 + ...unattended-upgrade-Remove-distro_info-usage-to-check.patch | 0 .../unattended-upgrades/unattended-upgrades_2.6.bb | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) rename {meta-oe => meta-python}/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch (100%) rename {meta-oe => meta-python}/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb (92%)meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1
-0@@ -474,6 +474,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-yarl \ python3-zopeinterface \ telepathy-python3 \ + unattended-upgrades \ " RDEPENDS:packagegroup-meta-python3:remove:libc-musl:powerpc64le = "python3-grpcio python3-grpcio-tools"meta-python/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch renamed from meta-oe/recipes-devtools/unattended-upgrades/files/0001-unattended-upgrade-Remove-distro_info-usage-to-check.patch +0
-0meta-python/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb renamed from meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.6.bb +2
-3@@ -13,8 +13,8 @@ SRCREV = "c6db6fad26a2b83ba301b52ff5dee98cef7558ca" S = "${WORKDIR}/git" -inherit setuptools_build_meta -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl" +inherit distutils3 +#PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.1-*.whl" DEPENDS += "apt intltool-native python3-distutils-extra-native" RDEPENDS:${PN} += "apt lsb-release python3-apt python3-core python3-datetime python3-email python3-fcntl python3-io python3-logging python3-stringold python3-syslog" --2.35.1