From patchwork Mon Feb 21 21:23:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3962 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 2DFC4C433EF for ; Mon, 21 Feb 2022 21:24:00 +0000 (UTC) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mx.groups.io with SMTP id smtpd.web09.4674.1645478638985061564 for ; Mon, 21 Feb 2022 13:23:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DbnX3vXT; spf=pass (domain: gmail.com, ip: 209.85.215.178, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f178.google.com with SMTP id w37so8929369pga.7 for ; Mon, 21 Feb 2022 13:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Z4GyW3UYSIOlkficzKkN7ofC8bgCuOL9jtTKLJhGIRs=; b=DbnX3vXT3gAWDfULBvrhToViwFq6stDI1g5exCEGgkHYWK5q/FfaWIBkrah/Nll2tR 4DNghvQPvHYqLmjFf+QJwB1bPuHnhqGuojIGxKOw/jNBo/Cd6T6PqVz898pQfHOgagwA a7jd1vmpaQL9m0XUWNlDLxCK+AwuVMPPu+kpBfBDlzwNPnEzuNo4c2ZN6dCujj+pHJ4/ Byk6cysDCOc3v1m5U2ID5IEs1NvnEZ+vVFeos5v3+wzh5OEwP3ZX3jBvi50qrZ0NWSgH UB02w4gKmVWkphzUfXjXr64K87vg0YykeOOSi/1G7w78l6icKsFGERaVQ36mQoGLLQCk 6EOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z4GyW3UYSIOlkficzKkN7ofC8bgCuOL9jtTKLJhGIRs=; b=QILWCJ2OVG29+//E83QRNFhQccRZiB/V0+3zIYT9WqlcAVU/NK4L+jOG//jxnpFe6G /s1fubnNRQrhn7SX4NjVK2fbI55BXLmE1md3ZP9IvTrWCzgmhl3VLUCxy6W/+KnhJoA7 EzUlD+zUPYnQQB3E9S8Fyf/U+QnM0iLXvK4Rc5DRqPc2aNztfORHfkqtHJkn2nBkP0dJ vQVz+iQrWsIWr0iQHlp+RY4QSOjCuoNNtSNOLE1kghYVvFrUlcaJISCYjALwTz4I66Df x2/dhyS/7hhSNJvjrXII4dVSNUUs8j+1AeTJ3OPitbkL5/W+CggnuH52PdRenQ1mDiQh nxTw== X-Gm-Message-State: AOAM530oMcTRTJQozENOcWbG7SIBps7+BXOHIYNmGB7tdnHYiF30+ikA WcUel/M6mX7kdWZpyH1QKPzIHO+zWeQaBw== X-Google-Smtp-Source: ABdhPJx1NRuQtjhNAP8GQ4ykRx1rGZbcQ2pL9wUJJ+Wgf+AlALMdxL7srNFw+JyFMFY41/+q0qF01g== X-Received: by 2002:a05:6a00:8c5:b0:4c7:f9a5:ebc6 with SMTP id s5-20020a056a0008c500b004c7f9a5ebc6mr22042974pfu.34.1645478638016; Mon, 21 Feb 2022 13:23:58 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.23.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:23:57 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 01/32] python3-wheel: move 0.37.0 from meta-python Date: Mon, 21 Feb 2022 13:23:16 -0800 Message-Id: <2c82b18cfcc34dce08fa4600baa2bbdc046a0350.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162077 This is one of the "new build tools" which are part of pypa (Python Packaging Authority) toolchain. Wheels are the official delivery mechanism for Python packages, replacing the now deprecated Eggs (egg-info). [YOCTO #14638] Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-devtools/python/python3-wheel_0.37.1.bb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-wheel_0.37.1.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 740e5fe55c4..72cd0125814 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -651,6 +651,7 @@ RECIPE_MAINTAINER:pn-python3-typogrify = "Alexander Kanavin X-Patchwork-Id: 3963 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 2ECD4C433EF for ; Mon, 21 Feb 2022 21:24:02 +0000 (UTC) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mx.groups.io with SMTP id smtpd.web09.4676.1645478641450818747 for ; Mon, 21 Feb 2022 13:24:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZnhoOqzY; spf=pass (domain: gmail.com, ip: 209.85.216.52, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f52.google.com with SMTP id q8-20020a17090a178800b001bc299b8de1so399834pja.1 for ; Mon, 21 Feb 2022 13:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=mpwwhqXqkzlqacdHpK5rV/x2IN4b9I44GIVlmd98dKM=; b=ZnhoOqzYurn3MdX5kM1Zm06GQOAEQLA/KRcHCqaHmyovsWQ0Gg0ThS4yu6ZmNhERrS Vw2lS17IKS07z0rB7S7ew3O2grfbN6Jn7fFchJqIOeGn1V5Vy/s1DIO2Dob0Br/UqULy LEfN0GHDztv5CS3zMn7UUVNDpziX1lA6Xl5FGznOQTUwntAWSA1YX1LW5DWc3/7uMCm0 fomrXo7dIC5rYrZpSRDrzcy3oQxaK1n9NDrqQvoKcK44zuCzRsXpL53xiXBUwGqXUCy6 Tl15buSV5iD15FmLORDpaLxMJx06fLPD7YFmmIAXJTTkJYDKokMCGcD22Taxub+q50pg BUBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mpwwhqXqkzlqacdHpK5rV/x2IN4b9I44GIVlmd98dKM=; b=dCL7mOe0cNtJh9pNgNw1406HQk4q26W5xs/qlV62E57ZKq7SNd/bcG6VfRI2/yJFbh dVE9Cd9VSxOO6KlOvPkIwSIKBRTG9WrXfSw3KYt9D6pmZLWISlSSqMYzYFiaeIzAbgya hraMlI1m3I3XHwkxIjTlpMxGVtjY+qbbhTeo/3TF7ra/jenWSq+gv3PNWf2revTYrQoF B52hjYkvjuAYu7Ac5dnE6Zv7YJF6UhPvUuKXD6B7daCMqj+NmYOwVLsZH5pyFuCEM6Ab TOBWX58bTcC+qW1TZpWKOf0t8FefhuuxvGoLzKWKQ9RZpbLMjx88MD+cywt/9a3mQdsk 5Xwg== X-Gm-Message-State: AOAM533ok8Xa6cEUbUv1824c/S0r1mEkEmVVWq9Jhb4FN4GlEMPv/hjf GkPKOY+50cuve+FUz1QmNY8c8ze3udiMfQ== X-Google-Smtp-Source: ABdhPJxpje2YUU+t3/Vyh3vQBV8evNOh/NB34C5x3DMmq1jQUKxtz20hGN/sx5dXdDSleTopVzl+VQ== X-Received: by 2002:a17:90b:23c7:b0:1bc:50bb:56dc with SMTP id md7-20020a17090b23c700b001bc50bb56dcmr830156pjb.140.1645478640520; Mon, 21 Feb 2022 13:24:00 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.23.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:00 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 02/32] python3-flit-core: add recipe for 3.6.0 Date: Mon, 21 Feb 2022 13:23:17 -0800 Message-Id: <13180631fc6ab4d64fcca8e8458d7f8995b0031a.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162078 This is the core of one of the "new build system" tools--hosted officially as part of the pypa (Python Packaging Authority) repositories--it is an increasingly common build tool (e.g. typing_extensions and tomli) as declared in pyproject.toml for said packages. This package provides a very simple bootstrapping method that builds the source tarball (build_sdist) and a wheel (build_wheel). Bootstrap -native by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR. Use pip to install the wheel for class-target. Wheels are the official vehicle for delivering Python packages now. Eggs (egg-info) are deprecated and will increasingly go away. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-flit-core_3.6.0.bb | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-flit-core_3.6.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 72cd0125814..7a65612b7c6 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -599,6 +599,7 @@ RECIPE_MAINTAINER:pn-python3-pycryptodome = "Joshua Watt " RECIPE_MAINTAINER:pn-python3-pycryptodomex = "Joshua Watt " RECIPE_MAINTAINER:pn-python3-pyrsistent = "Bruce Ashfield " RECIPE_MAINTAINER:pn-python3-extras = "Oleksandr Kravchuk " +RECIPE_MAINTAINER:pn-python3-flit-core = "Tim Orling " RECIPE_MAINTAINER:pn-python3-git = "Oleksandr Kravchuk " RECIPE_MAINTAINER:pn-python3-gitdb = "Oleksandr Kravchuk " RECIPE_MAINTAINER:pn-python3-hypothesis = "Tim Orling " diff --git a/meta/recipes-devtools/python/python3-flit-core_3.6.0.bb b/meta/recipes-devtools/python/python3-flit-core_3.6.0.bb new file mode 100644 index 00000000000..d0b88c3fa50 --- /dev/null +++ b/meta/recipes-devtools/python/python3-flit-core_3.6.0.bb @@ -0,0 +1,41 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08" + +SRC_URI[sha256sum] = "b1464e006df4df4c8eeb37671c0e0ce66e1d04e4a36d91b702f180a25fde3c11" + +inherit python3native python3-dir pypi setuptools3-base + +DEPENDS:append:class-target = " python3-pip-native" +DEPENDS:append:class-native = " unzip-native" + +# We need the full flit tarball +PYPI_PACKAGE = "flit" + +do_compile () { + nativepython3 flit_core/build_dists.py +} + +do_install () { + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \ + nativepython3 -m pip install -vvvv --no-deps --no-index --target ${D}${PYTHON_SITEPACKAGES_DIR} ./flit_core/dist/flit_core-${PV}-py3-none-any.whl +} + +do_install:class-native () { + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ./flit_core/dist/flit_core-${PV}-py3-none-any.whl +} + +FILES:${PN} += "\ + ${PYTHON_SITEPACKAGES_DIR}/flit_core/* \ + ${PYTHON_SITEPACKAGES_DIR}/flit_core-${PV}.dist-info/* \ +" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += "\ + ${PYTHON_SITEPACKAGES_DIR}/flit_core/tests/* \ +" + +BBCLASSEXTEND = "native nativesdk" + From patchwork Mon Feb 21 21:23:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3964 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 2A422C433EF for ; Mon, 21 Feb 2022 21:24:05 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.4758.1645478644297075076 for ; Mon, 21 Feb 2022 13:24:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WjyTiJ5q; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id y11so9960719pfa.6 for ; Mon, 21 Feb 2022 13:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=CfHg4DcEJtMZA8euboN687Jj3f+GOy7LRl/b0rjXE5E=; b=WjyTiJ5qRU0OZ24K1YnQHCpoLSA49gji/vT++wlRXYXbJjgtWbt5wP17tS+NAHD/w/ PGp/mYJDyCLKjt6eALhGYPA7ZMHA/NePeI15KUXJqV1jgACnEq0fFqfPPx34lPAT2srm fUZVqc83DBSyPux13Nni4vCL8y7uY1JzU8f0Y67wNIYTzu9S/3U+eW0L+fDcr5EbBC1t ZGPkHcu+Fzc7pjqzRr8NUY6yR+/X3G0ioO0s/LeMGg4C7nS9MGh7/mXhEJyd54pFBgo9 3aNXDTY3tOBtJ/G/PkutHxsa+wUf10chi82QBl2Ji2KEJTGXDC4c5XjUWCdF1C7zJQun VIEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CfHg4DcEJtMZA8euboN687Jj3f+GOy7LRl/b0rjXE5E=; b=oGY1ZvyXW2Sn69QLy5j+O+p9EJ9GXwEyknjV0JScTufYWRD0bEiwUGSijLw/3eNR9s XM9OKBvpwDuYApCxWEHVlbuS9Z1nQ/EgGZyOFLPgG2SBr/Y00lx+rb0nzAblmFArDRPt +l645FuHqjkO440TqMun5jUE02sKWS9v8Tr9S8KBeWlGZOL/BNc6AY/zqqNbLp0bNSLq 5j9AvIXjVHk4dIDH7pGuktgtyFaXwRMftepihhpJniWsOb2IsLsfC9pUN8Wzv+5vt9Qy 3XD1L1lpsuupWMTEQgh1ybaZVlT8gzs1g+xWiUkHUlioudB2WquG+1bnC4YmAemGNH2y nTHg== X-Gm-Message-State: AOAM533aM2W6xlrkKDbbBF+Xnk1EgL/fAx9MJt3UM+xBvEACe+TX9YO0 5wGQtArbD8OaSzfYLJP7iIboaXta+temtQ== X-Google-Smtp-Source: ABdhPJxoUBB61ZXAnMBQ4z7UgtEWe6cHuaSDDid9rNyFzZxGoANmZ93xTJRwt11S1lFy1bx4dZvkQA== X-Received: by 2002:a05:6a00:7c6:b0:4e1:799:7a2 with SMTP id n6-20020a056a0007c600b004e1079907a2mr21506633pfu.25.1645478642849; Mon, 21 Feb 2022 13:24:02 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:02 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 03/32] flit_core.bbclass: add helper for newer python packaging Date: Mon, 21 Feb 2022 13:23:18 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162079 Some python packages now use pyproject.toml and declare flit_core.buildapi as the build engine Use pip_install_wheel class to install. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/flit_core.bbclass | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta/classes/flit_core.bbclass diff --git a/meta/classes/flit_core.bbclass b/meta/classes/flit_core.bbclass new file mode 100644 index 00000000000..0f2eec85d0b --- /dev/null +++ b/meta/classes/flit_core.bbclass @@ -0,0 +1,16 @@ +inherit pip_install_wheel python3native python3-dir + +DEPENDS += "python3 python3-flit-core-native python3-pip-native" + +do_configure () { + mkdir -p ${S}/dist + cat > ${S}/build-it.py << EOF +from flit_core import buildapi +buildapi.build_wheel('./dist') +EOF +} + +do_compile () { + ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${S}/build-it.py +} + From patchwork Mon Feb 21 21:23:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 14181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org From: "Tim Orling" Subject: [PATCH v2 04/32] python3-wheel: inherit flit_core Date: Mon, 21 Feb 2022 13:23:19 -0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 List-id: To: openembedded-core@lists.openembedded.org Backport pyproject.toml from flit-backend branch. Inherit flit_core class to build Inherit pip_install_wheel to install wheels for target We need to bootstrap python3-wheel-native in order to have bdist_wheel available to python3-setuptools-native and the refactored setuptools3.bbclass. Simply unzip the wheel into PYTHON_SITEPACKAGES_DIR for class-native. [YOCTO #14638] Signed-off-by: Tim Orling --- ...roject.toml-from-flit-backend-branch.patch | 100 ++++++++++++++++++ .../python/python3-wheel_0.37.1.bb | 16 ++- 2 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch diff --git a/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch b/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch new file mode 100644 index 00000000000..023de0e6a88 --- /dev/null +++ b/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch @@ -0,0 +1,100 @@ +From f00dd220346773bc088d403847ee7f06f2b4c30a Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Fri, 18 Feb 2022 11:09:16 -0800 +Subject: [PATCH] Backport pyproject.toml from flit-backend branch + +This allows us to bootstrap wheels and PEP-517 packaging. + +Upstream-Status: Backport from flit-backend branch +https://raw.githubusercontent.com/pypa/wheel/4f6ba78fede38a8d9e35a14e38377a121033afb3/pyproject.toml + +Signed-off-by: Tim Orling +--- + pyproject.toml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 78 insertions(+) + create mode 100644 pyproject.toml + +diff --git a/pyproject.toml b/pyproject.toml +new file mode 100644 +index 0000000..749b8de +--- /dev/null ++++ b/pyproject.toml +@@ -0,0 +1,78 @@ ++[build-system] ++requires = ["flit_core >=3.2,<4"] ++build-backend = "flit_core.buildapi" ++ ++[project] ++name = "wheel" ++description = "A built-package format for Python" ++readme = "README.rst" ++classifiers = [ ++ "Development Status :: 5 - Production/Stable", ++ "Intended Audience :: Developers", ++ "Topic :: System :: Archiving :: Packaging", ++ "License :: OSI Approved :: MIT License", ++ "Programming Language :: Python", ++ "Programming Language :: Python :: 3 :: Only", ++ "Programming Language :: Python :: 3.7", ++ "Programming Language :: Python :: 3.8", ++ "Programming Language :: Python :: 3.9", ++ "Programming Language :: Python :: 3.10" ++] ++authors = [{name = "Daniel Holth", email = "dholth@fastmail.fm"}] ++maintainers = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}] ++keywords = ["wheel", "packaging"] ++license = {file = "LICENSE.txt"} ++requires-python = ">=3.7" ++dependencies = [ ++ "setuptools >= 45.2.0" ++] ++dynamic = ["version"] ++ ++[project.urls] ++Documentation = "https://wheel.readthedocs.io/" ++Changelog = "https://wheel.readthedocs.io/en/stable/news.html" ++"Issue Tracker" = "https://github.com/pypa/wheel/issues" ++ ++[project.scripts] ++wheel = "wheel.cli:main" ++ ++[project.entry-points."distutils.commands"] ++bdist_wheel = "wheel.bdist_wheel:bdist_wheel" ++ ++[project.optional-dependencies] ++test = [ ++ "pytest >= 3.0.0" ++] ++ ++[tool.flit.sdist] ++exclude = [ ++ ".cirrus.yml", ++ ".github/*", ++ ".gitignore", ++ ".pre-commit-config.yaml", ++ ".readthedocs.yml" ++] ++ ++[tool.black] ++target-version = ['py37'] ++extend-exclude = ''' ++^/src/wheel/vendored/ ++''' ++ ++[tool.isort] ++src_paths = ["src"] ++profile = "black" ++skip_gitignore = true ++ ++[tool.flake8] ++max-line-length = 88 ++ ++[tool.pytest.ini_options] ++testpaths = "tests" ++ ++[tool.coverage.run] ++source = ["wheel"] ++omit = ["*/vendored/*"] ++ ++[tool.coverage.report] ++show_missing = true diff --git a/meta/recipes-devtools/python/python3-wheel_0.37.1.bb b/meta/recipes-devtools/python/python3-wheel_0.37.1.bb index 6c7a31db9e7..c7354c9d982 100644 --- a/meta/recipes-devtools/python/python3-wheel_0.37.1.bb +++ b/meta/recipes-devtools/python/python3-wheel_0.37.1.bb @@ -6,7 +6,19 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=10;endline=10;md5=8227180126797a01 SRC_URI[sha256sum] = "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4" -inherit pypi setuptools3 +inherit flit_core pypi setuptools3-base -BBCLASSEXTEND = "native" +SRC_URI += " file://0001-Backport-pyproject.toml-from-flit-backend-branch.patch" + +DEPENDS:remove:class-native = "python3-pip-native" + +do_install:class-native () { + # We need to bootstrap python3-wheel-native + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + PYPA_WHEEL="${B}/dist/${PYPI_PACKAGE}-${PV}-*.whl" + unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PYPA_WHEEL} || \ + bbfatal_log "Failed to install" +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 21 21:23:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3965 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 42C21C433EF for ; Mon, 21 Feb 2022 21:24:09 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web12.4686.1645478648029656637 for ; Mon, 21 Feb 2022 13:24:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ms50AvW+; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id q1so5325992plx.4 for ; Mon, 21 Feb 2022 13:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=f+yrujXchKBXDLif9amZDN1bP9shS+koOeijetu2aTE=; b=Ms50AvW+q7nVGxyXUB/KenOmkkFWK9Q+t9B1IotLCNI2XB0iFp8hRfndSWNWPN0r85 LPtBCXJDDZpCsP+dVFdmf8pytTmYh2/rGZz6CkyASA+RHpDAaJb4McHglibMxS16xzOs +9UYy9aDccxy+n2jpdL6FqSRVST91T52Zx2eG4o5DrzcYybCmYoS+/agGYqi3oV4QdLJ 4sWlN6iAUTeLR/Q9xy8+DMZYiY4pZxPGP9ChUVyR2qTkbGygzjmdkpCW36d7kAJSzfmR ivlPor57Xak5Td+Awp13D4ZQ+WNIwf0EjELx1NSUVxdpFlOiUOm0BmOfrWiUTT2zdPMk y8Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f+yrujXchKBXDLif9amZDN1bP9shS+koOeijetu2aTE=; b=t+lgKMuAoax9rBivu3hPg9sP+FXNoVKCk6yiJTnEPBkZAN48m5fYAy8961nG0HZJFs FGWuR0fy/THSfWOCkGoIO8gJA+pT4tENvGikjQduHKnmYk36kXoGzD5iu4Qs9oIIWNwU Q9yngAzwhKf4YL98NWVKASVk5uF8ygefkvehUkE2yz759DpykfZVfVQSdBgFKldh+w8B hkAT/78mrCaSqUZivBofcnaQ1L4fvKTwDdwhTvcmLDTyw+HlNcp7kInncLCYafjKKAZS /IqJFkp+bf75bl4eBS2tfQRxNh2LzzmzTMOGv7p2RFeUhFq0QoAH0KnKHQW31bvbGF4N TUHw== X-Gm-Message-State: AOAM532td9Z1ULhHPeiMjAQysCwIPisUzzrncelCYsGwHDo2PxhNewtC B5yg2Gw+AvY37BNZ4D3E0MM5kQKX6NiUcg== X-Google-Smtp-Source: ABdhPJwTAcYGrHA9YI4E05j713PfhMuoWVi3g48VZF/QIQZka2ms2gdrFN7cEpzOEWfHMuMAcpWi+A== X-Received: by 2002:a17:90b:3907:b0:1b8:c6d2:5376 with SMTP id ob7-20020a17090b390700b001b8c6d25376mr811485pjb.29.1645478646987; Mon, 21 Feb 2022 13:24:06 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:06 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 05/32] pip_install_wheel.bbclass: add helper class Date: Mon, 21 Feb 2022 13:23:20 -0800 Message-Id: <90dfa42cc21c4beec1e02d8efb1855bf4ee96c60.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162081 Provide a helper class to use pip to install wheels built by either bdist_wheel or a PEP-517 backend. Set pip install arguments via PIP_INSTALL_ARGS, which can be overriden by recipes. Pass --root and --prefix to ensure that pip installs things into the proper place in sysroot. By passing --no-deps and --no-index we avoid finicky dependency checking (pip expects wheels in its cache) and avoid trying to fetch wheels from pypi.org. This is basically the same behavior we have now, the dependencies should be declared in the recipe. pip install changes the python interpreter in scripts installed in ${bindir}, e.g. to #!/usr/bin/nativepython3, correct the behavior after install to #!/usr/bin/env python3. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/pip_install_wheel.bbclass | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta/classes/pip_install_wheel.bbclass diff --git a/meta/classes/pip_install_wheel.bbclass b/meta/classes/pip_install_wheel.bbclass new file mode 100644 index 00000000000..c7b62c59ea8 --- /dev/null +++ b/meta/classes/pip_install_wheel.bbclass @@ -0,0 +1,37 @@ +DEPENDS:append = " python3-pip-native" + +PIP_INSTALL_PACKAGE ?= "${PYPI_PACKAGE}" +PIP_INSTALL_DIST_PATH ?= "${B}/dist" +PYPA_WHEEL ??= "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${PV}-*.whl" + +PIP_INSTALL_ARGS ?= "\ + -vvvv \ + --no-deps \ + --no-index \ + --root=${D} \ + --prefix=${prefix} \ +" + +pip_install_wheel_do_install:prepend () { + install -d ${D}${PYTHON_SITEPACKAGES_DIR} +} + +export PYPA_WHEEL + +PIP_INSTALL_PYTHON = "python3" +PIP_INSTALL_PYTHON:class-native = "nativepython3" + +pip_install_wheel_do_install () { + nativepython3 -m pip install ${PIP_INSTALL_ARGS} ${PYPA_WHEEL} || + bbfatal_log "Failed to pip install wheel. Check the logs." + + for i in ${D}${bindir}/* ${D}${sbindir}/*; do + if [ -f "$i" ]; then + sed -i -e "1s,#!.*nativepython3,#!${USRBINPATH}/env ${PIP_INSTALL_PYTHON}," $i + sed -i -e "s:${PYTHON}:${USRBINPATH}/env\ ${PIP_INSTALL_PYTHON}:g" $i + sed -i -e "s:${STAGING_BINDIR_NATIVE}:${bindir}:g" $i + fi + done +} + +EXPORT_FUNCTIONS do_install From patchwork Mon Feb 21 21:23:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3966 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 2AA06C433FE for ; Mon, 21 Feb 2022 21:24:10 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.4760.1645478649649425311 for ; Mon, 21 Feb 2022 13:24:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Guv/IGG6; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id 4so5273516pll.6 for ; Mon, 21 Feb 2022 13:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=m3gEm37hQFtUD3Ua9/H4cKIM7eBOc/uatVaNihsgMRE=; b=Guv/IGG6Lznm87drg0DgZ4kTVGTVZJGDzcJ36XC2AxCV+v9GIesurH/NDLXT7V8vaY HGpdCycXvGzZ2Wd3lRDqBUJ+kbaICxckn9jgIVm5gk4Sa8i3kw8TSff2ncpDx4aDmvEQ JRkbAcBqZy83Fllf4LOfqrYJ/pDoF1eq2T8UPBnf0nfvknLX8t7m+c6rvQm3GRlV81z1 OmSUs6pOg3JqWI3ofBcQia9Fq00xrwv7PzBJAoW2GNoSbW/q8ESIr8nD0MFqA9z3XCGO BGcGdAXP53NCiN0ASyUxn5qXDrox4VLtQyll/Co9w6rFxusJsXr12KIfOC1wg3ZBsm7G 6XWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=m3gEm37hQFtUD3Ua9/H4cKIM7eBOc/uatVaNihsgMRE=; b=YHByVtnWsmydR5jvzVqXEgqbvGdrSgF4yHW0e//sQixLYvHXayd64/BfgwnWpCDDyE WuQ1Y48CkK7tLCPNpe60tnp1V5+5bxHuTFzRzJ5hJFLJctOvL7I8//0fwdqVWVpRJUlZ i+sm59aRoxwAB0N49OIJvOUnGJrqCFLnUywfTRTHnPd0ZVq/Yve3lPNs4kKksbEn2O3H nENmnbzKqmiWzrw9Fkl9v9iP9K4QzU+VSEsZViLj9QyLa3rLwYpangvBdQLVnxsgOkaY NC5ySGYU7KX4TEE/M1u4YZ3/TYBeQQ2AxGIth1eyIMkCVoamKtcz1qej+kQPArd4g3L6 V5Mg== X-Gm-Message-State: AOAM530ZpNkfLHQNgIApxAZ0KhQ2I9soN/kpDATXqAsQNrTtgwzlAlye NKNZuLPTgEEf3JB6DFrVj3sTiFn5EJk4dg== X-Google-Smtp-Source: ABdhPJytm5dicDY70d89RxQbU+p8Q49JhGfBK4yjrvgSmqugTyI1FBg71tSAR34Pf2vLosCGcZ8ytA== X-Received: by 2002:a17:90a:b00d:b0:1bc:5d68:e7a8 with SMTP id x13-20020a17090ab00d00b001bc5d68e7a8mr809196pjq.59.1645478648772; Mon, 21 Feb 2022 13:24:08 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:08 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 06/32] setuptools_build_meta.bbclass: add helper class Date: Mon, 21 Feb 2022 13:23:21 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162082 This class uses the PEP 517 compliant setuptools.buil_meta to build wheels. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/setuptools_build_meta.bbclass | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/classes/setuptools_build_meta.bbclass diff --git a/meta/classes/setuptools_build_meta.bbclass b/meta/classes/setuptools_build_meta.bbclass new file mode 100644 index 00000000000..b1441e65dd5 --- /dev/null +++ b/meta/classes/setuptools_build_meta.bbclass @@ -0,0 +1,18 @@ +inherit pip_install_wheel setuptools3-base + +DEPENDS += "python3 python3-setuptools-native python3-wheel-native" + +setuptools_build_meta_do_configure () { + mkdir -p ${S}/dist + cat > ${S}/build-it.py << EOF +from setuptools import build_meta +wheel = build_meta.build_wheel('./dist') +print(wheel) +EOF +} + +setuptools_build_meta_do_compile () { + nativepython3 ${S}/build-it.py +} + +EXPORT_FUNCTIONS do_configure do_compile From patchwork Mon Feb 21 21:23:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3967 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 2B4F6C433EF for ; Mon, 21 Feb 2022 21:24:12 +0000 (UTC) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx.groups.io with SMTP id smtpd.web09.4679.1645478651369056250 for ; Mon, 21 Feb 2022 13:24:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=U1n4Lz0z; spf=pass (domain: gmail.com, ip: 209.85.214.177, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f177.google.com with SMTP id c3so4240195plh.9 for ; Mon, 21 Feb 2022 13:24:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+2yZqy1fr8VRrMm5t1aaeg8fe6/bYZp2vjxWfBh45BE=; b=U1n4Lz0zuvmzcekccZIsFo0kPdQD9jcWrna+E5yX2Xm/Y90DebNchA4SB63RtAz/DV 1T1R+ILcudPxH+lqBhQCZTcXfg+jIHgB81rDAjfi7jCmzfIy9XCqzA0I48bsS3hqx1M3 dOHGQCFUIjSty2MdkOH0+5i7fTGyCeuZ2HylgxFNjiX8qXHkyj+8b+wHipnGyV4x5ZoW xUAM7n+5JFGlpYkYFnmxr8eGk6kgO5EdCrM5TTIkzm18OxZzBRSRi7cAbL07PTcRpFOy 0nft5fZzBkFvAOe/OTETDMzlX+Ven3/EHRA9+h4VHXCyOE+JDU83wWY2nMnRiDBkOt+I l9Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+2yZqy1fr8VRrMm5t1aaeg8fe6/bYZp2vjxWfBh45BE=; b=Tfx2CEn9A5HZJ2FIeprg279s+8rQJJUWCc9itAM6chrPEFytvyNdWRw+fe7w/9rkzi KTuHXUKNewhPobTLbnt2AA5yqtGx3TqFPoC84mgRP8G0eJtNzBO9PkZfU30JClU9W4Kp wrlZTLORHAiLvn2qqXfd3QdNtsSOTV3WbVyyJjKOW3zaJ2vNKqjvXszhIIGsmm+ot4/S c70ZQHn8DtcXmczAW/cvBBoLln2vhN6w/FU6A9ZWkl21QUsI9PXUE2Q5g49AG9nwr/wH zpTYI2wws3HCzwNXyW0GUzcCuT8PZDUhhv+Fcp5cdT38m1CSvmc5pzIAVSx4oN5H603y JYUw== X-Gm-Message-State: AOAM5330qSeq3TE+qsqfCEJngGdXL+chRVXFDXPo1X7+uRuN0k1gdCOz fR9W3ATx5DZBXoFx/m4PRprWJlOvZTZvEQ== X-Google-Smtp-Source: ABdhPJyOb+4gyCRBJl6NruzoYmzQU0xGjVvmd2M2Ib1XItz+JqOspGXwHn+PgjCZs4Fmuwfhjls+Cw== X-Received: by 2002:a17:90a:1202:b0:1b9:b7e7:1652 with SMTP id f2-20020a17090a120200b001b9b7e71652mr825227pja.1.1645478650511; Mon, 21 Feb 2022 13:24:10 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:10 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 07/32] python3-pip: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:22 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162083 Upstream provides a pyproject.toml which declares setuptools.build_meta as the backend for PEP-517 packaging. We bootstrap the -native installation by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to install wheels (as intended by upstream). [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/python3-pip_22.0.3.bb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pip_22.0.3.bb b/meta/recipes-devtools/python/python3-pip_22.0.3.bb index 889a6bf8adc..482a210ee99 100644 --- a/meta/recipes-devtools/python/python3-pip_22.0.3.bb +++ b/meta/recipes-devtools/python/python3-pip_22.0.3.bb @@ -4,17 +4,32 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030" +inherit pypi setuptools_build_meta + DEPENDS += "python3 python3-setuptools-native" -inherit pypi setuptools3 +# To avoid a dependency loop; we bootstrap -native +DEPENDS:remove:class-native = "python3-pip-native" +DEPENDS:append:class-native = " unzip-native" SRC_URI += "file://0001-change-shebang-to-python3.patch" SRC_URI[sha256sum] = "f29d589df8c8ab99c060e68ad294c4a9ed896624f6368c5349d70aa581b333d0" +PYPA_WHEEL ?= "${B}/dist/${PYPI_PACKAGE}-${PV}-*.whl" + +do_install:class-native() { + # Bootstrap to prevent dependency loop in python3-pip-native + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PYPA_WHEEL} || \ + bbfatal_log "Failed to unzip wheel: ${PYPA_WHEEL}. Check the logs." +} + do_install:append() { # Install as pip3 and leave pip2 as default - rm ${D}/${bindir}/pip + if [ -f ${D}/${bindir}/pip ]; then + rm ${D}/${bindir}/pip + fi } RDEPENDS:${PN} = "\ From patchwork Mon Feb 21 21:23:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3968 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 3E997C433F5 for ; Mon, 21 Feb 2022 21:24:14 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web09.4681.1645478653100700898 for ; Mon, 21 Feb 2022 13:24:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XHEA1XkO; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d17so10006192pfl.0 for ; Mon, 21 Feb 2022 13:24:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=EMGj9MC8SPyFqxQziGiTsoHsvLOOfG3kpD8+GHqh4+k=; b=XHEA1XkOKmLExqXI3CXZwr00Q8T0fWUGGRUXc36V6CrLQRJdjC2tOtkQBnfyUqO8N5 dmNXvGWg0nrgiblcrE04Aw4YE32wjHQIdyQZPfYzCnm4CU0MrFa8hElUKjbOgPhNF8xT +pEg2jn4xDCL2XpmAHhq8idsYJ38V7+xQNNf6qWjXNBRYY0cvUrGd67xRCkjTerbGxJ1 l8iCqSBj9USzb12WAZDsVjFSnjgufoCVsLXgiR6L9GKZgE73bojHf8I6FWLXuaQOcui0 aPpIOM9FmP5x5UGwmO2p53Bo8co8coiafy1J6r1D4+nLUtfVf/vhnGpaXFAvmcl+JOWM 2PkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EMGj9MC8SPyFqxQziGiTsoHsvLOOfG3kpD8+GHqh4+k=; b=PxnvMkViADUj5wy8cyhoW8AdgQRQ3ydF3UL3d1wxoTBM6jIfawi/TNZQHK9cqLLz5r CpfLL5nG3NAfBtnGPk9rgBmSCK2V9kbX4wiLpYNTKEfxZLPuULpsJMhFa5N0TWEan9L6 JxPIJl1HTZfHGroqgRP/Xo+QgHG+rjATSoPWs5A3i9fRlte2+UMVk/hP+VDmmM9+plmZ BnhJ9T9VIM6olEGx9MLNHMW0hSLm7qVa1LU+qFDjLDITzH21t2oIqUDhwolQ3b4YzDkl HYBans5dPzWMEeV0el7bajZlO6e3a780WfhhTbarpzW94SNDpO80Nn95/rMNUSR2Vx3R gWxQ== X-Gm-Message-State: AOAM531QzO7BbDBG3xioM8grmTblBKu9D7wBr68tjRZ20cKw7I+urysM v58PMYGAQ6XiZ2aKY/mDtyr5B3k6a7hcng== X-Google-Smtp-Source: ABdhPJx8eL1IjHHL/IR+BSxnw3ogi2HFrDChFN84WOysUsJazd+ITwTPSPyQey/AYpgbrKO5OmEZdw== X-Received: by 2002:a63:d158:0:b0:341:7eac:74d6 with SMTP id c24-20020a63d158000000b003417eac74d6mr17271099pgj.541.1645478652217; Mon, 21 Feb 2022 13:24:12 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:11 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 08/32] python3-attrs: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:23 -0800 Message-Id: <10f7c55b870870312620aa6ac8dc1a2ff590bd6e.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162084 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-attrs_21.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-attrs_21.4.0.bb b/meta/recipes-devtools/python/python3-attrs_21.4.0.bb index d1dde29d376..20e4541f81c 100644 --- a/meta/recipes-devtools/python/python3-attrs_21.4.0.bb +++ b/meta/recipes-devtools/python/python3-attrs_21.4.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" SRC_URI[sha256sum] = "626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta RDEPENDS:${PN}:class-target += " \ ${PYTHON_PN}-crypt \ From patchwork Mon Feb 21 21:23:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3969 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 42164C433F5 for ; Mon, 21 Feb 2022 21:24:16 +0000 (UTC) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web11.4761.1645478655899762335 for ; Mon, 21 Feb 2022 13:24:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UdQtNZ6y; spf=pass (domain: gmail.com, ip: 209.85.216.51, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f51.google.com with SMTP id j10-20020a17090a94ca00b001bc2a9596f6so387024pjw.5 for ; Mon, 21 Feb 2022 13:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=oJCncBKA5qbLLBPKiBc4Tm+G6oyg4F90VBwS2JXToE4=; b=UdQtNZ6ybvfa4OIvCaqf18miKlUngwZoXyYuUlv1hBMfUgWRiaQfm4yZosVpoV5GCp mEFdfL1PotHMU9oGJOiaPPC7SohGVwjtfEEqGCUq8duNj7L8srl1UeH6i3nKEdxFJgsb PEI/u6ZHJZyiZBuCTs2PE+Yc8hLF/UQhvgkqhSUaJggAArKmTyjj9sgeEdtz1dtLQOAf aiZUQ+KKzwgIufh3P4+Nmjmx6gMqzgYnPYnvpWMtDL3vCcZdWqMW1YKJQxX15XuwAiW5 Q9WdMjzLpEk67OECo4Mx1YoTSoIQUK7xcLw7db5rqhaASu/Sey0SjUU7qS0ubWfPgWFn zLKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oJCncBKA5qbLLBPKiBc4Tm+G6oyg4F90VBwS2JXToE4=; b=RS+SLWPMAE+dcTKFDakVuXBLUQnUI0LzFowMTxttGLohl5pG2vEv2Xt1ieodWONhPH zj2ewl0p66ysOaGYr4p5KAoggcs07tVSSaeOkEVK89q7yoGRTvNjiWx/20c3YTNVN74Q IJJhXn4U4VG4xVa/PAM3qt0/waQ5GuCUhcVlz5AV7orV2e4mWelLwyCCXA9kQ92QElor IYUXsAYjjnPwTJdO83Kx9sV8Fv5hahSL0Q0JB7nqp9bxGOAgdrQh9EhKliORupTQfSIi /KbKFzg/WD6c7jzsLGu3kHVa2EvhD87tfihryzSNqVLeDZ12WLqWqlT55u0bgNIO905K kiOA== X-Gm-Message-State: AOAM533/g9P/WRl1CC3o84m3jzIdeIjmUy/knLhixGxUcgsiur0qhIhn n1tz24cVJxH0ABVvA//kGVbVoRvlmzdNew== X-Google-Smtp-Source: ABdhPJxPHqQHKtd5LPV3dVkmw+dUQy1hbA7zIsmfTYmSOpFMJypzsE8V20JJQeUL3IT4dyzioSS+iA== X-Received: by 2002:a17:903:110c:b0:14d:8859:5c8 with SMTP id n12-20020a170903110c00b0014d885905c8mr20867238plh.156.1645478653992; Mon, 21 Feb 2022 13:24:13 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:13 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 09/32] python3-git: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:24 -0800 Message-Id: <40a6f45f9fd4b6776c26aadb25b5758c9cbc7536.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:16 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162085 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-git_3.1.26.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-git_3.1.26.bb b/meta/recipes-devtools/python/python3-git_3.1.26.bb index b6171a0e4d1..8f4b13cc15d 100644 --- a/meta/recipes-devtools/python/python3-git_3.1.26.bb +++ b/meta/recipes-devtools/python/python3-git_3.1.26.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183" PYPI_PACKAGE = "GitPython" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI[sha256sum] = "fc8868f63a2e6d268fb25f481995ba185a85a66fcad126f039323ff6635669ee" From patchwork Mon Feb 21 21:23:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3970 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 2B668C433F5 for ; Mon, 21 Feb 2022 21:24:18 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web09.4683.1645478657519808259 for ; Mon, 21 Feb 2022 13:24:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Esx3CPnv; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id x18so9969460pfh.5 for ; Mon, 21 Feb 2022 13:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=dNLGngtey9WED5VQilqdbHjZhWopBluU8AH/DrKJCho=; b=Esx3CPnv56fVg/GhSoCf4g2GJJbWuFT7ch9Ibw6+0jz3J7ziRKKd6w0ukkjjs/+X9P k2nnAN+fpUMlyDdAlZuxYS3LXrYPIVEmMUPwf4Cbj24AxpIYU/dK8Cje6Rnx9grsTPxY D9Td9QwsyP5orlgDgXE7Lu5OU6efF6PUY/ffhaVxh3OJuTybmbRyS80RlUTLOap/vUk8 OukMnDXjTFecXdVeJC7zNn0fO0LPLMYYnXAg0RONgYApdJRk6ObwqvbUeElm2qAnImT7 7aJQi7b/G+sRJKD1u2RtC0qZCbkdJMK/D13J8yTm/zkY7VCItEnS6PAsP0+jbhwcIWPh AsxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dNLGngtey9WED5VQilqdbHjZhWopBluU8AH/DrKJCho=; b=2pAnLj22dUWuP6G7uTdU5/Nx3Dk3bRnKmibn0C6pIMjnwBLS4X+Jh9+s2PTAkTx77K inbogpge8ZrC2X0eSHs0pCNFmNHGXlQlEQkHmdYrJG/3CJQCcYSxLCTAWl/yiZ9vL4na PDL8sgblnisOpqpC1wflantmX6jgSP7cMBW1/uBfXOv6IjUL7CwO4JGDn9KrXMZYtBpl xDpPFtMVtIoeHCj0Qgws0b9HLmq3NtqEBpJ2su1aEQmkYhzZNYTm6paE3fCRrUUYjKgp bppBENNAvyDIGzOJn7SSHhs2x+1SXRbG+FQkMx5PzRlQGQYTEbhCDtQtiK1KG1D30icT KC0w== X-Gm-Message-State: AOAM531lYb0XmzGuv9Fh7Km3SI7mSDo86yaYaQfIY272UJnBb2fj+/uX cyA2+oOU05YZvrsFy1xIy3LBRnA+pgqLAQ== X-Google-Smtp-Source: ABdhPJyQY2rBEFxaioubDdw05B5HL9uP5mWuYbPTrHpe8/d/PRp0J/hH9jYVuxXeUtIMvQpT/iPqdA== X-Received: by 2002:a05:6a00:24c7:b0:4e1:cb76:32d1 with SMTP id d7-20020a056a0024c700b004e1cb7632d1mr20712478pfv.36.1645478656633; Mon, 21 Feb 2022 13:24:16 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:16 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 10/32] python3-pytest: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:25 -0800 Message-Id: <15c365924ac146117ca38abdb1542cbea00d227e.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162086 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-pytest_7.0.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pytest_7.0.1.bb b/meta/recipes-devtools/python/python3-pytest_7.0.1.bb index 25014064890..ea6ba80300a 100644 --- a/meta/recipes-devtools/python/python3-pytest_7.0.1.bb +++ b/meta/recipes-devtools/python/python3-pytest_7.0.1.bb @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" SRC_URI[sha256sum] = "e30905a0c131d3d94b89624a1cc5afec3e0ba2fbdb151867d8e0ebd49850f171" -DEPENDS = "python3-setuptools-scm-native" +DEPENDS += "python3-setuptools-scm-native" -inherit update-alternatives pypi setuptools3 +inherit update-alternatives pypi setuptools_build_meta RDEPENDS:${PN}:class-target += " \ ${PYTHON_PN}-atomicwrites \ From patchwork Mon Feb 21 21:23:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3971 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 2B1B2C433FE for ; Mon, 21 Feb 2022 21:24:20 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web12.4690.1645478659273417515 for ; Mon, 21 Feb 2022 13:24:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g0c26vle; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id z16so9981453pfh.3 for ; Mon, 21 Feb 2022 13:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=MbFM/lfHIRRkVJn+qCVJ397jXTQm8/CrUAmSQXaYRLw=; b=g0c26vleXfaNy/ithdeRGYZsZuuBIDtR5rOD8P4+8vZCWqXmCns3VquQCp2UwcQ2lj Pt48XUKzkQwDjCoWYHxXH9bv1qd/bYpKfGbudVGql5H0kGmmGyJSm2kRZ4uYXRBXSTyl LmGK1Re9HH41Ysbe6UaMYIwU9f+niao7z2IQB4HfWcTipJGyh+vtd2ozPXcrxTCwjRqw f829tpyDWfEsnuUcrURkqMGC3POKIENTpU7/8eZL1Uj2AsNCeU/Qfns34G7zTvloS60p oI/MatB9MTl+yRBDW9UGHd0DwR37NMVhFo1z9BKuGE7LvffeV/rf4L1Inkn4JsbM8UWe WaIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MbFM/lfHIRRkVJn+qCVJ397jXTQm8/CrUAmSQXaYRLw=; b=WIiwU9QaVf3/AD9C+O21HHyVMic+wsheuBYySY6ubWiuVg45aJB2TjHwCnc0TQHIM3 x2B6M/YCNIJYjLNQVIRIdsmIYlZJrqJkW0hxu8vOyQY15yOWzVpF6QbqbzCmIYxT2RRh XniPZyMQwg0JPBWu7bve+ULymrVwOF48bteTOoGEUS+IB37HqjHWE+apsstha1oul32V ZVQO6zo8xjJmYuiryXnMaXxiEebORFQ+jWrFN3P0pG+XvdKVL8yXK1iXDjo7u8VTYFWH 0oL1k/l0XKQKAf+zonHlqvnbQBNLqkY9dsTdIgmejfi/S27Br3oxniJ1LYBL5O/yUOKg AEKA== X-Gm-Message-State: AOAM531pPeHC/svnyIu8eUtevePuZmP36ODCjLuk8enyECjt2Cv/Gip7 8zeNBPA7/83S0KQ5Q43wbSx3Ma6EX2lOsg== X-Google-Smtp-Source: ABdhPJzuP9hS+DzBET0+YPKzL0gQ4vUac15QVuyYoR4PbYFNr7/MHBHXaHTF93NbnmENjiPP8d9KQw== X-Received: by 2002:a05:6a00:24c4:b0:4cb:7324:bfd with SMTP id d4-20020a056a0024c400b004cb73240bfdmr21816466pfv.60.1645478658390; Mon, 21 Feb 2022 13:24:18 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:17 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 11/32] python3-setuptools-scm: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:26 -0800 Message-Id: <0ba58b2ff324cb790b77e20580c7a874a018ae8f.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162087 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb b/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb index 10dad5a37be..182ccecbbfc 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148 SRC_URI[sha256sum] = "6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30" PYPI_PACKAGE = "setuptools_scm" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P.*)\.tar" From patchwork Mon Feb 21 21:23:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3972 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 2DF83C433F5 for ; Mon, 21 Feb 2022 21:24:22 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web10.4746.1645478661234724025 for ; Mon, 21 Feb 2022 13:24:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TDhjwKso; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id z15so4218062pfe.7 for ; Mon, 21 Feb 2022 13:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=RtcFMuPclQ4DUz920xLyzHC54n4w5lFOmmvPeqnMHeE=; b=TDhjwKsohGnWYMAUDtfvpKvo7hlti6bXDImGEC+l5ZfsQvT/wfo3UNypd5WVLGMFSL umTv7lUDfQ9/nr9yEAgADmH6fbLQNPHqPUt97paMpQd733zDZmhbHi2rkCheL76TwkuG 9SjkKi4k9UITqXWs9KTUtjG8hCNJAO6fejYzeBT4FnZizmz9Y82IbvnbLhXLnqLQqDt8 p0vZn9bCRz+xCqg7sVafk7uHvhjzRA0/YMaPrBaeEcm5LCuc9Fzd0De39WJ7qaU44O5h iwDyNv6bpSzIsQ/IXKZgRph7wFY5qd0iUZqCvoodAsAXWbz9qRX4Tc2RlXu1BT+CZaE/ yIgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RtcFMuPclQ4DUz920xLyzHC54n4w5lFOmmvPeqnMHeE=; b=KhfIeA3E+kxqvanQ+cg5FelHtUa/K5S/H+7X27xEMUEa1x9Kp0kiEgWWXEmAwv0Rfn SAfZjrUPBATnG7Rn1rnYyeE3Yxa0h5kJ8P+GjX7ZmHqLIKW9OXETN5My0cLwh3z2iX1x FsSp6MhftTZs3qz3T09fINUQaqWS6NXR5i/kxJO/oyKFdCF1jqwqHNv+gBn7NtlK3I6O ZfpLePThi87/PvQcKb90nye+d/xhW20p6qMaiHcUlFSpLkBIguYcDQ+joWqHkXc1Yrxj SLBTwha+Bz3M5GTj7E5sF2s+CDz6TEOhZUda5HYOsMTazkVExyJethyopvvp5us6mK1v LkJA== X-Gm-Message-State: AOAM532kv4T7YnJ17DKkEJz/u9C3ltW19Mhfg7hNKIYuEsJwSie+tJYd AocVRYhEB9qygzZktZNzV7MHZwb4A5gRgA== X-Google-Smtp-Source: ABdhPJy6rgL8PKTUQ8lXOGTCrr9YXUKQgQ6TNTGH83eumKNA4/OEptdUWW7/r6kLPDwJiHN62/pxqw== X-Received: by 2002:a05:6a00:1f07:b0:4e1:3335:9dd6 with SMTP id be7-20020a056a001f0700b004e133359dd6mr21712794pfb.76.1645478660147; Mon, 21 Feb 2022 13:24:20 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:19 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 12/32] python3-zipp: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:27 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162088 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-zipp_3.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-zipp_3.7.0.bb b/meta/recipes-devtools/python/python3-zipp_3.7.0.bb index 9ce987c8702..d0f936faf7c 100644 --- a/meta/recipes-devtools/python/python3-zipp_3.7.0.bb +++ b/meta/recipes-devtools/python/python3-zipp_3.7.0.bb @@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebce DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta DEPENDS += "${PYTHON_PN}-toml-native" From patchwork Mon Feb 21 21:23:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3973 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 2D878C433EF for ; Mon, 21 Feb 2022 21:24:23 +0000 (UTC) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web08.4747.1645478662889552470 for ; Mon, 21 Feb 2022 13:24:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Y+vpeOfR; spf=pass (domain: gmail.com, ip: 209.85.216.42, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f42.google.com with SMTP id ev16-20020a17090aead000b001bc3835fea8so428633pjb.0 for ; Mon, 21 Feb 2022 13:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=2+jhuDVk42cblSxhdfHN9JEWC7uv4FiBqTZZvGgFJdQ=; b=Y+vpeOfRdABhKrHwHm6AgcnVy6KqFWrURSIuctJwvpbYz8JxdebLDdCXV2Jf7UGjw7 yumt0CtHkKkgYACKaKZLhX5rhQNUwLFFJ0r1zG7cO7G1/hOkpwdAtOXTiYklWO/J5UOf hKVX2rXbkuZvT2bqOvMAH5Z5WbaXPSLpyGo6dD0QSEz8uxQ2UFqGa1bjr2UciU+fI9xe yeHjPami6VA2C6VZCzagn17Y/p3sxzQCMdKYbx+1lUe6O5sGjVGRDnSvoZ2schDpTv/h dAbAb84PsV+h54yDKNglWSHkckxfUXTdMPsRYF0GnpvdFA1506GAwgFf6uDdSZfMYm6r LgwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2+jhuDVk42cblSxhdfHN9JEWC7uv4FiBqTZZvGgFJdQ=; b=1avbix1It06hhZ2HTxlDP048h+qVWjGoi5OJtRlQz888AU66OkTrvWj9N2mz82GEBb 8fkeL9TtYMlSz1p09hl5ZZhe/o/j4BRtOknGl5F29QbOP/j9NioIZu8CzQgKMz/d+f0n oH3e61aEQB/QLoMEWdkwPP3ItBYx1S6JHiSoOXSbfhNzZMi/g2lFO0BYAVVd32YczMy/ w2BvFHCkvNjVnnk0VKWKnNFC0KmBpwDOU7qQqByuAxelIwcKmFglcOTEIJk/LnzekVEg IpZ+IEyxTo3pB3JRsXRdB6I1zlzfklI3+16iEFneEKXi7jTSssnJCvjQ1MTLhWxbyp8I AcKg== X-Gm-Message-State: AOAM533fl5wmi/moL2gauc/sGgZGI8HeYB0XRat7JdW0cbZmojMCxFD7 8GXQ2AfXS6wE4KE77/H/B4p3lgvNxD6U/A== X-Google-Smtp-Source: ABdhPJyQEeyia21gKxd22ZYxdjn6hTXFKbvf2vBJH7QuTBieJ7W511v9W3zj7XeG3qAf/fQnLDimWQ== X-Received: by 2002:a17:902:ed83:b0:14f:c969:7669 with SMTP id e3-20020a170902ed8300b0014fc9697669mr4073715plj.96.1645478661918; Mon, 21 Feb 2022 13:24:21 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:21 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 13/32] python3-iniconfig: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:28 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162089 Upstream provides a pyproject.toml which decalres the setuptools.build_meta backend for PEP-517 packaging. DEPENDS on python3-setuptools-scm-native (as declared in the pyproject.toml build-system.requires). [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb b/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb index 6b3359712f5..5338980e699 100644 --- a/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb +++ b/meta/recipes-devtools/python/python3-iniconfig_1.1.1.bb @@ -7,4 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" SRC_URI[md5sum] = "0b7f3be87481211c183eae095bcea6f1" SRC_URI[sha256sum] = "bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32" -inherit pypi setuptools3 +DEPENDS += "python3-setuptools-scm-native" + +inherit pypi setuptools_build_meta From patchwork Mon Feb 21 21:23:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3974 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 2E025C433EF for ; Mon, 21 Feb 2022 21:24:25 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web08.4748.1645478664469097120 for ; Mon, 21 Feb 2022 13:24:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MO/iy3W+; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id v4so16351712pjh.2 for ; Mon, 21 Feb 2022 13:24:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=X4xVXeduiKApS5jdl9z3vg0p3yiRh7xu17Yg0fxqzdw=; b=MO/iy3W+N28g/7TmO1BshWU44A7mmUdibplKab4s36ymcIWnx0OYEcL9kmyG3VoH7S tByt5o4qy5hy2FYeXjpEK1WdlcIugpeXVPm2Uv1iawKOXOy3bQeLmKT6WxVZYzHLavL+ 2HDiZ/b88tlXF6y8E8Z7/Nh7V5YyVr1NXG6lHP8vZmf6ulej/VhFBbB3xCSbjoCP8bLg 7Vjk3PKIGTFLnwcJLBS0oiYBOaKa0K2+6S7F7rBMNN1E9ebCbzEgiKHUzrNnBz1YDz2Q +gYV4lOpcxtKzTxcnfiNDHyPoVWAQHyDzHHBwg+xm0ZlAZuRM25nG96bb8HLNzjqDux7 Aetw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X4xVXeduiKApS5jdl9z3vg0p3yiRh7xu17Yg0fxqzdw=; b=MqwroMZMmgBFAXf0IYO9J52VYlYl02j6RW7UcSHmaWKGrWSqxa4YKs1SUvb79kNlvx xJc8EahBlXBAl8JXvsjECZaB7M4fA4/M2iVjTQz1L2SjyX6M2g0HghBY8MvWyzxyq4hi 7Abj99YIs3S+EIFP0ZpYsQqjQaMK3JHfdjTV1Qre3pGXRjbOPHMj4dgnBTVPteoAy+cg AHg6n/w+48/0dpqN4X5wu4Dl1gtd2DFT27+61Ebqdg4Z935Y/tiLIahRxqFToi4IH1R7 rQ7OOEFE17qHou8irA+iureioMXWCVfTN4KYypwrtAtjQaWtatzfY+QuvDzSXqjk9oQa 6cYw== X-Gm-Message-State: AOAM530jChIbawy26ON/wVBaYVI1EEbjdFGi3jGrf5XwV02uRqYKFqQn AR+zUAIZDqLRadz3GREbi5mdnAd6y1wzNQ== X-Google-Smtp-Source: ABdhPJxnK0BueMfuX47OqiOIhVrclQqrWZVpw5y5xbCESupVkNp+JnFDsVQz0c3v+7YbCgjLc9FXdg== X-Received: by 2002:a17:902:e84a:b0:14e:d70b:92d5 with SMTP id t10-20020a170902e84a00b0014ed70b92d5mr20192181plg.94.1645478663556; Mon, 21 Feb 2022 13:24:23 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 14/32] python3-py: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:29 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162090 Upstreama provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-py_1.11.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-py_1.11.0.bb b/meta/recipes-devtools/python/python3-py_1.11.0.bb index f8be3935e5e..02027248f46 100644 --- a/meta/recipes-devtools/python/python3-py_1.11.0.bb +++ b/meta/recipes-devtools/python/python3-py_1.11.0.bb @@ -7,7 +7,7 @@ SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4 DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 21 21:23:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3975 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 2BBEEC433F5 for ; Mon, 21 Feb 2022 21:24:27 +0000 (UTC) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web09.4688.1645478666262853226 for ; Mon, 21 Feb 2022 13:24:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nYoH67lt; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id z2so5241385plg.8 for ; Mon, 21 Feb 2022 13:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=1dEeEM7O/kcVvEVIjSYLF/yWoBvDrNA8gSBfwiQVOSQ=; b=nYoH67ltsILMZnLETzGJOL0fjC5SV4Q0qEEoVJYiBeKPgOI999Esmm9lhXstoKxgJb 7Px15sRS7BhMJgumnXSHJ62BNSLUnlpgTOdJqQOzS4jp2I2CfAiYtZcIBLXnWyFKCB+f knmwFTePr0+DgZ6uSGD/R9izw1oTmFoMEREjEI82VSrZ3KBmgDy4s0uJ4nCZ8i9aahbu IqFk11Ud1mhlzHf/emCbvE64lsMf5pI5yrvRGT44yrymkiHbHN2h/cayX6piJDejxnfk l+4MvFyOyOKZ1e6s5371AGtRAa4hu+l/HjPam5jlLNvNntkBKo2cH8Z3k5Pno1f6ks2m sCww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1dEeEM7O/kcVvEVIjSYLF/yWoBvDrNA8gSBfwiQVOSQ=; b=FGCas4Cx59/PBQYwlsO7QKqL0uUEeepgBrlE/bAGujNNou8v1FXhl0JEx2N5ZrIa/G D1pCQ6MlqDmzHh+6oGUI1THmedKKQoQ/uX5vJY7+K5pUNM2jQoRlnu9ckreZMRMGYeeS ZszyBjfntEBvUCBsEmL1aRD1caprEVqFJUKwotEWRu0KdaMg1Zed4V7rQtJgHjhb8lcc YskrTScPv2petA87S0HCDykR6Bu+85cHxAY0zBjN89H2kxbr3JEoZlTB0/ehA3FXOqRf uUx4kmMQFIiT8opRCISrvjlLxwGQv6n7IKlK0YlDFMblOrJP9jsBuRlntirn+RUJM453 s3UA== X-Gm-Message-State: AOAM53359BQnJ0wbB+qQ2o1rMd4dHQut2IgE2cMi3zwGTSAwmcKDydzH Vg7d11L7hITx6oaI+EK13x9k+AG7qf3uBA== X-Google-Smtp-Source: ABdhPJxRknd2qnHHrmLvOR6dLIw317T5H9xLc9TvSMwdUTwJ2BpIJUT+o4i87ixRGj0OMquEVeHr+w== X-Received: by 2002:a17:90b:fd7:b0:1b8:c872:f98f with SMTP id gd23-20020a17090b0fd700b001b8c872f98fmr826701pjb.170.1645478665371; Mon, 21 Feb 2022 13:24:25 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:24 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 15/32] python3-pluggy: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:30 -0800 Message-Id: <83fa9f1f76db0dbaec4e649bf19032496f5e1da3.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162091 Upstream provides a pyproject.toml which while it does not declare the setuptools.build_meta backend is compatible with it. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-pluggy_1.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb index 14a7ccb0b0d..73bbcb02697 100644 --- a/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb +++ b/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb @@ -10,7 +10,7 @@ RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \ ${PYTHON_PN}-more-itertools \ " -inherit pypi ptest setuptools3 +inherit pypi ptest setuptools_build_meta SRC_URI += " \ file://run-ptest \ From patchwork Mon Feb 21 21:23:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3976 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 32E8EC433EF for ; Mon, 21 Feb 2022 21:24:29 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web10.4749.1645478668099604157 for ; Mon, 21 Feb 2022 13:24:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VXPCwa12; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id p8so9955616pfh.8 for ; Mon, 21 Feb 2022 13:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Io8PgCmDlTZyyvDqmbFEsfKf0u12OM5JWyMWxv8+SUE=; b=VXPCwa12oC5aQsMEwB/KZki85L1gnAVzgssDZiasZ/FjlLM2wJsYHBtI4BeqGdYprh euldlWJg0As4ZwI0Qv+NcgAQHcFkqsmYKcL93qEQ1FvevH5zAasqyM4Whn1Looqrt4CR H6CtvvVW6zwtEn0WW0NqfoVl2nvfb3wWArHVPwKT0gUw7FGdSYfGb/VY/F4uqi+YBLfY 3npC/gKLGaKEweEt8ZYfw7xehHGUk1X7oVM5gdBZy1s0MJjHC/512w02ulYL7iIwbyAX l2xZhjzorQnTH+HYNppsOB4wxjRQfsmTQxss1UOwN5FzlobQtsUcUDOM0BExU3cIEwmP e1Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Io8PgCmDlTZyyvDqmbFEsfKf0u12OM5JWyMWxv8+SUE=; b=p3AU/7r0adQkCZHt56WKhLXyIWsp6pW6K1CEREXRkIlg0YIL6EP15YjRvI9xzbCmSf jEnVSR1+84Wa690DUVoGuAx5WTvUeMVTxAxQDJdYoSti9eF0/xWE5J+/2sMUQSbtdtfB HjZKc6GAFbIkXDydJz/gmZ9Ur590NrsEg6Q0lSF3ylmRsouDnF33a5xnobbyCqGiHyvj TCUsLge5+aDEZYvYmOdWDv/B4gysDEfsdbsDq3qAFKZOgj6lXAnpA2rVT1O5PLqPwthJ Fk6E6r6TqxAIuocL5BT76JiAZ68BkewLKTd1zkuZB+jcPsmI0/8y6o2Zdlj0QS677cNp jcow== X-Gm-Message-State: AOAM531WWofACPUlz/Nyzh9Z6afU5WAdXHiX5ZwMtHqYYpVggcl4Ul5S +0qxgqqZbAi6LQZY1x2ycS2QGHqVorO5Eg== X-Google-Smtp-Source: ABdhPJxVwvH/wcdVnHcH0d2gKRpnElHjo6O96pkF7Hg7po2XolJ//61uOs9xDJiCalY5CtBpBeG5Qw== X-Received: by 2002:a05:6a00:2181:b0:4f0:e8c5:aec2 with SMTP id h1-20020a056a00218100b004f0e8c5aec2mr17407058pfi.40.1645478667160; Mon, 21 Feb 2022 13:24:27 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:26 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 16/32] python3-setuptools: inherit setuptools_base_meta Date: Mon, 21 Feb 2022 13:23:31 -0800 Message-Id: <0006a170a7d9555574892e752bfbc02e75c6690e.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162092 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. We need to bootstrap python3-setuptools-native, simply installing by unzipping the built wheel. This avoids a dependency loop. [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/python3-setuptools_59.5.0.bb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb index 33ca928c3e5..2155101d305 100644 --- a/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools_59.5.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=19;md5=7a7126e068206290f3fe9f8d6c713ea6" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" @@ -17,6 +17,19 @@ SRC_URI[sha256sum] = "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2f DEPENDS += "${PYTHON_PN}" +# Avoid dependency loop; we bootstrap -native +DEPENDS:remove:class-native = "python3-pip-native python3-setuptools-native" +DEPENDS:append:class-native = " unzip-native" + +PYPA_WHEEL ?= "${B}/dist/${PYPI_PACKAGE}-${PV}-*.whl" + +do_install:class-native() { + # Bootstrap to prevent dependency loop in python3-pip-native + install -d ${D}${PYTHON_SITEPACKAGES_DIR} + unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PYPA_WHEEL} || \ + bbfatal_log "Failed to unzip wheel: ${PYPA_WHEEL}. Check the logs." +} + RDEPENDS:${PN} = "\ ${PYTHON_PN}-2to3 \ ${PYTHON_PN}-compile \ @@ -38,10 +51,6 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-xml \ " -do_install:prepend() { - install -d ${D}${PYTHON_SITEPACKAGES_DIR} -} - BBCLASSEXTEND = "native nativesdk" # The pkg-resources module can be used by itself, without the package downloader From patchwork Mon Feb 21 21:23:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3977 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 34142C43217 for ; Mon, 21 Feb 2022 21:24:30 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web10.4750.1645478669778505100 for ; Mon, 21 Feb 2022 13:24:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=obGZsyAt; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id y11so9955600pfi.11 for ; Mon, 21 Feb 2022 13:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=JFBDtiyUBEaYHDGlHhmGIqP+Prn5NIIWPCr2pMfnyXo=; b=obGZsyAt6cIQ6HHqWO0Sy5fnMhEeJs8S2Sb/KC4CWs96xGI4TzRnMR6YcGn1qaDOTF u+KKSf0WuALi7DquCRhQsXfdAaBITnwLwAeDma6bb/L90sOBSy1qDgTBDzDW74365u0Y CvUmt5aCStNcBu8AH7meWG+RK3yxNAc+hcJ9ItwdoRMWecwOCTToAb0Jj8IwF6IT+z8l 91Ow6tjK7IIjg7SHNmbN6VujYt3UfLxTK/xGR4WKxCdF+HnRwz8hz3le6A1SoSHISlWu VngUjLRVKwsQRFGXaXVzmT1FvV9/Ire5MCKd7T01RSMh4LP5GOuqr0fZVHMjF0Z1g8AG Plgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JFBDtiyUBEaYHDGlHhmGIqP+Prn5NIIWPCr2pMfnyXo=; b=DLQcmQpJyooI3moV0Y6Ee9Wq/u/3gwV7EajZQLUXFjLNWwnNMbkFY2+oRVvc3eKCRM nAgB01LnJLimu35Rp+/bmaGEJ9MZC7IiFIPT/Z+pCXqfF3PrIVGd3rPYpo07Sn5n1NcE hjWckYzZEI/vtCDmakh/N8qS3zdZbvkZIDuy4T1WsBuq7qxjP9dsMrvKtT6Zy8IrmwXa ZZ8+jf4xWQ+iqRx/PQ5frwp9M1stt6aGi9rrauWz8gLX/RU2npQtRBRtlU3Ruu/eS39C WgNNkxOT/MhcF0FTwWAK9m5gHr6h7YxJcWjxUoRKeXQvp+DteT73fZ2aDKp54sX4Hr7b tlxQ== X-Gm-Message-State: AOAM532FWFDPof0WdRmQTGKxf8E1pn6pUzdloX1LDr7pXmN123TVUVIo 4rMTeF2wJNKm7XYZjcwMUb5SELMGclLezQ== X-Google-Smtp-Source: ABdhPJzeeiE+qanItBNXo+8viIHOshZT8/13TkZL5SXzzcgrOLrXq0xCgs4o2pIYCUCiMFTWrIs+hQ== X-Received: by 2002:a05:6a00:2182:b0:4e1:a254:668 with SMTP id h2-20020a056a00218200b004e1a2540668mr21559625pfi.73.1645478668828; Mon, 21 Feb 2022 13:24:28 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:28 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 17/32] setuptools3.bbclass: refactor for wheels Date: Mon, 21 Feb 2022 13:23:32 -0800 Message-Id: <30311601ac7c33a799f8d13cdce4de90f780a4e9.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162093 Depend on python3-wheel-native so that we can build with 'setup.py bdist_wheel'. Use pip_install_wheel class to install the built wheels with pip, as intended by upstream Python. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/setuptools3.bbclass | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass index fd8499d26c7..12561340b07 100644 --- a/meta/classes/setuptools3.bbclass +++ b/meta/classes/setuptools3.bbclass @@ -1,6 +1,7 @@ -inherit setuptools3-base +inherit setuptools3-base pip_install_wheel -B = "${WORKDIR}/build" +# bdist_wheel builds in ./dist +#B = "${WORKDIR}/build" SETUPTOOLS_BUILD_ARGS ?= "" SETUPTOOLS_INSTALL_ARGS ?= "--root=${D} \ @@ -23,20 +24,15 @@ setuptools3_do_compile() { STAGING_INCDIR=${STAGING_INCDIR} \ STAGING_LIBDIR=${STAGING_LIBDIR} \ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ - build --build-base=${B} ${SETUPTOOLS_BUILD_ARGS} || \ - bbfatal_log "'${PYTHON_PN} setup.py build ${SETUPTOOLS_BUILD_ARGS}' execution failed." + bdist_wheel ${SETUPTOOLS_BUILD_ARGS} || \ + bbfatal_log "'${PYTHON_PN} setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed." } setuptools3_do_compile[vardepsexclude] = "MACHINE" setuptools3_do_install() { cd ${SETUPTOOLS_SETUP_PATH} - install -d ${D}${PYTHON_SITEPACKAGES_DIR} - STAGING_INCDIR=${STAGING_INCDIR} \ - STAGING_LIBDIR=${STAGING_LIBDIR} \ - PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \ - ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ - build --build-base=${B} install --skip-build ${SETUPTOOLS_INSTALL_ARGS} || \ - bbfatal_log "'${PYTHON_PN} setup.py install ${SETUPTOOLS_INSTALL_ARGS}' execution failed." + + pip_install_wheel_do_install # support filenames with *spaces* find ${D} -name "*.py" -exec grep -q ${D} {} \; \ @@ -64,5 +60,5 @@ setuptools3_do_install[vardepsexclude] = "MACHINE" EXPORT_FUNCTIONS do_configure do_compile do_install export LDSHARED="${CCLD} -shared" -DEPENDS += "python3-setuptools-native" +DEPENDS += "python3-setuptools-native python3-wheel-native" From patchwork Mon Feb 21 21:23:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3978 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 2E914C433EF for ; Mon, 21 Feb 2022 21:24:32 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.web08.4749.1645478671327211980 for ; Mon, 21 Feb 2022 13:24:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XPK6TYBJ; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id x18so9969868pfh.5 for ; Mon, 21 Feb 2022 13:24:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=KpabGmJjjk3K+/jFXIE88j1atOrJNVNNgrpdrYZkKAg=; b=XPK6TYBJyMH554OtoLzWToRkp6Xab/Il5+QHvrSeBcqqP847uCxScMzFehS/7r5LAj p1aABRmHVMo/tYeHVSP5urFcmjTPbuZSVgvXZuuvs3Vvw8bUshrpcuNIGfJR5Nx8RQv4 AbHvjJis+BQagnZI1KOy2KMcOmHsJny+LHAzVBtEZ4wS6nh2n/7SMYQI6+GnmKegLZiV /+pAf+2HJ2ikGGZVrAvucbxZEQepUcxauK4f9EqEsmbcU83X5mmJVDySL4GvzBg4KNQC lKAXk4mmEqXpj03dd5CBS19jaKWnBnr4IFW7Gf+8jYetVVNNCn212gOJvJG8bB2XPjwB 39sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KpabGmJjjk3K+/jFXIE88j1atOrJNVNNgrpdrYZkKAg=; b=veOO5LfJnOMzHAZfHf+dqr8pE8PIP2iFJnu7EQXMGhPUyn80rYGj/XtO95J194VzHt Ot3Q96A3U03gAZ908wZrkPGH0xLX7ZfhdNA3Wvk9V6dmNHOVcPyQTbddHtoY8WcZH7Hw CcPdubPO1dnlzwE89LQV+UUfuK14R1GM9HJZnq55/rGrETseI7H7mXZHpo2Nc56ZbwQ0 2+ar0EEquLOEp9ybuuwVz4bDwiTwmOcHH5LQyXL26k6oM5gv5T55tL/en/0EuwkpsoUp uY6/EpE04GH0oMKQ6h+xaqiJ8xsEiF/6abU8kezJ0iIZ1UsbTj+9D/W9mGSE05wKV0Z0 CO1g== X-Gm-Message-State: AOAM532Tu0A2YvUTMd/AYu9Kq3xVoLGLbLReW3e0rugiIiaqL/Z012bG wwM3bscIVi+gdXs/Ab62wOuP/0pQPeWBsA== X-Google-Smtp-Source: ABdhPJxCgKB/Y+xJFww9khcFiVkTmpofIBoi+/g6ciS70bU6Jwn2eA2LQeicagRleIEusoCMY6voWg== X-Received: by 2002:a05:6a00:2492:b0:4cc:eacd:58ea with SMTP id c18-20020a056a00249200b004cceacd58eamr21856929pfv.21.1645478670429; Mon, 21 Feb 2022 13:24:30 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:29 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 18/32] python3-more-itertools: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:33 -0800 Message-Id: <79407e3f04830ed6305ef9b5ecc18c06bc712624.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162094 Define PIP_INSTALL_PACKAGE as more_itertools to match the name of the wheel. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb b/meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb index c1e34b205da..5788af3f71e 100644 --- a/meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb +++ b/meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d24 inherit pypi setuptools3 ptest +PIP_INSTALL_PACKAGE = "more_itertools" + SRC_URI += " \ file://run-ptest \ " From patchwork Mon Feb 21 21:23:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3979 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 2F631C433F5 for ; Mon, 21 Feb 2022 21:24:34 +0000 (UTC) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mx.groups.io with SMTP id smtpd.web08.4750.1645478673263865281 for ; Mon, 21 Feb 2022 13:24:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FEOZSyHa; spf=pass (domain: gmail.com, ip: 209.85.215.172, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f172.google.com with SMTP id s16so15294164pgs.13 for ; Mon, 21 Feb 2022 13:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=bIWn95NH7ZZ5EAPah4d73bWVjBR5j0CeQlwbjz5AVy8=; b=FEOZSyHaiOCtkTSsuBjqMgoFbbsiIaCne8fOnDczG6eQb9HHooXCvaBKkHyvCuA5cj qhVidrVwwj147j9K2HRcm6Ucm7dZxhPJVoObuc82Z7eLEOkNrrBo/ynnyvy+pMtPXJlO XY4lNKGPXdZyZ8nZFUzPIT16Upwt7+8RsFPaHMJS6Uxt3AKxPzAoQiu750ZYyzAW/Dwr 3cquNeTjt5OafEqgq8z2e+bFNP9lMq7hRs3U1x+hq78mh0rbkvJfRxbabhWawl9/G3Em qLrFsBwfM3QYBOEAUabxSYSHJsDaKpBOCZIQXutz3EUm5l3t0pOQqBldL2drL081SraF e83g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bIWn95NH7ZZ5EAPah4d73bWVjBR5j0CeQlwbjz5AVy8=; b=JX6Lp63ewprvtc3jxrX3KX9wCgGJUem/3egOsOozkfAYS1s0otI/+QUWcyDtVZOjtz 5gAJPwtoGJd7DaXljb/CTku/lqGq1NeytWKzjsobs2KY5f59WDidRCOGiIr82wW5Unf+ OAm31LGOVSwkvxETSgmLUXSOQ7UBaRDahUe1cQdx+IdiT9zXJQJCDvItlBLqTOF84PrW N/Yy/snHY4kbzezwm1w4b/w4rxqykYio+NbyWkkf8rDrGxzyX15cKH3dFdBF6AatOtbh hRQ/F4AnXXsQJm9H77h/CgAbODRUXw9yW6K/Uxj7QtXGlBcZVc9YZbJGnc11Ewk3MUdG JBRg== X-Gm-Message-State: AOAM5322A/zSEvEfvceFLtXf3251yzrmUVux8MpfnPU0V2DLZLuSNkaP 6j6FgKTN5KVfz7CZhBHo5Gxj5dGx5dij4w== X-Google-Smtp-Source: ABdhPJyKBi4nbfHbE5RLll7Q9mZFE0Ez2wZv6zWPTJ8Jesl9ARpXNJReD1cxADEGduFnqg3PQrZh0A== X-Received: by 2002:a63:8649:0:b0:34c:3be:ba14 with SMTP id x70-20020a638649000000b0034c03beba14mr17445071pgd.139.1645478672345; Mon, 21 Feb 2022 13:24:32 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:31 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 19/32] meson: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:34 -0800 Message-Id: <82c32de14862300d7171690ae2568c7af386be19.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162095 Upstream provides a pyproject.toml which declares setuptools.build_meta to be backend for PEP-517 packaging. Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and therefor no PYPI_PACKAGE is defined [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/meson/meson_0.61.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/meson/meson_0.61.2.bb b/meta/recipes-devtools/meson/meson_0.61.2.bb index 45938af6ffe..a51db1e3d44 100644 --- a/meta/recipes-devtools/meson/meson_0.61.2.bb +++ b/meta/recipes-devtools/meson/meson_0.61.2.bb @@ -21,7 +21,9 @@ SRC_URI[sha256sum] = "0233a7f8d959079318f6052b0939c27f68a5de86ba601f25c9ee6869fb UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" UPSTREAM_CHECK_REGEX = "meson-(?P\d+(\.\d+)+)\.tar" -inherit setuptools3 +inherit setuptools_build_meta + +PIP_INSTALL_PACKAGE = "meson" RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources" From patchwork Mon Feb 21 21:23:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3980 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 2EB9AC4332F for ; Mon, 21 Feb 2022 21:24:36 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web08.4751.1645478675092367186 for ; Mon, 21 Feb 2022 13:24:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VZ21f1FJ; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id q11so4080116pln.11 for ; Mon, 21 Feb 2022 13:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=gH28zEYuX4dIu22F5ySRqNxKqG8OHTnBjYzGU5MdKwE=; b=VZ21f1FJOsJe8BYwcfZCnVOft+Pd2L+aUw2QByf6SbhN03/fMdYkPoLGBWLs9zhdgM /IW8JOK0laiiMxLp+v1wSEd83DyHERptE+5mVmcEwpvELaXEgtBgTlP6YB5AHOyWLiYQ sdrgRoeFnTSyY7i83XgCyZ9IB+4eOh7jtUh6jUdyTI/Eb0SOVeNTWQW/nz/gIPLeEaCz nvu1wbaXrAkGSbUnmnrj28lrRlVlA/RgrVYO2qB7URPFyAjkLHe/f8aIMFYikyVLrAhQ 1mh7B+ecYn2kCkQ/Wdm3PjvEn+oodW74os1HDSCMKgBmaw7xPjfvTkUXBjRo6Ho6kB5L WcFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gH28zEYuX4dIu22F5ySRqNxKqG8OHTnBjYzGU5MdKwE=; b=VgxpuxHbu6Jx1NMf5OJ/szPMzOvbB7wD8tKuQBiHJzrcL7mq4FfGb+M4pdym7VNp2u RL6zPA3K0YHicHxOwj2N417ic/zZWKIVpsVy5IjPrhhzwf1rFS5/MhOwXsoHhMhAoN0S 13bfsyGH4p0az9hf7aTkZMq7T6TkU8HsZ5e9PIrbEglXuzfMOooZVom/EHzUDnawNGbI X9/VZrhsKjOKk3JLq9ltCI78VwjR0YHyOK9X7XtaFWIEpextl79+fvtaoI7YiNSuScfJ vfSW7PRj9RyYNP71ISMjoZa9QFjJotctdlJIEm5Tm2C45F6Mp3fxslYvOp//FPvqGkpo IrPQ== X-Gm-Message-State: AOAM530kqFqYm+6YZhuUS1HoWcx8jZvB8tOse5Vwa4CMVbsrhLkNUl1y +TD8ItNDAvZ8PmTUNNp+xWaLeY2HTcDeqw== X-Google-Smtp-Source: ABdhPJzMCwV+6rbBF+T0b6hFgO/5d7EAeS+fgBcvV33ytNe2/PqHnndQLFrQBXTv0p1mlfeyQs6FKw== X-Received: by 2002:a17:902:ba8a:b0:14e:e8e6:7215 with SMTP id k10-20020a170902ba8a00b0014ee8e67215mr20642164pls.135.1645478674184; Mon, 21 Feb 2022 13:24:34 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:33 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 20/32] python3-libarchive-d: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:35 -0800 Message-Id: <492a94d1ce3d2bd6b442d29d077881a61c23bb4b.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162096 Set PIP_INSTALL_PACKAGE to libarchive_c to match the name of the wheel built by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-libarchive-c_4.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb b/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb index 3c6bc1e1cab..99837848a67 100644 --- a/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb +++ b/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb @@ -9,6 +9,8 @@ PYPI_PACKAGE = "libarchive-c" inherit pypi setuptools3 +PIP_INSTALL_PACKAGE = "libarchive_c" + SRC_URI[sha256sum] = "a5b41ade94ba58b198d778e68000f6b7de41da768de7140c984f71d7fa8416e5" RDEPENDS:${PN} += "\ From patchwork Mon Feb 21 21:23:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3981 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 32C4BC433F5 for ; Mon, 21 Feb 2022 21:24:38 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web11.4766.1645478676991394993 for ; Mon, 21 Feb 2022 13:24:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ksneajka; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id i21so9957477pfd.13 for ; Mon, 21 Feb 2022 13:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+cjdoSwERQCpVVmEaS0efz+eQs3kvclDipRCR13BQGE=; b=ksneajkaLtlI36fWvdHQigZ2WGZUgu5UCt4r1RZR0Wa28eILkNBOJhrzf2xXriRBAh Xk2VIU2IFM/UA4Wpwt2thhIE3/MDDOjNL2XB/En5duzT1FAqei625gQtJC05iYMIweIx UIJzT4p/jvd3lqzdZykePDN+smUT++MFGw/Ks73KWr8ik/YgVeNznYaSIyjl/GWbTQBr ZLtbvLJ++Z+ivobEnotMmOJvZIVBleAFzeCJ2fYpshjyFaKNdz9AHF1Daf8C77laAjTS dmWdd1fAZhafTwnGzhhMMVHgcxJ2EH+LAASVtWv/tCd7mu7CaWRPpiPYbRLgGaozOPFZ +L9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+cjdoSwERQCpVVmEaS0efz+eQs3kvclDipRCR13BQGE=; b=whSdWFy6J1IrGFinO3DtKsOjs3R6d4lHlBJgEfIqsnfRhqYIJUVg7M83z/3T2/Mj4Y KV+5Stq4NVEC0+n6HalV7VlddECOIsOiGUOU6i3UlBmJe2la8fMop3VVC5hxXMG8HLWD jigti0yOddl9IubCynpkpQdLFKa6B8Htfa8ebbPved8wChnjL+0Etn/PzMs2/15Ad9dq sa67RFGWKnkuuIsPN7GW0/YAJZ7vHClrFMgsUXce5xf4H9g/ANjSq5uShWGtPi9yDh3I Fw+icNCkFF/qw7ayKuXxiie3hj9K+1q6rOpFcB5D6/xBa8Pj7LrhZggR1RW69GO3fdam p9Ag== X-Gm-Message-State: AOAM530I+uOoZSNBI3NGEpsaBvUAdIgDMICbUnAk6dSnw4it0T+68+Tt oOE1ai+VLHnpF+tjcSXHfbbzVKbcNpbSvQ== X-Google-Smtp-Source: ABdhPJztCxAa9envLAzeSuezX9YCe0RZ5Y6EJ4rv9NxoVD/s5uaZuauY3+PhutTbReC/IV4Px1Y0Tw== X-Received: by 2002:a05:6a00:8ca:b0:4e0:2ed3:5630 with SMTP id s10-20020a056a0008ca00b004e02ed35630mr21900970pfu.3.1645478675999; Mon, 21 Feb 2022 13:24:35 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:35 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 21/32] python3-smartypants: patch hash bang to python3 Date: Mon, 21 Feb 2022 13:23:36 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162097 Change hash bang in smartypants and smartypants.py to be /usr/bin/env python3 [YOCTO #14638] Signed-off-by: Tim Orling --- .../0001-Change-hash-bang-to-python3.patch | 47 +++++++++++++++++++ .../python/python3-smartypants_2.0.0.bb | 1 + 2 files changed, 48 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch diff --git a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch new file mode 100644 index 00000000000..aab16eaab41 --- /dev/null +++ b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch @@ -0,0 +1,47 @@ +From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Sun, 20 Feb 2022 18:55:50 -0800 +Subject: [PATCH] Change hash bang to python3 + +In setup.py, smartypants and smartypants.py set hash bang to python3. + +Upstream-Status: Inappropriate [oe-core specific] + +Signed-off-by: Tim Orling + +--- + setup.py | 2 +- + smartypants | 2 +- + smartypants.py | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index ff1ea76..96a8b73 100755 +--- a/setup.py ++++ b/setup.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # Copyright (C) 2013, 2014 by Yu-Jie Lin + # For detail license information, See COPYING + +diff --git a/smartypants b/smartypants +index 189adf5..0cca568 100755 +--- a/smartypants ++++ b/smartypants +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # Copyright (c) 2013, 2014 Yu-Jie Lin + # Licensed under the BSD License, for detailed license information, see COPYING + +diff --git a/smartypants.py b/smartypants.py +index a70575b..e53bd87 100755 +--- a/smartypants.py ++++ b/smartypants.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin + # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb index ba3408247b7..05c94c390ff 100644 --- a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +++ b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f" inherit pypi setuptools3 PYPI_PACKAGE = "smartypants" +SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" BBCLASSEXTEND = "native" From patchwork Mon Feb 21 21:23:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3982 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 346C4C433FE for ; Mon, 21 Feb 2022 21:24:39 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web10.4753.1645478678685626967 for ; Mon, 21 Feb 2022 13:24:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FIuj/LjJ; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id q11so4080193pln.11 for ; Mon, 21 Feb 2022 13:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=OqfbI/taZuE5tvRkjzUudtuBzn1DIs9rdG1KeJG3/cw=; b=FIuj/LjJjRL43X+Lupx16qSfkqwbBNVZR1iPZ3TIHkTAuO/oU9gNU+05TD+KuOAIMx /olTAmzwm8bY2/N7fvKAgshHFXWwpHgd8xmJovnQRhQF0J8cPfNbsGyMnirQ7YW9x7fQ 4sQFZTyuUca/0PZfgZIy2M90hHBrebK/9STJtJZlcga+cPTSY7GvcE7bm/ca6nLc8iL9 XnvzEoYX9dHawfl9zuX2LJG12qvVeNBxd2Ff2lhfzkr4TzUXyn7O7ayjJGcY+SLaMxQc 0LPR5wLvmRdMYYnjnTH54opfkneZ+hDRbC7ko/y64prpvxzXdCNyivL3RSKLvIhGGMJG M5ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OqfbI/taZuE5tvRkjzUudtuBzn1DIs9rdG1KeJG3/cw=; b=lPxenmjLZ5i4EZMe4pWS/XYhzH8nYK/fUuH95Dfw9hchXcVt264cbBn5/rQTMD7665 cTAJMEUJZ0wiMXkFVewUMiAv7f/T8Qky8rli6WX3OpI9bapiwiwmNRKUVyMKw3cNwA2y bQJlNrCSfTyk1K0lh5j8YqujbuT+e8XsHNKktwgBPdUFlAB3X7QheyCu+xp7bgXAGKql bnBfNrpf9Yd5HRtFq4AhSw84Gp+zjc3swgkcfq9eTDRWW1BM2UqYO6FhCy/up1H/UadM AYNg1PehiQHQtsbof97eD9Gi2d+EUwkZJd6JqGAsxZk9Nk0HL5NKKZm2GWeEOkX8L7E3 kaVA== X-Gm-Message-State: AOAM532rZzQppm7kHZCt4qvDz1qiBOd2gxmLjnxFIwhSp1cAP+wlvXZD gH4A5H7+NGEfgUthyV7Z0laZ3NWRKKKxkw== X-Google-Smtp-Source: ABdhPJxlw3y3ZJv3ptXPa2Flcx9Bheqr4EK5srEj45Ko3IDK6nl0t5/ruv6MnvpkJMM0Jn10xocz5g== X-Received: by 2002:a17:903:1249:b0:14e:e477:5019 with SMTP id u9-20020a170903124900b0014ee4775019mr20799476plh.53.1645478677785; Mon, 21 Feb 2022 13:24:37 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:37 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 22/32] python3-scons: merge -native recipe Date: Mon, 21 Feb 2022 13:23:37 -0800 Message-Id: <9eb629938e3106ae90894b191f9205f37a09eb95.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162098 The native recipe simply calls create_wrapper to add a host script. Do this via do_install:append:class-native() The scons*.1 man pages are being installed in ${prefix}, move them to ${mandir} (previously installed in ${datadir}). [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/python3-scons-native_4.3.0.bb | 7 ------- meta/recipes-devtools/python/python3-scons_4.3.0.bb | 13 ++++++++++++- 2 files changed, 12 insertions(+), 8 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-scons-native_4.3.0.bb diff --git a/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb b/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb deleted file mode 100644 index 73076b87320..00000000000 --- a/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python3-scons_${PV}.bb -inherit native python3native -DEPENDS = "python3-native python3-setuptools-native" - -do_install:append() { - create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' -} diff --git a/meta/recipes-devtools/python/python3-scons_4.3.0.bb b/meta/recipes-devtools/python/python3-scons_4.3.0.bb index bff2fdae92d..cfb075f65f3 100644 --- a/meta/recipes-devtools/python/python3-scons_4.3.0.bb +++ b/meta/recipes-devtools/python/python3-scons_4.3.0.bb @@ -8,6 +8,7 @@ SRC_URI += " file://0001-Fix-man-page-installation.patch" SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879" PYPI_PACKAGE = "SCons" +PIP_INSTALL_DIST_PATH = "${B}/build/dist" inherit pypi setuptools3 @@ -24,4 +25,14 @@ RDEPENDS:${PN}:class-target = "\ python3-pprint \ " -FILES:${PN}-doc += "${datadir}/scons*.1" +do_install:append() { + install -d ${D}${mandir}/man1 + mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/ +} +FILES:${PN}-doc += "${mandir}/man1/scons*.1" + +do_install:append:class-native() { + create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' +} + +BBCLASSEXTEND = "native" From patchwork Mon Feb 21 21:23:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3983 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 4AD0CC433F5 for ; Mon, 21 Feb 2022 21:24:41 +0000 (UTC) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mx.groups.io with SMTP id smtpd.web08.4754.1645478680724068321 for ; Mon, 21 Feb 2022 13:24:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=W0T5tNuY; spf=pass (domain: gmail.com, ip: 209.85.215.175, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f175.google.com with SMTP id d16so15303766pgd.9 for ; Mon, 21 Feb 2022 13:24:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=xNLWwM9nQTo2EyOg5vy/NihA9OtxCmsk83GuvHI3/Os=; b=W0T5tNuYhwJRW1NSUlmLWRmqN8skVoNkcHhIILF+g5x+WhaDT7PhTwC4qe10SA4f8l DVd/dON95ZGIzytE4oR1hufmcHx/VoSvfrAnA1lsJcvUwyb+UywTHLfKPq3FZFbi/3y0 OKgP5cAgWWkHJKKCpx3ZOLfSKa8pRCx4bS1lwL+w/75udsXSnWmF+vqhFIV2t6sxF7Yz 8TMkkpWyXzrEuZkZ4MXVb94ZO1TM53CDp3MxM0lveAleTc2/CXfoEfzq313EMBoHqaty WkDZSKrV8jXqYvbw5q6nDYix9V4glTeQ4+gQY7K5btjBYoTwyCFBXmF3RsiJDjiXaaOz 4k+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xNLWwM9nQTo2EyOg5vy/NihA9OtxCmsk83GuvHI3/Os=; b=tOgJtPqtPwsNhR1kOTXvhjgbncInq7q+V6MKXMf3WkL4XqnBWDGLY7hZldlmcpqZgk mgKilrhy1fAfqLWFWHmhwDHjlXig00M8wL18fNJ3QRBx/KoVM7KN+LEqZqfZmykpj2R+ vLZlhuyOc62NcVGPSTz23y+qMzddUI8cl1VblAFFpcbug1jI5DElVDOqwLe4k0R4ScVm +Lui5FAtjod1XC4bj+PG6RFuc/h1AuLaj8Fu30zCFL+lrjKzW+SNfbPU0T8CurFydoH2 IheMx5MA5nKipwDZRS9touxcu6NiDqsg89rT9iJyDyPWsm4iud1O104zAG/2f/paZM6l /doA== X-Gm-Message-State: AOAM532999QP1odgkvfQ7k8XMnDeltIPwD+qTtCejTmpDOZS/Xxxtl2Y uoSuq0MOHVAC4LD/cuWNsH5oaZgWjkoqgQ== X-Google-Smtp-Source: ABdhPJwcTqPFeOqgv5+JHBu+Nnfxyq6/i9r6Mvhqbm7giALZQhArYyUirb7GIHgzIZwJ6KTtemY7fw== X-Received: by 2002:a62:868e:0:b0:4cd:df75:b021 with SMTP id x136-20020a62868e000000b004cddf75b021mr21787143pfd.81.1645478679501; Mon, 21 Feb 2022 13:24:39 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:39 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 23/32] python3-subunit: merge inc; set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:38 -0800 Message-Id: <6e2208f0706316f6645635af24d4ec84fdb8f57a.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162099 We have not supported python2 for some time now, so there is no reason to maintain a separate python-subunit.inc file. The wheel built by bdist_wheel is named 'python_subunit-*.whl', so set PIP_INSALL_PACKAGE appropriately. Add patch to use vendored _distutils from setuptools. [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/python-subunit.inc | 14 ---------- ...001-setup.py-use-vendored-_distutils.patch | 27 +++++++++++++++++++ .../python/python3-strict-rfc3339_0.7.bb | 4 ++- .../python/python3-subunit_1.4.0.bb | 17 ++++++++++-- 4 files changed, 45 insertions(+), 17 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-subunit.inc create mode 100644 meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch diff --git a/meta/recipes-devtools/python/python-subunit.inc b/meta/recipes-devtools/python/python-subunit.inc deleted file mode 100644 index a2f9c5c3ffe..00000000000 --- a/meta/recipes-devtools/python/python-subunit.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Python implementation of subunit test streaming protocol" -HOMEPAGE = "https://pypi.org/project/python-subunit/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;beginline=1;endline=20;md5=909c08e291647fd985fbe5d9836d51b6" - -PYPI_PACKAGE = "python-subunit" - -SRC_URI[md5sum] = "30f1ab20651d94442dd9a7f8c9e8d633" -SRC_URI[sha256sum] = "042039928120fbf392e8c983d60f3d8ae1b88f90a9f8fd7188ddd9c26cad1e48" - -inherit pypi - -BBCLASSEXTEND = "nativesdk" diff --git a/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch b/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch new file mode 100644 index 00000000000..ba1c3d33637 --- /dev/null +++ b/meta/recipes-devtools/python/python3-strict-rfc3339/0001-setup.py-use-vendored-_distutils.patch @@ -0,0 +1,27 @@ +From 857719e82daea0d85b734cac34cf569050724068 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Sun, 20 Feb 2022 20:26:51 -0800 +Subject: [PATCH] setup.py: use vendored _distutils + +Deprecation warning of distutils is interferring with bdist_wheel build. + +For now, use the vendored setuptools._distutils.core. + +Upstream-Status: Pending [upstream appears unmaintained] + +Signed-off-by: Tim Orling +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 1bf87cf..a49fb8e 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,5 +1,5 @@ + import os.path +-from distutils.core import setup ++from setuptools._distutils.core import setup + + readme_file = os.path.join(os.path.dirname(__file__), 'README.md') + readme = open(readme_file).read() diff --git a/meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb b/meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb index b8e929ef886..b592cb95d4a 100644 --- a/meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb +++ b/meta/recipes-devtools/python/python3-strict-rfc3339_0.7.bb @@ -3,9 +3,11 @@ HOMEPAGE = "https://pypi.org/project/strict-rfc3339/" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a" -SRC_URI[md5sum] = "4d9b635b4df885bc37bc1189d66c9abc" +SRC_URI += "file://0001-setup.py-use-vendored-_distutils.patch" SRC_URI[sha256sum] = "5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277" inherit pypi setuptools3 +PIP_INSTALL_PACKAGE = "strict_rfc3339" + BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb index a06ded868f5..bc49a2b69ed 100644 --- a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb +++ b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb @@ -1,4 +1,17 @@ -inherit setuptools3 -require python-subunit.inc +SUMMARY = "Python implementation of subunit test streaming protocol" +HOMEPAGE = "https://pypi.org/project/python-subunit/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;beginline=1;endline=20;md5=909c08e291647fd985fbe5d9836d51b6" + +PYPI_PACKAGE = "python-subunit" + +SRC_URI[sha256sum] = "042039928120fbf392e8c983d60f3d8ae1b88f90a9f8fd7188ddd9c26cad1e48" + +inherit pypi setuptools3 + +PIP_INSTALL_PACKAGE = "python_subunit" RDEPENDS:${PN} = " python3-testtools" + +BBCLASSEXTEND = "nativesdk" From patchwork Mon Feb 21 21:23:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3984 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 2E871C433EF for ; Mon, 21 Feb 2022 21:24:43 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web12.4697.1645478681977886005 for ; Mon, 21 Feb 2022 13:24:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m3x0l6n2; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id j10-20020a17090a94ca00b001bc2a9596f6so387855pjw.5 for ; Mon, 21 Feb 2022 13:24:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=O4M3Qa81q8z0kK/AtZPDLcKAwQmhkBMXMmkq3NthEPA=; b=m3x0l6n20ezHw57yPlw78ImiZ3mN+GtRdgu+7K1wdjbD1OuoqM9hLbH5CC+OOYJu2Y bCp0pIfSwvjTtqJr04/SuQzOqBMOlj4Ce9tRe7JMAF9ytZzgFCxsYbWx9Loas8KR5r3I /vOxth0fb0guGWl0ot68BM2KBBBY3Jazm1jdg+hcD82UXtNZ1bl7u5D2w1sxSR2wa/rC jvZZldvATWo33U9isKgss9QxuyWZjuDcKxStDypstywgpSHPHAklXi7mPlUVSlQmwIYu qSynInC3nspD9bO94cJep0pRwz0BO68x74NYL2ZqZy+k0XU5zSJKeFRfl2IFXUKofaEU 40pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O4M3Qa81q8z0kK/AtZPDLcKAwQmhkBMXMmkq3NthEPA=; b=tlyxbBnl2uCOOrDTcu5lCIsgAtBbHA4pfJg5jzRWc6to89iA2KrXsWGC12WJG7jcCY eIFRWnzMVytHFdpGyFW3LZwkS0Grb0hQzDfZR/cd0TRJ0dD72Wj9guIV0X5Ecizm9Uhp H0wevG0hd0pfAjD+zTWSr4LVgK+o0fN5U6yMDEC4RRFp4k/BqZztab2r83Ahoq7sp+fg nPpZwPA9vtV+klx0PKW+KDVhlCHhd8zHxSe3pUw6Fys7UO1Nf/AR7SJmUHnD8uqNwpyM QNOyBNsfQBca4z6y3hgTZscJDNLBIx6kkqtes/aZmTpyi58bIj4GtTrPR3PsQZN/lyRC 4GBA== X-Gm-Message-State: AOAM533WPmdHa3yDEgRt8bS1yyseFGSkFWotCO5+OEVdqJVamxfmSDpv PzKCvcIU+bOD5NcgQHMm0g4sfvtYz3/VEg== X-Google-Smtp-Source: ABdhPJzD2DIMpF+AuSOQV21LSFaqAcCy6Ix9v7nB32YvM+mSByi10A7auJ59aMLdtgBAxiQ2LI46tQ== X-Received: by 2002:a17:902:e943:b0:14f:4a2b:203 with SMTP id b3-20020a170902e94300b0014f4a2b0203mr20573632pll.113.1645478681135; Mon, 21 Feb 2022 13:24:41 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:40 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 24/32] python3-magic: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:39 -0800 Message-Id: <06cb365711d587f590a7aec63f9089fb8dfd284f.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162100 The wheel built by bdist_wheel has the name "python_magic-*.whl" so set PIP_INSTALL_PACKAGE accordingly. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-magic_0.4.25.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-magic_0.4.25.bb b/meta/recipes-devtools/python/python3-magic_0.4.25.bb index efc8b6daaaf..bd46b294ae9 100644 --- a/meta/recipes-devtools/python/python3-magic_0.4.25.bb +++ b/meta/recipes-devtools/python/python3-magic_0.4.25.bb @@ -8,6 +8,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=61495c152d794e6be5799a9edca149e3" PYPI_PACKAGE = "python-magic" +PIP_INSTALL_PACKAGE = "python_magic" inherit pypi setuptools3 From patchwork Mon Feb 21 21:23:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3985 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 30F72C433FE for ; Mon, 21 Feb 2022 21:24:44 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.4755.1645478683935722102 for ; Mon, 21 Feb 2022 13:24:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jTPOR077; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id u5so13904548ple.3 for ; Mon, 21 Feb 2022 13:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=vajCHgrqlvmCBBIm7Itl5+AuD9LC1gQdlJj+Js/r9w8=; b=jTPOR077lTzfF6B/WJlfq7ofhwOordtyU4KRXVSxr10TwQ0NdEp3fnr5U4/TluCqbf 9xRHRpaJyWh9Yp0Dnzk4ba3Mn38NtfRaX47Cc5qzwTQhbvUffS3oLEsbDcVe/gK0nTu5 4GWzBEMlTggRpoFLqV0su0XkYz22Zanw9GD//o3yxI90wUpEol/P9/7CfYCAclt1QyrL g5Lsy5iduzgonCFA37tP4gxYQBVoBqqmdIXHcUzW+TVXiKAq4yLhxaMvJ1mbS9F7uBI4 WzPU/uegVsyzlVHhNjhKNA/G4BPRkFwOByc20JNb1PFN4Q/ucrOTajlLlYLWUok7O5gC uV8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vajCHgrqlvmCBBIm7Itl5+AuD9LC1gQdlJj+Js/r9w8=; b=HH9NOCYcRYcSbgAqAixNQcp9Q50OuFn47pwDUzEclDRv7xY46TSfxWHaPEEgC8iLQ6 6mU5+nnyGiLpv46tN9UGNdpKDWgR78jQrHCF9MX24NOefQZPSBnCHxt3tkL4i6ZIyucC uq09Rx4CMODondrKA7qWOu1RFnc7aiPZDV4D3mn9UQ14gUc1DWKJlp9GK/8UkfhvhlOV uZ3WD1em9GGBtdaADcF4upW/ezGTe7vVmvB+nYIgw7W9+u7M1rjykgIP4i5MXwsxsIUd FaPkH9ld9bkNApQd668iDaxqyddtXG5sJmU6hdspe4pP/zuKaE33jKZd+s2pQcuma8Hh z8nQ== X-Gm-Message-State: AOAM5305R4lPPM/tvy/XQAXd29cF7rKA5NWSVcORRh8yvNZMnf6Q2YB6 u4LoL1G2l63sg1xzcif/2XP98sl3vn1T0A== X-Google-Smtp-Source: ABdhPJzEsqcwaYuSZQEnKLBoCQAWLfpdBGUfZ/VuVhlwuvPvDLx2ZwC8LsBKez5nDFu5NbhzcE+SJA== X-Received: by 2002:a17:90a:7845:b0:1b9:159c:148e with SMTP id y5-20020a17090a784500b001b9159c148emr820332pjl.136.1645478682902; Mon, 21 Feb 2022 13:24:42 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:42 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 25/32] bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER Date: Mon, 21 Feb 2022 13:23:40 -0800 Message-Id: <9069e1e6b398646031ed0d184a6d2812e93e04a8.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162101 Change filename to _git.bb and use BASEVER to set PV. The wheel built by bdist_wheel is named "bmap_tool-*.whl" set the PIP_INSTALL_PACKAGE name accordingly. Use BASEVER to set PYPA_WHEEL to match the version in the wheel produced by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling --- .../bmap-tools/{bmap-tools_3.6.bb => bmap-tools_git.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta/recipes-support/bmap-tools/{bmap-tools_3.6.bb => bmap-tools_git.bb} (86%) diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb b/meta/recipes-support/bmap-tools/bmap-tools_git.bb similarity index 86% rename from meta/recipes-support/bmap-tools/bmap-tools_3.6.bb rename to meta/recipes-support/bmap-tools/bmap-tools_git.bb index 1e87d45c90d..e3315321ed1 100644 --- a/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb +++ b/meta/recipes-support/bmap-tools/bmap-tools_git.bb @@ -13,7 +13,8 @@ SRC_URI = "git://github.com/intel/${BPN};branch=master;protocol=https" SRCREV = "c0673962a8ec1624b5189dc1d24f33fe4f06785a" S = "${WORKDIR}/git" -PV .= "+git${SRCPV}" +BASEVER = "3.6" +PV = "${BASEVER}+git${SRCPV}" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" @@ -23,4 +24,7 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-mmap python3-setuptoo inherit python3native inherit setuptools3 +PIP_INSTALL_PACKAGE = "bmap_tools" +PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${BASEVER}-*.whl" + BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 21 21:23:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3986 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 30273C433F5 for ; Mon, 21 Feb 2022 21:24:46 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web11.4769.1645478685373180725 for ; Mon, 21 Feb 2022 13:24:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WCIGH8ap; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id v4so16352378pjh.2 for ; Mon, 21 Feb 2022 13:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Q/+sRbp5Jd5d3N64AVCykOfAPlyxMrIh2P21lbDqUP4=; b=WCIGH8apV9I8G/8DOFMKdO511Oon9GRIo4NrDOt/0+cAVZU9sc5ntJLdKpPRzW/Yqk Hz4DkTnJqNi1Urkq7L/hWI4QE1/WmLSCg+HKGz6mS/2CZAifIhAx4m4VmwriQfgNxiGi i3Ib09nBpSkUzmoKYH9GSu6rJjM3lr7/133CpAr9TUhXzoCuv8A5xAVnKMbAN1Ock9NX RsnFaZKvB5XySCyZTCUozcDE5XL854NfM5VAB257C3/ZReKVnt82gj6xjWenPNAs38ut yjsFlWmnwJ9l5jjECe5bLsMNBl5UNl69ndkbRGJl3feKMOT2s3u+08nKD031m7/TC+vV 9u6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Q/+sRbp5Jd5d3N64AVCykOfAPlyxMrIh2P21lbDqUP4=; b=o8LVX7dqwNHGa0gVM0DkTIJd9YS6tptyZoK6GHQ3hirtWS7T0OU4bC7JTSWwB8z2pl Rg1PO6JS3hIjYH243sWco6LFizcnlAVDM8kPxh1FXKYORn1+P2VuJRGmAyFIsGYALgor ACW3ikQrFbFcoVathzHzhH/nLBVYDLQQfhxB4JtfJjl8jOmABC7l5q8DyRdTkkWrz43I KsOs0DaQIdN47q+B50hV2qKsox3Qjrn6ujMJtWMmDC+efWWdUw+d9Tl3yY6wxEB9wWtK LnXWd75y5NerD9DOVEjnmw/uCH7O9v2UvJJfttXKTvf9OC9rXPtJ9SeNvk1Y+SFTIMLx hldA== X-Gm-Message-State: AOAM532dUQuajVoGQOHhzZB3Vb+L7YfpRGzmQ91bmtXh7lsAulgLCZeW Yr7R7dG/o9oG3Nc4EoCyNcTQCCiSWPDrZA== X-Google-Smtp-Source: ABdhPJy7nqkGno7GnNmMo5C9u8FwMsgId6KnrtCcoNrFTQlf+QpoPyMAWKSoRPCp8TzLNP/1pxxxrg== X-Received: by 2002:a17:90b:1c8c:b0:1b8:5adb:fd84 with SMTP id oo12-20020a17090b1c8c00b001b85adbfd84mr823820pjb.238.1645478684478; Mon, 21 Feb 2022 13:24:44 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:43 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 26/32] asciidoc: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:41 -0800 Message-Id: <064ebbc36093344cd97bca2eb510631f49bb8620.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162102 This recipe does not inherit pypi and therefor we need to manually set PIP_INSTALL_PACKAGE to reflect the wheel built by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb b/meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb index 8de827f09e8..60640d7a0f8 100644 --- a/meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb +++ b/meta/recipes-extended/asciidoc/asciidoc_10.1.1.bb @@ -20,6 +20,7 @@ S = "${WORKDIR}/git" export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" inherit setuptools3 +PIP_INSTALL_PACKAGE = "asciidoc" CLEANBROKEN = "1" BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 21 21:23:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3987 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 2F1D7C433EF for ; Mon, 21 Feb 2022 21:24:48 +0000 (UTC) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web09.4694.1645478687353954470 for ; Mon, 21 Feb 2022 13:24:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AE/svYVG; spf=pass (domain: gmail.com, ip: 209.85.216.43, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f43.google.com with SMTP id iq13-20020a17090afb4d00b001bc4437df2cso396092pjb.2 for ; Mon, 21 Feb 2022 13:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Fd2GautqPvCisc4p6IHY7aoRvhv8pp0IfS9CC+gGVBs=; b=AE/svYVGI0iTxlsX3B7hHnEcGNT6YOftlOgQUyemdyyuRPu4xzsWVvfBIVqumIjWVa i7QsvgEfWaN33SALVTGkQKboqVP0jxlLn2p4eQZxPi/NgtsXqrMSM2GoGcej6rpCNBJ3 tsbqsZhBxzcYuG7Y0tjZ9Dw9UgQx0TEZo7YbP+fWLFQdOeY4yGMwVFzPjFGcKfLASn11 HPD6IeOSXfVAiYPshoQtcCiSk4EqFFMp6sD2HmBh57WHg1woiyR8djdiOyeS6v2d1C45 bSojT/mB+f6kHZgBmz/Ag0SOXbeAfXB9zUYB4T5IlDWD2NICK0pfp5UNuIrRN9VE+F4k lvig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fd2GautqPvCisc4p6IHY7aoRvhv8pp0IfS9CC+gGVBs=; b=V8VRjUOP9j1WoFzB4iGX3ovSafVf5W1Mu/GcxefFaNOCjo/OdJqEoCtCJnnxFPBt2G J4RO0znkxv+QqFT8XtQCmw2M+gc9EqlWFwdajwaHKhR39GjOpk33AxmcqiD/+uzvHmCX C8QVOHY/1utfhIuMcOLJWKelMlsU0oVblesBGbqBh4S4l+6H+UJRKHOXCt2S1rRdD4RS uGS0GmaPcMAM4HOx9lC/byAUvqyUV5gk5k8vtC+TKl/knwuxiirdsbph1mYU0dnqUemB 5Tv3v+4KpXvYIMeS4R9wDsrPpG/9u8J+z1v1okKBZqdEQk7tcA43Jj6fyRrkeYMYlJ9T lDKw== X-Gm-Message-State: AOAM5325nzCpjQowhyMo1Wx4E0J23XbE0DJRX5roR6XRcZsV6Evybnll 3Kj65wdzJ2gPolqLYOZrt2xADRVT7BGdAA== X-Google-Smtp-Source: ABdhPJw/sUPv8E/meYgX745/QfnQhNowQt1PCtGNapk0Obl6YcyTWeMohniN3JaAbOg3OROoipj3/A== X-Received: by 2002:a17:902:6b48:b0:14f:3b13:b8e with SMTP id g8-20020a1709026b4800b0014f3b130b8emr20786963plt.26.1645478686422; Mon, 21 Feb 2022 13:24:46 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:45 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 27/32] gi-docgen: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:42 -0800 Message-Id: <2da4397335d6336444898ba14618c29ebca4a97d.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162103 The name of the wheel as built by bdist_wheel is "gi_docgen", set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-gnome/gi-docgen/gi-docgen_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb b/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb index 6a7124c3fea..67617fca393 100644 --- a/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb +++ b/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb @@ -16,6 +16,7 @@ SRCREV = "37b04455ff58cb2ec3f58917d0737c435344f2fb" S = "${WORKDIR}/git" inherit setuptools3 +PIP_INSTALL_PACKAGE = "gi_docgen" RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-toml python3-typogrify python3-xml" From patchwork Mon Feb 21 21:23:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3988 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 31817C433EF for ; Mon, 21 Feb 2022 21:24:50 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web09.4696.1645478688858631277 for ; Mon, 21 Feb 2022 13:24:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OAc1CQ+3; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id ay3so5057688plb.1 for ; Mon, 21 Feb 2022 13:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=6b6hjU8Tr0y6EpLhEFIaw7+Ycu7cqKCSFhJOflzqT/M=; b=OAc1CQ+3cih+Folb43aA8afqsqhUopzpXg+z7HnewzugOq+mcfFTLLgHBFdg0MlPwI tKos7GXiN0LznNpiPf6YAceAtDOsLLILv5BMqBfmKzzoiWHN80Pv7L/vJvOUcRgxCBcR Fgg7myr/aXRVEXD0wnTOgJLHUzOX2NYFobS2d2jjXMgDbxkoPMPofHUSbybOHsNvvHPR KYGO0jRrDeRyKxpk0BHP6JQyz+Qke+myOVjHSu82Fsv01B3cNVxYf8Zpwe47xErzhjJE vv4Pa9AvpJQ5xtYS5AIrzngU8mvkIvdbTH8PGrFg/UmX5+N7Ah6fnqcAt8FDTPVB00Dv DFzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6b6hjU8Tr0y6EpLhEFIaw7+Ycu7cqKCSFhJOflzqT/M=; b=BHKl5j8xm5LE6H1zuuhfreKIGvpkz+paLmdzh9+ITS83ow8uWdZ7uoXxoxxsih6YvN hwDw5zU/mFABeiUSTPpGQw2tqojGeymVOw+OLMWdELPNLx7669Hwuyk2GN96eP/f0h92 mT/8vviMjnT1YO0e+sljhHjOiPf5wbbo+n8JnyAe4uxmxvZaj+BaDPbWAfT+yzcEuC+1 a+qNMW0D8Hpzr1tKIQUlIRN/Z6tfOJsdUfahGi9WxcdrnujzTzOkgcTDI/om21Ry6VED NAJdUDf8v9saAK6pJ3pdonP8gQ2v0YZPng6JH7kyRARaOKqTUol6+WUPvFGPWW/tLPts EblQ== X-Gm-Message-State: AOAM532LHQFL3xCpPBv3mYTdRrtH6GwNxwTmaEoUp6c9mAg7usyLgAnx sb9MJv1SXI/VXshOszFcMZQdfdeTwrAhhg== X-Google-Smtp-Source: ABdhPJw9MjuQGbPkRGbugnaNLAgmZ7/cjTihaRzksYptPAhTT1in/N92Ow2Kjo9tQImJ3kRDZjILDA== X-Received: by 2002:a17:90a:8588:b0:1bc:54b8:c3 with SMTP id m8-20020a17090a858800b001bc54b800c3mr826533pjn.110.1645478687986; Mon, 21 Feb 2022 13:24:47 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:47 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 28/32] numpy: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:43 -0800 Message-Id: <4f492d31bba45c995d16e066e8f360bb15ed96e7.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162104 The recipe does not inherit pypi so we need to manually set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-numpy_1.22.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-numpy_1.22.2.bb b/meta/recipes-devtools/python/python3-numpy_1.22.2.bb index 52fbca94e2c..d2b2f3e38d5 100644 --- a/meta/recipes-devtools/python/python3-numpy_1.22.2.bb +++ b/meta/recipes-devtools/python/python3-numpy_1.22.2.bb @@ -20,6 +20,7 @@ UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.tar" DEPENDS += "python3-cython-native" inherit ptest setuptools3 +PIP_INSTALL_PACKAGE = "numpy" S = "${WORKDIR}/numpy-${PV}" From patchwork Mon Feb 21 21:23:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3989 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 31C05C433FE for ; Mon, 21 Feb 2022 21:24:51 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web08.4759.1645478690663250463 for ; Mon, 21 Feb 2022 13:24:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FVUyo5Y8; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id z16so9982421pfh.3 for ; Mon, 21 Feb 2022 13:24:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=vKd9KDacdqODRW6o6RKgtKg0k966zg3sVoyPoK6lRjw=; b=FVUyo5Y8BMK+lOIB/xBtmimADFKe1k9xh8WnNxGVmAo+SYQjykXsTaZlmLfYneWGJV CyL/lN42kEL9pnpljPSOPlvc1Rh4MCST0ZQxkTbqNIVfZDvEe1v7tnTrNsc24ygpDCzA S5ybr4Pkm6SokrJEVRR1uZpqie6jr/tOXY6InVorQ1unh7zwSkEX0Rac7AGNayjQAQkA wg+EZTiFz9chxVxvYR0shqcvv++ZQk4NB6SwRMCzhMo7RtxSpgok0ZvoLKpr3YtuZrGa TUfoUCJssv0jxsbb34HS1g6QIW/kD+q3UY9nooCvJL6fss+o//XTjVoE95W9BgrT65ue 8vAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vKd9KDacdqODRW6o6RKgtKg0k966zg3sVoyPoK6lRjw=; b=46+n8c0OVJhCRaHmCbarZi5iFJz+//DEbfB8/G+UeMQuHPmxMZPG/Fi2X7Yo1lzkhg +vCYqdLVI19zTV0jzApxSStqgShqFybpuAk/7DXaKj6cl17i7jVbxdgUFkoqlCFjR3Wv gzj2QwpwMRzuzl+POzWnL7zQhvTwRn4DvTKMxkGymHGkzMnQDMu/WO09zcI1d6WTuIYZ P55/nrPc17/kswATdw/D0wUNo4XDLBZcGxFMJiX+XXss06HrlcoisDwhXoXfcAPepxEQ 8XBebRwaEyXfJopYetLEv4S2AShZgzzwguZo+bOeEJ5nOrrmy1sBqNPTTv12oG6qO0bS K3gg== X-Gm-Message-State: AOAM532W3ly+UrcYCPDVkGVP0e+qOcG5Ru1dhcDMubodIcBVnBc7QMXW dNtVaScsBDxgtGVwzLNDV7Q5DRjQPPJ4zw== X-Google-Smtp-Source: ABdhPJxu3EX56nzfDIIS0P+9Y4WlvqEHCGMUv8WHHptWZZax4vT9iK3d3Fbaq2ukU67IV1QItTW0YA== X-Received: by 2002:a05:6a00:140e:b0:4e1:c81a:625c with SMTP id l14-20020a056a00140e00b004e1c81a625cmr21090589pfu.39.1645478689789; Mon, 21 Feb 2022 13:24:49 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:49 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 29/32] python3-dbusmock: set PIP_INSTALL_PACKAGE Date: Mon, 21 Feb 2022 13:23:44 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162105 The name of the wheel as built by bdist_wheel is "python_dbusmock", set PIP_INSTALL_PACKAGE appropriately. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb index 8d97f0d360e..3a9cdda5f62 100644 --- a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +++ b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02" SRC_URI[sha256sum] = "6f4ce7650ecbb022684dc158df720e199635f3a3df75f7020f4fe8f6ff0394db" PYPI_PACKAGE = "python-dbusmock" +PIP_INSTALL_PACKAGE = "python_dbusmock" inherit pypi setuptools3 From patchwork Mon Feb 21 21:23:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3990 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 31D8BC433F5 for ; Mon, 21 Feb 2022 21:24:53 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web12.4701.1645478692467393924 for ; Mon, 21 Feb 2022 13:24:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TAkfGqKs; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id z2so5242175plg.8 for ; Mon, 21 Feb 2022 13:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Hj6hSOKPX2DElqItnNa5+99vodX3FnC8yHLq7s+Kkbo=; b=TAkfGqKsANUe5g26IS3Wbk2scUsvqCm/sZ9ujAQDVo9tL2nYBe7Svs0+5ID+TkRBmf Ac0et/3E6KOOooi60qr9IoFgfmzXaULhv+ZHIAmQhssD5veySNARVR0FmL8aLsKD4u4u 4ragYGnRfpaSbTpldoPVBWTx7Sg4/OkQ2tqXrxXD54g0joYRjEVSmWAROfMDT/7mljQS pdi/tCMoKbvb+w7pTME5cbuTxGC/ui+prYZ1XRsXpr2FawsQ3vKq9PXs9XjpZKAaQueS aDVr3EeYEkDXZwIetlFnZ+l7r8KkHymHS3N5i60SBrt6AjoUtTRH9lStpJDDaiLgtgg0 aaiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Hj6hSOKPX2DElqItnNa5+99vodX3FnC8yHLq7s+Kkbo=; b=l6zvA/NTvWa4s9xbfk8ngD8eOgSbqRgEtgW2WgNSjkb/8r1q/Jhlc8NtaJyj8YoBWq E2VBzbbHVQuvcE785grUExS47VJbSjsJmQgbsZr2wGE9WN9Q6snd/hT0+R12eh5nzUEz TsQD27jMeJBxjMW/cb4AVETvCbLmaFn7+2GnYAerfTnT/1LnA36SoctRS5NMnrA2T7WU BNoZ5rmJalqmJeyrOJZiXVXcYoG2Kv7MLnScklkgG1P0hSnNQsQZYPo/uGvkhqCEpyMv oxUFRdJiFTUbNdF9X9PjCFrTCgjwXoVrw8yQDijRe5XDN2u1SKlUsbgu1FyZz1UKQKeG blFg== X-Gm-Message-State: AOAM533gkfnqwhaBdtOwb0OLcs1zmQqFNxMa9XBYr1yti5qn+wMuzcfU LJsG9sYagPQ4u93tpjIc/eTrCbmhZg2OeQ== X-Google-Smtp-Source: ABdhPJw6dg2cMmESrFFP87wppXXcZe0R86a1kMPtmnqHUapKFMB9Hj5t4bJmsY+a8bUAPVaj55P2TA== X-Received: by 2002:a17:902:8ec7:b0:14a:c442:8ca2 with SMTP id x7-20020a1709028ec700b0014ac4428ca2mr20525068plo.12.1645478691584; Mon, 21 Feb 2022 13:24:51 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:51 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 30/32] python3-mako: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:45 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162106 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-mako_1.1.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-mako_1.1.6.bb b/meta/recipes-devtools/python/python3-mako_1.1.6.bb index ec8c9cc12a8..23e13cff948 100644 --- a/meta/recipes-devtools/python/python3-mako_1.1.6.bb +++ b/meta/recipes-devtools/python/python3-mako_1.1.6.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=943eb67718222db21d44a4ef1836675f" PYPI_PACKAGE = "Mako" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta SRC_URI[sha256sum] = "4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2" From patchwork Mon Feb 21 21:23:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3991 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 3932AC433F5 for ; Mon, 21 Feb 2022 21:24:55 +0000 (UTC) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mx.groups.io with SMTP id smtpd.web09.4697.1645478694514164840 for ; Mon, 21 Feb 2022 13:24:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=edv89iGx; spf=pass (domain: gmail.com, ip: 209.85.216.42, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f42.google.com with SMTP id cp23-20020a17090afb9700b001bbfe0fbe94so394490pjb.3 for ; Mon, 21 Feb 2022 13:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=sO/EUa4XjVmllj2Nds/wBREbCBXakTql+3tYE1L8myg=; b=edv89iGxCOQuaFdVeHcPTZ3qA1iLCceiO97kRV0T+GEGjHlvQvgXWne9e88xrzmdro fyk82WGK36BJ1jwLaTLtOYEdrhmwfdeWQdDwSOcOjucBEvLZGPaRcEjoFvv6oPKsDW9t 2WtzBqn+Gs+looTP8YEj72u2KdU9JLbgj/kpu3cWXmuXa8zJwYp4jKsuUAIF9rKNKNCb s3FfnzTOJzxPxnSKeADedu4Q3jQHV1xu0i3hXbPSxnWnLVSs1yFbHueemC1yxpVrwn6l bn9iq2yL98y5WUNJOMb2pyfwoEYuFWUBzYWVKfWWu0SVYDe9DptT21hl0sts6rbOH8pn vB/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sO/EUa4XjVmllj2Nds/wBREbCBXakTql+3tYE1L8myg=; b=MUhMrNhCDFf7otee+ZKdi3o3pgTD67JeVjpd5vGBoWJAcAj/VdqjrEdhy5sGebVqKz xF0BYiI99OLP12FJt7kd92H5ZmMLjaffGleWQ+C9q332H104w9OYOyFZZVUoHzh4a/AO O5IEq3VlWpuo5hv+j6FnOFRHc7LgLQb9nec9bvU0pubNjLnMAKYt/Xya5WvKL4gS1m1m iVVftYzXZLg0GE8Qf0JLyO1jlsT9j5CPjty91UtIzy+usewxuUrY0JKkd+K0fSSIgGlo LgSQiu/N9sUbR9BnVIfASoUvxpEwvbrYb4rMvkbnzoZp5ru6fxPA65dGt7o5VH81kS5a UFew== X-Gm-Message-State: AOAM533vdU4KNDXb58XtWOXbEVet/g7JqJOU1QqSBtv4pyWL5GUQZHD6 pM1gcNfIdLXI3I8X34fq5C0jETvst2KKYw== X-Google-Smtp-Source: ABdhPJxswLjXCQPZLcsvtENH+8UQg656MJtelUCWcw361Q9pq2WPLd46PDtHRwxwdjrhFYYFM+11Cw== X-Received: by 2002:a17:903:110c:b0:14d:8859:5c8 with SMTP id n12-20020a170903110c00b0014d885905c8mr20868742plh.156.1645478693492; Mon, 21 Feb 2022 13:24:53 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:53 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 31/32] python3-packaging: inherit setuptools_build_meta Date: Mon, 21 Feb 2022 13:23:46 -0800 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162107 Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-packaging_21.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-packaging_21.3.bb b/meta/recipes-devtools/python/python3-packaging_21.3.bb index 446edf04e1c..c7d0cb7ef78 100644 --- a/meta/recipes-devtools/python/python3-packaging_21.3.bb +++ b/meta/recipes-devtools/python/python3-packaging_21.3.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" SRC_URI[sha256sum] = "dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb" -inherit pypi setuptools3 +inherit pypi setuptools_build_meta BBCLASSEXTEND = "native nativesdk" From patchwork Mon Feb 21 21:23:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 3992 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 37DECC433F5 for ; Mon, 21 Feb 2022 21:24:57 +0000 (UTC) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web10.4760.1645478696559535771 for ; Mon, 21 Feb 2022 13:24:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CZKX8D5Q; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id iq13-20020a17090afb4d00b001bc4437df2cso396507pjb.2 for ; Mon, 21 Feb 2022 13:24:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=wzVGVNLTLiIe1i6ZEER7SeSqgTeR4YPKEXwgyumnRQQ=; b=CZKX8D5QaBeMIA1p1gKGe0h2lqkWkJgiit9ZQwXweDYPWw3yBS2ztb8SNOAj0xamZg ORG4M7KG0RO6JOTUj+sHp4cGb6QCugt6J9mTERhOk121SG6BwDkCFDBeekpPoJZlm88+ GYKnHHO+Nkn+TBECUGj6R17Cmoh5FHDfM+0lSUvIHSdav0mzu4/qT91COhkYa+eCHJzp xbYuFFnrGDVHeMUtZ9kUqpFvo8eA3LJstZgWIH5hp9LmaJQRf/pfQEzYmHbc9E1E6z/p LDJiBJlhiIfYbbG9O40TbbnDrn8gayc1E3/XysIOM4MH6Vky3nnYlrZIqj5xaqd8Ne1x 8GnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wzVGVNLTLiIe1i6ZEER7SeSqgTeR4YPKEXwgyumnRQQ=; b=wBXU9Hs7lx36QxKeeMKjqyCyxiXXz1U3iGpW6zIz030xm1dnJr5ngPaCwjapSvkAT9 u5uC7PEGuAj6QfPqareRO/SOAKr2fOFnfu8bxwR6kmaKor1mYvU7sS8hBb+/5qHmooEU qkqnaFDpKumjdcMDD3bRBDbLQesegubMe0/FrtO95byNfucQ4shFePc+gLkYTYnSX7ZF hPTx3ZPHPPbSNubltyDv6CdGdTrrG008moAJvT6FhCZVFWo0Pbaf9kVByjQlIOcolrJt DLK/XyEKjvsy96EZKIuDAx+XZiS8F5Z/n82+5cAiuGlovdTyseyu6lZQrI19K9Vhz3pF EZoQ== X-Gm-Message-State: AOAM532eJR0H3TA5LFCabhZMPBra9FbEOnZ/0z5gVCAwBhgh1/p9fVc1 DYy3qkrZ35nBNG64bno/iK0jVq/57gwj9Q== X-Google-Smtp-Source: ABdhPJwLuog6K4ajUsolftO0aKcxNOK/NfLb8P13g4tnlIyR45Pk1pi1dOri+rVssyfJOAzZVg6i0w== X-Received: by 2002:a17:902:ed8c:b0:14f:d623:f41e with SMTP id e12-20020a170902ed8c00b0014fd623f41emr2079906plj.167.1645478695603; Mon, 21 Feb 2022 13:24:55 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d01c:96b7:6393:8c56]) by smtp.gmail.com with ESMTPSA id n85sm14081529pfd.142.2022.02.21.13.24.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 13:24:55 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 32/32] python3-nose: drop recipe Date: Mon, 21 Feb 2022 13:23:47 -0800 Message-Id: <3071336da7ba931774c91ba3a937f277c7b7c7d7.1645478020.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: 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, 21 Feb 2022 21:24:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162108 The code has not been touched since 2016 and numerous files still have Python2 syntax code in them. This causes do_compile errors when packaging a wheel (PEP-517 packaging). Nothing in oe-core depends on python3-nose. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 - meta/recipes-devtools/python/python-nose.inc | 18 ------------------ .../python/python3-nose_1.3.7.bb | 2 -- 3 files changed, 21 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-nose.inc delete mode 100644 meta/recipes-devtools/python/python3-nose_1.3.7.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 7a65612b7c6..333685cd8b8 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -616,7 +616,6 @@ RECIPE_MAINTAINER:pn-python3-mako = "Oleksandr Kravchuk