From patchwork Wed Apr 17 18:40:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 42626 X-Patchwork-Delegate: reatmon@ti.com 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 DA043C001CC for ; Wed, 17 Apr 2024 18:40:34 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web10.21982.1713379233098107372 for ; Wed, 17 Apr 2024 11:40:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LkmAVfVk; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: reatmon@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43HIeWRo085484; Wed, 17 Apr 2024 13:40:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1713379232; bh=8CdCbkoLOM64ETDLPCDuh8hfbtnLJSJKF+/qQvbm3Bc=; h=From:To:Subject:Date:In-Reply-To:References; b=LkmAVfVkm1TZbdlcHUGJIJVjVaan12yMDpMzzkYz7CHAoL0DW6aGevlygzyhr+lvy cmFp10UwO/Y/KhyofBzOcksSUKWON7qoBCbyZEx/fqdJs8YeG1oq5i3Uk7xV7xScjx ZLbpymbLnXbz6sYuweZDw8n09IWo6Vm+cpmKs1E8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43HIeWPR057635 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 17 Apr 2024 13:40:32 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 17 Apr 2024 13:40:31 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 17 Apr 2024 13:40:31 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43HIeVeB077115; Wed, 17 Apr 2024 13:40:31 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1rxACt-0004Vw-IB; Wed, 17 Apr 2024 13:40:31 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-ti][master][PATCH v2 1/3] python3-yamllint: Temporarily carry this new recipe Date: Wed, 17 Apr 2024 13:40:29 -0500 Message-ID: <20240417184031.17308-2-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240417184031.17308-1-reatmon@ti.com> References: <20240417184031.17308-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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, 17 Apr 2024 18:40:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/17583 Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time. There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version. We are waiting on this patch to be accepted in oe-core. Once it is available on master we will remove this recipe to avoid conflict. Signed-off-by: Ryan Eatmon Acked-by: Denys Dmytriyenko --- .../python-yamllint/python3-yamllint_1.33.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb diff --git a/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb b/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb new file mode 100644 index 00000000..4b7bd065 --- /dev/null +++ b/meta-ti-extras/recipes-devtools/python-yamllint/python3-yamllint_1.33.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "A linter for YAML files." +HOMEPAGE = "https://github.com/adrienverge/yamllint" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "yamllint" + +SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml" + +BBCLASSEXTEND = "native nativesdk"