From patchwork Wed Jul 1 16:13:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 91520 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 07656C43458 for ; Wed, 1 Jul 2026 16:13:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.49047.1782922397850888976 for ; Wed, 01 Jul 2026 09:13:17 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=Uc/t3fve; 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 05E5F165C for ; Wed, 1 Jul 2026 09:13:13 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 01A913F673 for ; Wed, 1 Jul 2026 09:13:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1782922397; bh=xYcmzf+U+zrtnHWrpbPPfQUyv+B2KsyWBeLJ3/ZLUsI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Uc/t3fvepd/O0HBRVPd3Phkdg+idbqU+ZtmBPHNAPSr8ViieYCU3Wdse4wchN5Ev7 meUBGv3Zw87ZbQQOOx9/1HeyoJm+U9Ebl37Xwox7puzj1emUXdYuxaInG/SOCTxxcu 1tlgDKxTh8y+1WIaVojP9NFLymWNxOd+W/5s/lQU= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 3/5] python3-pycairo: inherit python3-dir not python3targetconfig Date: Wed, 1 Jul 2026 17:13:11 +0100 Message-ID: <20260701161313.981064-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260701161313.981064-1-ross.burton@arm.com> References: <20260701161313.981064-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 01 Jul 2026 16:13:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239993 Now that meson.bbclass tells meson where to install Python files this recipe just needs to know the value of PYTHON_SITEPACKAGES_DIR for FILES, so just inherit python3-dir to remove a dependency on the target python recipe. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pycairo_1.29.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb index 20c2c332cdb..9b78e4f3d3f 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.29.0.bb @@ -17,7 +17,7 @@ SRC_URI[sha256sum] = "f3f7fde97325cae80224c09f12564ef58d0d0f655da0e3b040f5807bd5 S = "${UNPACKDIR}/pycairo-${PV}" -inherit meson pkgconfig python3targetconfig github-releases +inherit meson pkgconfig python3-dir github-releases CFLAGS += "-fPIC"