From patchwork Thu Mar 17 19:13:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 5429 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 F1806C433F5 for ; Thu, 17 Mar 2022 19:13:21 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.377.1647544401039636780 for ; Thu, 17 Mar 2022 12:13:21 -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 B09BB16F2 for ; Thu, 17 Mar 2022 12:13:19 -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 5FE6E3F7F5 for ; Thu, 17 Mar 2022 12:13:19 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH] python3-lz4: use system lz4 library Date: Thu, 17 Mar 2022 19:13:16 +0000 Message-Id: <20220317191316.411114-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 ; Thu, 17 Mar 2022 19:13:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/96044 Instead of using the copy of lz4 that is embedded in the python3-lz4 source code, use the system lz4 library. python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%) python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])" Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb index 40b2186b2c..5e6741c680 100644 --- a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb @@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ + lz4 \ ${PYTHON_PN}-setuptools-scm-native \ ${PYTHON_PN}-pkgconfig-native \ " SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi setuptools_build_meta +inherit pkgconfig pypi setuptools_build_meta BBCLASSEXTEND = "native nativesdk"