From patchwork Mon Jun 26 12:09:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jasper Orschulko X-Patchwork-Id: 26409 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 8D973EB64D7 for ; Mon, 26 Jun 2023 12:11:13 +0000 (UTC) Received: from mx.walter.deinstapel.de (mx.walter.deinstapel.de [62.176.232.99]) by mx.groups.io with SMTP id smtpd.web10.6085.1687781411167970895 for ; Mon, 26 Jun 2023 05:10:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@fancydomain.eu header.s=mail header.b=VRuLbGHp; spf=pass (domain: fancydomain.eu, ip: 62.176.232.99, mailfrom: jasper@fancydomain.eu) From: "Jasper Orschulko" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fancydomain.eu; s=mail; t=1687781409; bh=K/vsSOY4DfVpE9aqlRIIRWFwwl7jOTll3ggCMjrEVXU=; h=From:To:Cc:Subject:In-Reply-To:References; b=VRuLbGHps/lqUpE8nn+hTGfw99fewxV1J4/JlFbAsHcUZHT88O4Ly3xsF4srNX7TW ZZcp0w0nni2i/A8IlmM3hxw8VQi9HYPNljyMx++vx9IbDlDnE8WnLSSPspMOtItswG ItVyPOeDOyBy95iyvUCTWzIGUknvrZjB21vmWNBN9iDalR7qKwAvblHkqCs7vhiFHW b7onWCkU6trVVJzcbOh+WVzU2JIt/29rR6UTHojDW+97Gn/3a5OY7PjPlSZwaT8aa2 CB/ZPrUz+jFsfGUGkrDBpBg0UD1LUc43GtVWBFsnoNSfuELm5kbmS63onTPFP3f591 CB2gQkUcapOYg== To: openembedded-devel@lists.openembedded.org Cc: Jasper Orschulko Subject: [meta-python][PATCH v2 3/3] python3-platformdirs: Fix recipe version 3.6.0 Date: Mon, 26 Jun 2023 14:09:00 +0200 Message-ID: <20230626120900.224602-3-jasper@fancydomain.eu> In-Reply-To: <20230626120900.224602-1-jasper@fancydomain.eu> References: <20230626120900.224602-1-jasper@fancydomain.eu> 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 ; Mon, 26 Jun 2023 12:11:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/103583 python3-platformdirs version 3.6.0 requires hatchling build system. Before this fix it would previously build without issue but throw error when used in the final image. Additionally, fixing the ptest which now requires two additional dependencies. Signed-off-by: Jasper Orschulko --- .../python/python3-platformdirs_3.6.0.bb | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb index 20b3299ac7..6444fde7ea 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb @@ -3,32 +3,28 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI = " \ - git://github.com/platformdirs/platformdirs.git;branch=main;protocol=https \ +SRC_URI += " \ file://run-ptest \ " -SRCREV ?= "85b0b67eb33a835b797c1d52dab4a06c5554b7ee" -SRC_URI[sha256sum] = "7954a68d0ba23558d753f73437c55f89027cf8f5108c19844d4b82e5af396335" +SRC_URI[sha256sum] = "57e28820ca8094678b807ff529196506d7a21e17156cb1cddb3e74cebce54640" -inherit python_setuptools_build_meta ptest +inherit pypi python_hatchling ptest DEPENDS += " \ - python3-hatch-vcs-native \ - python3-setuptools-scm-native \ - python3-toml-native \ + ${PYTHON_PN}-hatch-vcs-native \ " -S = "${WORKDIR}/git" - RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-appdirs \ + ${PYTHON_PN}-covdefaults \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-pytest-mock \ + ${PYTHON_PN}-pytest-cov \ " do_install_ptest() { - install -d ${D}${PTEST_PATH}/Tests + install -d ${D}${PTEST_PATH} cp -rf ${S}/tests ${D}${PTEST_PATH}/ }