From patchwork Fri Jan 17 22:58:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55756 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 3FB2EC02183 for ; Fri, 17 Jan 2025 22:59:19 +0000 (UTC) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by mx.groups.io with SMTP id smtpd.web11.746.1737154758199774274 for ; Fri, 17 Jan 2025 14:59:18 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.41, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-844e161a8b4so87690639f.0 for ; Fri, 17 Jan 2025 14:59:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737154756; x=1737759556; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=axnDlEOcehMVA97rkOoXarvneO5SzdD1Bjohr4Tcw6o=; b=nsqX2RvZWiQSnDtt6p5AXuqBSDhoA25RzCeHK9bmrsYH84RGc6558WwgEqU8HD1cUw 9K8aPBsZteHT+HSIVzfrzXm/TL3nEKIw2C2OIWdFSZlDTcyvkX8ntu7W9EzBmujpFDxo LecHyssRol9e4RVBGnEUAR4sYCF82Hs3LoP6QtjREIH/I4vqnRqlmSwsiNAWhVWADu2N /kz/+T4YdMpb1anju7scWGAN1nBRurQdzkx796bIbhzwW1IumNw2DzuzScbEWCLb2i/e rmRs2e3Qf2eT5aPr4p2YGZtJoaqFk/gCyyP+KkwHuTSHsj5FSfylqauTYemedhnTq9Bl Q4tw== X-Gm-Message-State: AOJu0YwsKD9l7i0xsTSpOaxaJy7tpp2wjM3lvIzFumARSkqoKwSyS79p NtPz4QZEjBxYJVTbzU8bB81q1gG0HIaGBYtqimn04J3fzmde14RdNBxxCA== X-Gm-Gg: ASbGnct50Pl0AkgpPVXXZSz86/IjdkqNkS8kpP+PXH96KmvV1saLBlX2CJzB2ZFDyy4 wN4fbVMZqQ1ShH8omA0OkqAf1oBih0906APfr9VDBJPCBT6UL5VpEgcpAe32i+/IAWFEx6hrG0j YrwzPkH7NjLrqUK3fb5BI9wqruHW2hinrtL7RuJe1Y7/n6aa4nSLjTEzX0uYHc7+MOCV9xBSlaJ Upc9cpJi8lrwvHBqrRfsa7biqRexilzAd26SMLc/h+oOGa+A3OXullroEmyuSB+5igh5aDWXQ7A iq6V9FSqMWrifMb9Kh1zij0Vxw== X-Google-Smtp-Source: AGHT+IEcHusgFSHTlZDxmNDWsNlFUbg141ZZCBMvT/F/Sj6RGMMlGCOAthv1yNpuDf91t6lIwcScGw== X-Received: by 2002:a05:6e02:260d:b0:3ce:8693:72a0 with SMTP id e9e14a558f8ab-3cf743ab5fdmr42127115ab.3.1737154756501; Fri, 17 Jan 2025 14:59:16 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7564943asm865259173.95.2025.01.17.14.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 14:59:15 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 1/4] python3-polyline: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 22:58:59 +0000 Message-Id: <20250117225902.4103075-1-derek@asterius.io> X-Mailer: git-send-email 2.34.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 ; Fri, 17 Jan 2025 22:59:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114944 Signed-off-by: Derek Straka --- .../python/python3-polyline/run-ptest | 3 --- .../python/python3-polyline_2.0.2.bb | 15 +-------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-polyline/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/meta-python/recipes-devtools/python/python3-polyline/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-polyline/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb index 00cb51be4..a91ceb76e 100644 --- a/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.2.bb @@ -5,22 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48" SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += "python3-six" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ -} From patchwork Fri Jan 17 22:59:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55757 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 22F10C0218A for ; Fri, 17 Jan 2025 22:59:29 +0000 (UTC) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mx.groups.io with SMTP id smtpd.web10.810.1737154759778983002 for ; Fri, 17 Jan 2025 14:59:19 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.51, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-844d555491eso80769639f.0 for ; Fri, 17 Jan 2025 14:59:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737154758; x=1737759558; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6cdaUX7lv9Q9BDPQPpBtOBTZ9obPgVMuGLqQiLH3epU=; b=aL2goklVWDOUJ9vOdVeLAuR5434+dQtacqPwyS6VraWK/iGwfxlJQJAy4I+oq+GB8U ERon4GDMelpsJnzgc2BTg6L8XtQYyyZNWS50WzpkzMq7aIyjYJ9m60z0bDNkyTOOHWVj d5hXHZCjsR8PaFcGi9qa1sM2J0RaU57ugO1hI2ROqsjzccS2dPsa30JiDuuzRsrOgmg/ ig70bYwPbMUMmOyeYAyHchzOf3xb4hcnBf9ENZc4gwLdN6im+ccUwpIfn4ANAsMQZ6Ko 5yAXBwZsc/2vRceB+1OaTKKa5qSm+llNXdUFhXAoDfiz0jIM1s4hvOOFNp9iI+VWDMSS oJYA== X-Gm-Message-State: AOJu0Yynpb7XgH7NYHC7VIeFrTJtBWjGaf+6+tHLs/0uywCvSe30VwwE 0Uyfzrh++LLoIXVLkaFK9KGnj7KXjGpjyJtwEtXbvqtW6qHJeRyDV83dNA== X-Gm-Gg: ASbGnctX+YL4IktyrGocAehU9EMRTZLdCioq7KkL6/CpTKUTZdEYkBN4WParwsRHAmI QYJiQ3teveZkWhMMhBCY5Z48nHxnDTcG5N06aNjcp7xRx0jwQG7BwOXg8t1Tv/SIxvik6746Uky b1x/N8QQKuZqNMF5lQ56Y+1RqEwOwr77eg/k1KwKn7qUlSQCXShpfgCP6GqAFk5AawlS4rvor+6 b6/patRZ0xhcGgETxdfKSPVg9LWBbq4UmxstZMaMCbeBILgv1jb44n4g9cvv5uFVVasQZdnfzJx Im0+c2B2K2NVtAYccK+E4ttw1Q== X-Google-Smtp-Source: AGHT+IFtuwuSjda38nf4HOWlQzqhDB4uA5bl2htBd15tZwSO8Q6Qbhn++h4fjEzV86mKmwPVS2HzSQ== X-Received: by 2002:a05:6e02:2383:b0:3a7:be5e:e22d with SMTP id e9e14a558f8ab-3cf743c99c4mr40801745ab.2.1737154758088; Fri, 17 Jan 2025 14:59:18 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7564943asm865259173.95.2025.01.17.14.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 14:59:17 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 2/4] python3-platformdirs: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 22:59:00 +0000 Message-Id: <20250117225902.4103075-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117225902.4103075-1-derek@asterius.io> References: <20250117225902.4103075-1-derek@asterius.io> 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 ; Fri, 17 Jan 2025 22:59:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114945 Signed-off-by: Derek Straka --- .../python/python3-platformdirs/run-ptest | 3 --- .../python/python3-platformdirs_4.3.6.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-platformdirs/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb index 02d8c3cec..c85e12ab5 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb @@ -3,13 +3,9 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI += " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" -inherit pypi python_hatchling ptest +inherit pypi python_hatchling ptest-python-pytest DEPENDS += " \ python3-hatch-vcs-native \ @@ -18,15 +14,8 @@ DEPENDS += " \ RDEPENDS:${PN}-ptest += " \ python3-appdirs \ python3-covdefaults \ - python3-pytest \ python3-pytest-cov \ python3-pytest-mock \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH} - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} - BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 17 22:59:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55759 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 21271C02185 for ; Fri, 17 Jan 2025 22:59:29 +0000 (UTC) Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) by mx.groups.io with SMTP id smtpd.web10.812.1737154760788558528 for ; Fri, 17 Jan 2025 14:59:20 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.174, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-3ce8c069840so19228265ab.3 for ; Fri, 17 Jan 2025 14:59:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737154759; x=1737759559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/y8aEY88Oovz7c0JOSBBjzD5o6qH2PQ8OBws8BMbeKw=; b=xTaNThVEkZpx0VC/dzTirV2dAsnKX/oidRdQUdqvI2HqdsDsOHVjIOXwP1cuqNvMho oPcww4/mC6wm5l1egIek4gVq/JnKr8zbjxGRoflg8lqPYaHGE0si+WI5hb6KXv0+GVv3 zBC6VvE9vRkNnz05SDkO28gD4/oN4S1zNmSx21bubFMJOW5bcL/zatrEXouYeEdL5tU3 VAyShGe1I/OsyYuY+X+5APra7oAA4oIraYkWrc8asP/8kRV6sqWrN3c3hA5m2JtzI7E2 GRjuFWnvUnDcpoO1nseTbuseTkZMYlJvXPFxah23+2lkauTSznY+me1eyQrBgQWSw1Tt 8EIQ== X-Gm-Message-State: AOJu0Yys54Zb8x3PRJYSeCFvcoB7ZS6Ic3sULijSAlNi9fGkr1MrdpR1 mjIHvQ50dQfzZKRPPPOunqMj4rFbWTMrMyjkUV7CkBaINDNbZ0noyvB7Rw== X-Gm-Gg: ASbGncvPZnPKDae1nhZbnzejO9FZ1zMChT0jSn7ajo99avOU7dHjWv/sLd/ht517A5G ftGx4pvYCt3Wzs8CT6c0Q1+KZELxfVjt4EyzQSiN3Vdwhxjvtjcf85noFrlxnfWL4lXFfmAv+39 sMgJwZFZelEKS6hXCbqxeec8OF9tuJd8GhRwDy4M41pij6KEBv/qOXpz2eeXlP6fiw/KzX3dxaT bo/atj4py0EmdmlWbT+UFrLp8B3QfGK8HYoTZd4b0uIZFoU2TBkNwsxI5uaebeIFtdC06luXuDW GKdNhseKKvTR1lDP7wcUhNGZr3fttzIE8WuLKJ0= X-Google-Smtp-Source: AGHT+IE0r2uJr5EbbbtTZL9UA2kVQ0eVJNS3Wd4y9Mqxp171QpMwSH6oswqG0qe9/hhDAVTXlNoqxg== X-Received: by 2002:a92:c24b:0:b0:3ce:67ae:48f2 with SMTP id e9e14a558f8ab-3cf74495c6dmr33839005ab.15.1737154759543; Fri, 17 Jan 2025 14:59:19 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7564943asm865259173.95.2025.01.17.14.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 14:59:18 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 3/4] python3-pint: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 22:59:01 +0000 Message-Id: <20250117225902.4103075-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117225902.4103075-1-derek@asterius.io> References: <20250117225902.4103075-1-derek@asterius.io> 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 ; Fri, 17 Jan 2025 22:59:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114946 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python3-pint/run-ptest | 3 --- .../recipes-devtools/python/python3-pint_0.24.4.bb | 12 ++---------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pint/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pint/run-ptest b/meta-python/recipes-devtools/python/python3-pint/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pint/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb index 88efefff5..1bf62ca72 100644 --- a/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb +++ b/meta-python/recipes-devtools/python/python3-pint_0.24.4.bb @@ -6,7 +6,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80" @@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" +PTEST_PYTEST_DIR = "pint" RDEPENDS:${PN} += " \ python3-setuptools \ @@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \ python3-flexcache \ python3-flexparser \ python3-misc \ - python3-pytest \ python3-pytest-benchmark \ python3-pytest-subtests \ python3-statistics \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/testsuite - cp -rf ${S}/pint/* ${D}${PTEST_PATH}/ -} From patchwork Fri Jan 17 22:59:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55758 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 1FB82C02183 for ; Fri, 17 Jan 2025 22:59:29 +0000 (UTC) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by mx.groups.io with SMTP id smtpd.web10.814.1737154762291583878 for ; Fri, 17 Jan 2025 14:59:22 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.47, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-844eac51429so199459339f.2 for ; Fri, 17 Jan 2025 14:59:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737154760; x=1737759560; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5IG6PTl0d3sB/e0S1PhLKBosg9y7xuu195u2RIqxNYo=; b=PuscsaEYgSf4D1fjqFyu5WQGRyFV+/P3MgC1qXFkbIOQovalS2xtV4cc24EPEBwR/V TD1IHSXA+q/FED9C+QXBypguqhAwziRl9TDgHImFaLrdr3YNWAA0rO4ebm8yhGaRVJej dORXSNOx0v9NDf77aRSqHU/x4vU/mHN9hvd7zqQQ6yCsopTHFb8El3xgw+oS8uBzflVq Gihk3m4HRdu18LtDz8hE8EZDJB9NcqFkA0j12hG9rTsdRKwqHcseJ81iwAqCCJNpXzOf OWWzPM8+d7HAYsPQ6HgOeX5ZDE+O7EdDlrmv4t+gj1SZUfGqJ7c611oHvDO/FxKjgdm+ MeUQ== X-Gm-Message-State: AOJu0Yy01ddqkWZa9gcu7FkP7juOagNQZspvbuTmowMefMA2hNl8QzEs IPDXLGMLu+p5OHFRVFyh7VxdtoSwGlK/kbz52ocCz44kipPlMxA6pkKugw== X-Gm-Gg: ASbGnctBQ5BtAwibHvnCNEGseCWIHxpT3Z+FxTsdylkU4GO7je3r2/MQ49J9mKCecxT kkUjf8V4c3Il86V7A+sClnXgrofXpDrwZTJR8yImAAO+w9M/QsME5nhmSCnMOhZnkWzIkkWm6pr iIE1OIzDQchA2xsf6QySB0NA4lwx/zu+m4riedv4VsylvUn9Au4+tbkDNUEimKh1vpnApeiVPzW mFRJBSEm51aMJi2FJugJ+UKmn+NgIHrnGfAf5SSe2PtgIM1d/0Mu1k5hTwgOTGbHtHSP28C26/y vclaceOsIIlnYxeiSC4RqIuWweBInccHxx0rhpE= X-Google-Smtp-Source: AGHT+IFMPkwB/RwVD5AZxwbBiva1r0uoBtRYov0Q9LUjhX9OAmebglldOBbv4n2kVGnhJSpWvv2SRw== X-Received: by 2002:a05:6602:4899:b0:84f:2929:5ee0 with SMTP id ca18e2360f4ac-851b64f4bd9mr394742239f.10.1737154760651; Fri, 17 Jan 2025 14:59:20 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7564943asm865259173.95.2025.01.17.14.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 14:59:20 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 4/4] python3-pillow: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 22:59:02 +0000 Message-Id: <20250117225902.4103075-4-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117225902.4103075-1-derek@asterius.io> References: <20250117225902.4103075-1-derek@asterius.io> 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 ; Fri, 17 Jan 2025 22:59:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114947 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python3-pillow/run-ptest | 3 --- .../recipes-devtools/python/python3-pillow_11.1.0.bb | 12 +++--------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pillow/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb index 7be15f3f9..f8341c90f 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb @@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ file://0001-support-cross-compiling.patch \ - file://run-ptest \ " SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" -inherit python_setuptools_build_meta ptest +inherit python_setuptools_build_meta ptest-python-pytest + +PTEST_PYTEST_DIR = "Tests" PEP517_BUILD_OPTS += " \ -C platform-guessing=disable \ @@ -51,10 +52,8 @@ RDEPENDS:${PN}-ptest += " \ python3-core \ python3-image \ python3-mmap \ - python3-pytest \ python3-pytest-timeout \ python3-resource \ - python3-unittest-automake-output \ python3-unixadmin\ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ " @@ -65,9 +64,4 @@ S = "${WORKDIR}/git" RPROVIDES:${PN} += "python3-imaging" -do_install_ptest() { - install -d ${D}${PTEST_PATH}/Tests - cp -rf ${S}/Tests ${D}${PTEST_PATH}/ -} - BBCLASSEXTEND = "native"