From patchwork Wed Jul 13 16:28:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 10133 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 9B7AAC43334 for ; Wed, 13 Jul 2022 16:38:18 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.101.1657730288456063919 for ; Wed, 13 Jul 2022 09:38:08 -0700 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 0D9EE1C14; Wed, 13 Jul 2022 09:28:28 -0700 (PDT) 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 2A8113F792; Wed, 13 Jul 2022 09:28:27 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 6/8] classes: remove obsolete PEP517_BUILD_API Date: Wed, 13 Jul 2022 17:28:19 +0100 Message-Id: <20220713162821.974801-6-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220713162821.974801-1-ross.burton@arm.com> References: <20220713162821.974801-1-ross.burton@arm.com> 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 ; Wed, 13 Jul 2022 16:38:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/167974 This variable is no longer used, so remove it from the python_* classes. Signed-off-by: Ross Burton --- meta/classes/python_flit_core.bbclass | 2 -- meta/classes/python_hatchling.bbclass | 2 -- meta/classes/python_poetry_core.bbclass | 2 -- meta/classes/python_setuptools_build_meta.bbclass | 2 -- 4 files changed, 8 deletions(-) diff --git a/meta/classes/python_flit_core.bbclass b/meta/classes/python_flit_core.bbclass index a900f7b5579..7109307de5b 100644 --- a/meta/classes/python_flit_core.bbclass +++ b/meta/classes/python_flit_core.bbclass @@ -2,8 +2,6 @@ inherit python_pep517 python3native python3-dir setuptools3-base DEPENDS += "python3 python3-flit-core-native" -PEP517_BUILD_API = "flit_core.buildapi" - python_flit_core_do_manual_build () { cd ${PEP517_SOURCE_PATH} nativepython3 -m flit_core.wheel --outdir ${PEP517_WHEEL_PATH} . diff --git a/meta/classes/python_hatchling.bbclass b/meta/classes/python_hatchling.bbclass index b3cbe23601b..984eb6bb5db 100644 --- a/meta/classes/python_hatchling.bbclass +++ b/meta/classes/python_hatchling.bbclass @@ -1,5 +1,3 @@ inherit python_pep517 python3native python3-dir setuptools3-base DEPENDS += "python3-hatchling-native" - -PEP517_BUILD_API = "hatchling.build" diff --git a/meta/classes/python_poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass index 577663b8f17..0aaf66b1944 100644 --- a/meta/classes/python_poetry_core.bbclass +++ b/meta/classes/python_poetry_core.bbclass @@ -1,5 +1,3 @@ inherit python_pep517 python3native setuptools3-base DEPENDS += "python3-poetry-core-native" - -PEP517_BUILD_API = "poetry.core.masonry.api" diff --git a/meta/classes/python_setuptools_build_meta.bbclass b/meta/classes/python_setuptools_build_meta.bbclass index b2bba35a0bc..974054fe5ac 100644 --- a/meta/classes/python_setuptools_build_meta.bbclass +++ b/meta/classes/python_setuptools_build_meta.bbclass @@ -1,5 +1,3 @@ inherit setuptools3-base python_pep517 DEPENDS += "python3-setuptools-native python3-wheel-native" - -PEP517_BUILD_API = "setuptools.build_meta"