From patchwork Fri Mar 11 17:00:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 5109 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE3E4C433EF for ; Fri, 11 Mar 2022 17:00:30 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.7755.1647018029870098733 for ; Fri, 11 Mar 2022 09:00:30 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C3958175A for ; Fri, 11 Mar 2022 09:00:28 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 719F03FA45 for ; Fri, 11 Mar 2022 09:00:28 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH] meta-*: remove obsolete PYPA_WHEEL and PIP_INSTALL_PACKAGE assignments Date: Fri, 11 Mar 2022 17:00:25 +0000 Message-Id: <20220311170025.21266-1-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 11 Mar 2022 17:00:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95955 These variables are no longer used by pip_install_wheel, so remove them from all recipes that set them. Signed-off-by: Ross Burton --- meta-networking/recipes-connectivity/bluepy/bluepy_git.bb | 2 -- .../recipes-devtools/python/python3-scapy_2.4.5.bb | 2 -- meta-oe/recipes-devtools/guider/guider_3.9.8.bb | 1 - meta-oe/recipes-devtools/python/python3-apt_2.3.0.bb | 2 -- meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb | 3 --- .../python/python3-flask-versioned_0.9.4-20101221.bb | 7 ------- meta-python/recipes-devtools/python/python3-path_16.4.0.bb | 1 - 7 files changed, 18 deletions(-) diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb index ba5d9ac0e6..8e164708ed 100644 --- a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb @@ -15,8 +15,6 @@ S = "${WORKDIR}/git" inherit setuptools3 pkgconfig -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-*-*.whl" - RDEPENDS:${PN} = "bluez5" TARGET_CC_ARCH += "${LDFLAGS}" diff --git a/meta-networking/recipes-devtools/python/python3-scapy_2.4.5.bb b/meta-networking/recipes-devtools/python/python3-scapy_2.4.5.bb index 53c2ce3d8e..0f66dfd784 100644 --- a/meta-networking/recipes-devtools/python/python3-scapy_2.4.5.bb +++ b/meta-networking/recipes-devtools/python/python3-scapy_2.4.5.bb @@ -25,8 +25,6 @@ S = "${WORKDIR}/git" UPSTREAM_CHECK_COMMITS = "1" inherit setuptools3 ptest -PIP_INSTALL_PACKAGE = "scapy" -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-*-*.whl" do_install:append() { mv ${D}${bindir}/scapy ${D}${bindir}/scapy3 diff --git a/meta-oe/recipes-devtools/guider/guider_3.9.8.bb b/meta-oe/recipes-devtools/guider/guider_3.9.8.bb index c519fa02a3..30d17c84b3 100644 --- a/meta-oe/recipes-devtools/guider/guider_3.9.8.bb +++ b/meta-oe/recipes-devtools/guider/guider_3.9.8.bb @@ -14,7 +14,6 @@ SRCREV = "a502cd93b13235b7539557a91328de00b7c51bc3" S = "${WORKDIR}/git" inherit setuptools3 -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-3.9.8-*.whl" RDEPENDS:${PN} = "python3 python3-core \ python3-ctypes python3-shell python3-json" diff --git a/meta-oe/recipes-devtools/python/python3-apt_2.3.0.bb b/meta-oe/recipes-devtools/python/python3-apt_2.3.0.bb index e17e773cb4..ec1539b442 100644 --- a/meta-oe/recipes-devtools/python/python3-apt_2.3.0.bb +++ b/meta-oe/recipes-devtools/python/python3-apt_2.3.0.bb @@ -10,8 +10,6 @@ SRCREV = "6145b6484d220685edfd922d364afbf065127efe" S = "${WORKDIR}/git" inherit setuptools3 -PIP_INSTALL_PACKAGE = "python_apt" -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.0.0-*.whl" DEPENDS += "apt" RDEPENDS:${PN} += "apt python3-core" diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb b/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb index d8cb24cab0..ecbfad394d 100644 --- a/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb +++ b/meta-oe/recipes-extended/sanlock/sanlock_3.8.4.bb @@ -26,9 +26,6 @@ DEPENDS = "libaio util-linux" inherit setuptools3 useradd SETUPTOOLS_SETUP_PATH = "${S}/python" -PIP_INSTALL_DIST_PATH = "${B}/python/dist" -PIP_INSTALL_PACKAGE = "sanlock_python" -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-3.8.4-*.whl" do_compile:prepend () { oe_runmake -C ${S}/wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}" diff --git a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb index 04493b21d4..7aaf439b83 100644 --- a/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb +++ b/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb @@ -7,10 +7,3 @@ PYPI_PACKAGE = "Flask-Versioned" SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" inherit pypi setuptools3 - -def get_pypa_wheel_name(d): - return (d.getVar('PIP_INSTALL_DIST_PATH') + '/' + \ - d.getVar('PIP_INSTALL_PACKAGE') + '-' + \ - d.getVar('PV').replace('-', '.post') + '-*.whl') - -PYPA_WHEEL = "${@get_pypa_wheel_name(d)}" diff --git a/meta-python/recipes-devtools/python/python3-path_16.4.0.bb b/meta-python/recipes-devtools/python/python3-path_16.4.0.bb index 0fc0a33b2b..60ac948cf4 100644 --- a/meta-python/recipes-devtools/python/python3-path_16.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-path_16.4.0.bb @@ -5,6 +5,5 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" SRC_URI[sha256sum] = "baf2e757c4b19be8208f9e67e48fb475b4a577d5613590ce46693bdbdf082f52" inherit pypi setuptools_build_meta -PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-0.0.0-*.whl" BBCLASSEXTEND = "nativesdk native"