From patchwork Mon Feb 28 15:45:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Klein X-Patchwork-Id: 4450 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 83B68C433F5 for ; Mon, 28 Feb 2022 15:46:01 +0000 (UTC) Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [188.68.63.97]) by mx.groups.io with SMTP id smtpd.web11.21333.1646063157786564322 for ; Mon, 28 Feb 2022 07:46:00 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@extraklein.de header.s=key2 header.b=D2RJWvI4; spf=pass (domain: extraklein.de, ip: 188.68.63.97, mailfrom: matthias@extraklein.de) Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4K6l8g38jvz4ysZ for ; Mon, 28 Feb 2022 16:45:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=extraklein.de; s=key2; t=1646063155; bh=tOlTLJU/WR8o+DK0iUlUUPajwa+fzIVJZjIqA4nxPdA=; h=From:To:Cc:Subject:Date:From; b=D2RJWvI4kskoOzTgtG5MJmGDs99skRZTBZ/sbfehvsv5KmRjGlClIGF+n5P89JLSA 0A4ykTQLB5ah1qwl9HcuFqKtx9OK2XrJ8BaoK1dV0XH1tsmn3nC0WsvBbmnDElsX6n u3FJOl3ZAa5at13GAOZgo52I4mHx5qj1R1ZD77Prh/Lp3ovlrjVJo4faosx8HAUbsA oDxysmm41orlZv8fAC+LG1AoBxanbLycs1hDOKqQGt40sYGrs4Dnz1rEOao08RvgX1 phV10WrXkq2+DYFwlijCT14wf3sENhfbVyrpL84w0vcvxpMPjnLprlU3q/VbAOp00E gKWyXzpuJVJzQ== Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4K6l8g2mFtz4xyQ for ; Mon, 28 Feb 2022 16:45:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net Received: from mx2fa3.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4K6l8f1brhz8sh0 for ; Mon, 28 Feb 2022 16:45:53 +0100 (CET) Received: from localhost (ip-062-143-218-156.um16.pools.vodafone-ip.de [62.143.218.156]) by mx2fa3.netcup.net (Postfix) with ESMTPSA id 61F041400F2; Mon, 28 Feb 2022 16:45:53 +0100 (CET) Authentication-Results: mx2fa3; spf=pass (sender IP is 62.143.218.156) smtp.mailfrom=matthias@extraklein.de smtp.helo=localhost Received-SPF: pass (mx2fa3: connection is authenticated) From: Matthias Klein To: openembedded-devel@lists.openembedded.org Cc: Matthias Klein Subject: [meta-python][PATCH V2] python3-smbus: fix wheel build Date: Mon, 28 Feb 2022 16:45:39 +0100 Message-Id: <20220228154539.1227-1-matthias@extraklein.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-PPP-Message-ID: <164606315360.3068.4231251475699465553@mx2fa3.netcup.net> X-PPP-Vhost: extraklein.de X-NC-CID: ht4DaEmJmlZj+zPfx1YZwbNhVvYuKe2REcx56e/JE/lsIrKV0hE= 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 ; Mon, 28 Feb 2022 15:46:01 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95582 Recipe does not inherit pypi nor would PN be a good guess for the wheel name so set PIP_INSTALL_PACKAGE appropriately. PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH so set PYPA_WHEEL appropriately. Signed-off-by: Matthias Klein --- meta-python/recipes-devtools/python/python3-smbus_4.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb index ecdff3ada..1a6c99cfc 100644 --- a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb +++ b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb @@ -13,4 +13,6 @@ S = "${WORKDIR}/i2c-tools-${PV}" inherit setuptools3 +PIP_INSTALL_PACKAGE = "smbus" +PYPA_WHEEL = "${S}/py-smbus/dist/smbus-*-*.whl" SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"