From patchwork Tue Feb 22 19:16: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: 4075 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 4FD47C4332F for ; Tue, 22 Feb 2022 19:17:04 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.web12.1856.1645557424001225736 for ; Tue, 22 Feb 2022 11:17:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LVdwrug+; spf=pass (domain: gmail.com, ip: 209.85.215.179, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f179.google.com with SMTP id 75so17822107pgb.4 for ; Tue, 22 Feb 2022 11:17:03 -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=LVdwrug+Ikvl+6bJqV+e+LUQkWxU3V9ubrUDb9vFiZVLTyx1rAvGvNgBpZ/VgLNETn hjtoQxy65Io4qPicLvC6OIN7ZVl9P2aaTxWNx3wnLlFIcMugx0gpRv3itrZYAYq5DW9F F2csBgl5Y+j29+yyDuzrtZvmXARJN8dhbt1NJUIs0XqwvXcwL2yvv2718cKj4GYiSKKn L/jSiAzsagepB1feImCNiXwP94TG3Wb5oHyzNWtUK8CrZU57XsdZlc+29zEJi64bJiEK NddgkUOlOyrobD25V68tXuFLtB2n6hP57+6LEYuodTdNCyyKM62YgmLXsdffzp2Y1+IS xHGQ== 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=vXGt91QJUwVrUHJvG4AxVaTeg1/rSjygoQHl3KBJyLeVBDzHFd6kt04cTgGXmMx9Ba Wtrscsj/FQEfDaTBDWhsWnhXqwSZk5WZTrfPUx0qNLYeOgIHrm17N7N57B1sQG+qjrjc 32JlGlruhVu+vrp4gcLxOItdO+Yquufl9jsK+gmv/ZaaVXYmbIhFJ56h+3jqmC4rEWxQ Dshw4oGy3Sj6TCWANJmhoxgSHOONFtJFkzPlvTYsvWP46lWSBFTcVHGxNeSBHmKiNbiZ 3rvGD3CyGWKSyHRsNPN2q9Q1gKU2JaS849BRZRGCigsdhWBZVITsgwuOa3UzwGwMqoE3 834g== X-Gm-Message-State: AOAM532xOMgVnKRJeZgjlkV8RdXxcofJ7DstH3BsThdikx9QANXBaW0Z 5DLh91WeKMUvNYR+Wlm/r4ibnY7pwWXa9A== X-Google-Smtp-Source: ABdhPJxn81eG6G1d4gz9/SsfadDHScZSKuQFy2cEiEAObVE/UwUnmzUwBbhN2a0usnCqiJuUSYqYvQ== X-Received: by 2002:a63:f551:0:b0:36c:54bd:da32 with SMTP id e17-20020a63f551000000b0036c54bdda32mr20493413pgk.285.1645557423082; Tue, 22 Feb 2022 11:17:03 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:02 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 01/32] python3-wheel: move 0.37.1 from meta-python Date: Tue, 22 Feb 2022 11:16: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 ; Tue, 22 Feb 2022 19:17:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162192 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: 4076 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 6070CC433FE for ; Tue, 22 Feb 2022 19:17:06 +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.web12.1857.1645557425787358924 for ; Tue, 22 Feb 2022 11:17:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dNaL9zOS; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id y11so13061355pfa.6 for ; Tue, 22 Feb 2022 11:17:05 -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=dNaL9zOSmV6lwP45Dz0ZPCNZdqyfIcgeXdajsXBXFy8wnMvCFRgp07PgZ1IoW05Pr9 e4GLkx1mYMeDdbTuzH/dhH801YHpgGcuDw9QbExOKdiEqg4dE6Qv3kngap8xHNtKQWvM /r5+Jtvd3EoWG73zdH0NMgm19VA6T2zIfuXcie3M4w4/IEBsZ1xKC7ru3Nd4/k5J0O1D aFZx0cyn+3WYZDhRvkTYRLV5F5jYnbXBYuogB52LBlowghSzxGFazd2cl+pocrTvq3K9 OBcdTXRp/tFWcf4gKzlNzx5x6JAHNnt0arpPokyM7c5bI2nRMSnjJc/b6DkyWxwR9pzb /voA== 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=N/+JUfXrEN+YzZgXw8Bu/9iriwSM4+1qwmU4YPJwgWKcHzXpt5T5/3e3axrHire+3i +FAzxgmaxx+sm5+cBXDptq4sTM8VFKMg5FlmnmMsbdhCqAssqMDMvZu9743+fcS9pl4S gWe+eAlBG5O5aJDteFoWnEfnBf7LTdEa85LXuYiHPApS2opjkwN4NWsDgdyNsqSR03aO aiid1NAT8TxM+nbQYglkuw0qHbqeiAXIpOmnczQoL3ZIQhXgOPS4yeZjtE0l8Ak7a8HH 3DQOcukRdyV6QR7Xgyjw5ldo5nzbF4VZF8O3kcjTUHt3WvMTgvEJlxKiiXo8Kx8jmQcu g7ug== X-Gm-Message-State: AOAM5338cdJWuaQcMqZE2ZWZdaqe6U8CLXMPIJgGPNDflotCBagf15yq aW8PJSXnRr6IZ/qd4r8UKY+uBUTp8l1K9w== X-Google-Smtp-Source: ABdhPJwUW/jss0r5s70gGGYLFVcQN0Yx5xcZdoubyP6Md2stKYguMx9Lhmhh8Fe306NKFA93dWPMdA== X-Received: by 2002:a65:4d4f:0:b0:372:a6e1:f675 with SMTP id j15-20020a654d4f000000b00372a6e1f675mr20922723pgt.112.1645557424862; Tue, 22 Feb 2022 11:17:04 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:04 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 02/32] python3-flit-core: add recipe for 3.6.0 Date: Tue, 22 Feb 2022 11:16: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 ; Tue, 22 Feb 2022 19:17:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162193 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 Tue Feb 22 19:16: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: 4077 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 4B376C433EF for ; Tue, 22 Feb 2022 19:17:08 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web12.1858.1645557427636819533 for ; Tue, 22 Feb 2022 11:17:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=an4E2pLD; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id z15so7311951pfe.7 for ; Tue, 22 Feb 2022 11:17: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=CfHg4DcEJtMZA8euboN687Jj3f+GOy7LRl/b0rjXE5E=; b=an4E2pLDo7taSfrahChTgCHRNZJRRXc/r/5jxCbmETT3ie1tFGR2Uz61eSqYJz2U+Y MootkDFvrL7UTRl9cTtRISffZJ63iQOi5JlOOkKoXuhFFlb7wN8yFJeM+zofLzguuTx5 XEfd5mkuCNQeWolFGbWKZt7ruqaUovk0hHWYZGzNyxMQZ77k26rNKR1TwPTlYy+fL20K uVk8EXHwPZtblstjvNQa8gkPmbbe8xtXBbE5mNBv9XbKpSv52G7t5PuYppJ47KcUUpKT EtQraMnx4hGJf1WLc1T30Ra57YS6YjulZl+kKsFQUmcak95sx2CsClqJqiKcYbK8hjV8 QPrA== 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=02j0WqcEzxxgfCMeqfwrJ+Xoso/8EOltdbyrh6r26bf/9IwxAIYxi7y/e4jJ1mJibw 9ejbB3HkYvV1HgyZqs3K/SG3jdSp7OBVJVsx39ZvmH4R7fk6YMRWHpIKB46RI8Mh0w/X cIK/GHS5HRFgCCKKqnqFDjDbvnt7VIrp0qO1SWnKHkxELFZLvUL8flbjWIQPVENicUdh OKYGJ9mgNKn2R1B0donF657feJZLYyXcPhfxxhhLCfrF3Eix37Pr4ZSOertMEm81k/uS 0fy/rtWbKC0KweBt9osfLrDPMY+8CRSWzkL96XFT+OFVATdlJtIH/DRigVuiViDEydS7 20zg== X-Gm-Message-State: AOAM532MptswCnLHb4exHeLoMmZYsHocSVGrBXRtRRmUzRvfkBhhDdus LgiPWJPDLMbI+rd/WAM6iQaTk92UE7llSg== X-Google-Smtp-Source: ABdhPJxOFKws3UnEJ4/wVCEOLhd18v5bMzVnCn/A6ef1R8py00TDUhowWfzGynmKyXxowUH68UJ/TQ== X-Received: by 2002:a63:4b07:0:b0:373:e921:ca4e with SMTP id y7-20020a634b07000000b00373e921ca4emr15558585pga.58.1645557426717; Tue, 22 Feb 2022 11:17:06 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:06 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 03/32] flit_core.bbclass: add helper for newer python packaging Date: Tue, 22 Feb 2022 11:16:29 -0800 Message-Id: <168dc5b183bbb0e552923f0def94290f98d8e339.1645557032.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 ; Tue, 22 Feb 2022 19:17:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162194 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 Tue Feb 22 19:16:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 14160 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 v3 04/32] python3-wheel: inherit flit_core Date: Tue, 22 Feb 2022 11:16:30 -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 Tue Feb 22 19:16: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: 4078 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 502E5C433EF for ; Tue, 22 Feb 2022 19:17:12 +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.web08.1966.1645557431173434876 for ; Tue, 22 Feb 2022 11:17:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hrm3ekDa; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id g1so13074936pfv.1 for ; Tue, 22 Feb 2022 11:17: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=2A9zV8aR5M60wXz9FhHddcStTsjphIo+8Q9kHuCCezQ=; b=hrm3ekDaKpw90KKoqH4Q0emlFdioG1SH9neqOivs4TKuG0+PnNQDeMKv3yzEGV9Os0 r5VvxD97Rrgqc6HqvyCVPsW8OtQ3BC6nlCdUZyVuwYRmqOGlm+G2NadMy1j2W4fA6D/e lSrzsc/L93IC5+kg1dR7xBXsBzCEK9hiy+aqPA8mL7wwdNiSflWHIfchv9XF/wD9E3Mu RwK+m9e6pnsTITkDah26xSvzxBSGe9EbBCRiUT7JJ59eQHlJkfTXg+KlZMYJHLsVJs0/ JeDdyMkQ+i+ErUXE0cu88UtzQbzeomE1P5+pDm0oVDsKsd6rX4c2O7yEaNN130YWrcYv 2C8w== 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=2A9zV8aR5M60wXz9FhHddcStTsjphIo+8Q9kHuCCezQ=; b=gRIFoRaQQNRDmRtVTDJTcC6GHS2biAdpmNsAIPckx8elvrWO3utP8jK69h8vTtI+oz LOO3jE/4p9NEo3KRDHoMxaCq2+8yLkETXZKaCCCI+mhSyOtYxVHX7P/n01aTge38Cii2 GH6+UGLOrvEvkQ8e6SNCyr1wSTVYPulRMtjhO/V6nPKC+fAvKzsMs5tsE+td3cfKLjMd BVAHnkQ13yS8hxO18Ob2+sQK8o1ZFC9PvLw3KdvvligVOekRtyb8RBRo8qam8oVjVG90 LpdI2vEyO2AaGRdIz6H5wCUKmkvwIcxixalckwOKOzbbhLIZxcktwpMBbvaA6W1+2rO5 cHgA== X-Gm-Message-State: AOAM531iTEvBxoDeaHejiaNCjlwOKsnyHuUqgmI3NGs2olLrczs6/gRw GLCNZ+EuIMxERk70EOnsSVf+J4i40HIWfw== X-Google-Smtp-Source: ABdhPJw543HJu1tbeTDUlE8cCJbjgNJkmHy0EO9Hxu5v7wFBl1vtROsWqX+A5Qf7xbkDJOPX55N1zA== X-Received: by 2002:a05:6a00:181c:b0:4e1:a270:df4d with SMTP id y28-20020a056a00181c00b004e1a270df4dmr26206245pfa.71.1645557430079; Tue, 22 Feb 2022 11:17:10 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:09 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 05/32] pip_install_wheel.bbclass: add helper class Date: Tue, 22 Feb 2022 11:16:31 -0800 Message-Id: <7ded178838deb30461a06ebf7cfef04f0a08af74.1645557032.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 ; Tue, 22 Feb 2022 19:17:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162196 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. Also pass --force-reinstall to make sure built wheels are always installed so that FILES gets properly populated. Pass --no-cache to avoid a (harmless) warning about the pip cache in $HOME be avoiding use of cache. We do not likely want wheels cached anyway, 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 | 39 ++++++++++++++++++++++++++ 1 file changed, 39 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..70f47d6f79c --- /dev/null +++ b/meta/classes/pip_install_wheel.bbclass @@ -0,0 +1,39 @@ +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 \ + --force-reinstall \ + --no-cache \ + --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 Tue Feb 22 19:16: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: 4079 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 4E949C433FE for ; Tue, 22 Feb 2022 19:17:13 +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.1967.1645557432896661481 for ; Tue, 22 Feb 2022 11:17:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Q4/RdeKs; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id z16so13077819pfh.3 for ; Tue, 22 Feb 2022 11:17:12 -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=Q4/RdeKsWokPwkljKfEIjdhINq3e+lZlDV5w9hJ/NVqBtb90YCj+pD1K0LHMU/sM0a rdwKBeHt2dYG0enryHeAuPs4lQ5pA+yEXwiXM1SrJdSHoOLjiQRNSFEe1dQS0GwFxFs3 0D19HOQSo4qaPjehN6mNjSe9buKgiqAZorKugWLzEfyLlGZqQYhvQcuUcRfEICIymZY4 vlSRpTToJ3nzpGIuJjnp+HVR1UXek5ye5HiI8SYAiZ2RHBnPhyReMfc79Grl4pRZQjyo dfQN/4nLchp7UUEJpOM3oYSqPmKqvn7ihHVTDiytRzRtwmNwhTjH0lo9dF23sQFlaFu7 uc5w== 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=VbV3NWqGfecY3TF6eU7d8hgCPCYQXZ4xjhOk7+2qF4VHiHOxH0v41Wu3mh0bAPgUmm Hgj7JxqlxKQPVhtC17TpsKP2eHU8YeyxZqog+s+NNnAOaL9LXFEVOvkBCv6p27Gftgwp YwgHR/AVoSQVgULPleRWz0ZpcQlOGCxLakFqAdKYO+yamErWiZwPwjCmSJDXmx+kGSUL q1uxc0wKhtuZZpUolAHsxUV9Wg1G6XYKRuxTr9GnyHmWg6Hi17MpBKtR8LbXFOwm4ux8 zx3ie1RDsEk0f5U85+GoaymGxdyinHCaTWESSVj0zZPkQ2dhZjh9FERGtuQRCMOB0LV7 Is/w== X-Gm-Message-State: AOAM530LajI+TlNf4C8M1XExPwJ2HSVgkOAsiZWxWe+OnHWDSt0IWdz/ jxKx+tmyeb0qWdRIF14+EaXyBSK1Aqyhig== X-Google-Smtp-Source: ABdhPJzmHbl0NXLwa3nwx2lW7Q9jWA0HfnmQWRMnRPRT4493IJ3qG3B8ldo57K9QW0mMhsgwBmCY0w== X-Received: by 2002:a62:1555:0:b0:4e0:f0fb:654b with SMTP id 82-20020a621555000000b004e0f0fb654bmr26018897pfv.35.1645557432020; Tue, 22 Feb 2022 11:17:12 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:11 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 06/32] setuptools_build_meta.bbclass: add helper class Date: Tue, 22 Feb 2022 11:16:32 -0800 Message-Id: <08688c61ae3479338052bdb1c0f96a1455a17a84.1645557032.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 ; Tue, 22 Feb 2022 19:17:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162197 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 Tue Feb 22 19:16: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: 4080 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 520EFC433EF for ; Tue, 22 Feb 2022 19:17:15 +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.1883.1645557434664193113 for ; Tue, 22 Feb 2022 11:17:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jVe+tmki; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id 4so7891347pll.6 for ; Tue, 22 Feb 2022 11:17:14 -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=bWhHPJN72ybqi8E/3bpMgB2+KNdETHvjWsuVfcI7nvg=; b=jVe+tmki5LypRswFX0oJu9VSsU9dOUAopfg4Y/T1Thi0ODPgvCBOr7+B+KV78N4AXq LiUXgV/nRdVLpOwD7+1Gca8KyeE109dPbucO4EB0iv3T3Z1Gc1HnlSX2bxZKVW/QHRaX RP/+q63kmfz6r66epKdV5D2TGSCMeX2PTKnjQt0MrBn7VywMyycFYwCe5kCD34RZglBr IvFGz+pQ59+nyXuJCl4s9K8ym5ZEdPALW8hfEfFdTO2kbpuRZhFF2fLqsg7d5GBgxUvW E+aZ9JxD333fWeAQlqIMH16QZuBe3ZGNd0Nu5OmUB6K3rNs0lpIP+aubFMjYqjyuK2dM E1Xw== 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=bWhHPJN72ybqi8E/3bpMgB2+KNdETHvjWsuVfcI7nvg=; b=xSrBk1SrHSrp7VDN7/oVphskiZOeoSnvqHAQMDZdf0R07f5x1XqPmnrGYyZb3+Hgme PQWw7ZWMJO+8jTytOM5t1hWUvM89UhqXi2ILoVp5s9ZaTJItN3gbhbk5HY+t66+56v05 nUP/Wer7hunTEKEZiCaHp3moxVcjYhDfn1Rvte/K+3GnAXxq13KDQlg/D6scfSIsVazl KQ550GpYxH7CwQDPlDXD+t/QPjnkRNpiurTY4wqsTUkxwxeNO3vzO8z4UgIbaZWfrwHl vQ4aMyQl6A37Dy3IDWFZNJ7KqLquwK0iw0pCBIG00UY6n94MI586vA5dCzV5MTel5Qmg V3GQ== X-Gm-Message-State: AOAM531bDu1VPnSboo5FbkHhlEdiZuW+IyXejf/WO9pnGz058shRMGgL 3YP8WWD4knS7h+dvTA+sjCif/P+/asKd4Q== X-Google-Smtp-Source: ABdhPJwq9mWBLbBhnzN0tRq6qpzsGeL/gv6JLFzKmIQdyRj9xyMDV6at5PMSjdtgo7VtG/nfmu8EjQ== X-Received: by 2002:a17:902:d4cb:b0:14f:f7b0:cb28 with SMTP id o11-20020a170902d4cb00b0014ff7b0cb28mr47612plg.60.1645557433631; Tue, 22 Feb 2022 11:17:13 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:13 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 07/32] python3-pip: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:33 -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 ; Tue, 22 Feb 2022 19:17:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162198 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). Check for presence of ${D}${bindir}/pip and remove if found (this was originally to make sure Python2 pip was the default). [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..c4671f50175 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 [ -e ${D}/${bindir}/pip ]; then + rm ${D}/${bindir}/pip + fi } RDEPENDS:${PN} = "\ From patchwork Tue Feb 22 19:16: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: 4081 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 4D4F8C433F5 for ; Tue, 22 Feb 2022 19:17:17 +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.web08.1971.1645557436370384567 for ; Tue, 22 Feb 2022 11:17:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ODIDSqbu; spf=pass (domain: gmail.com, ip: 209.85.214.169, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id w20so16492776plq.12 for ; Tue, 22 Feb 2022 11:17:16 -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=ODIDSqbupR2LpOgTO2dxiSVuFStj/T32xCQJzPT0oQZSfcFqi2mTf4h2oFtL5+OOGt i63dgktEdVb8sUCFqORdUuiv83zjYbaWlIxhYxnBNCwP95L+Exi48UdiRC4jtj5d9mr0 45pJOwANK5NjoopYaXJDKg/PHPKFaN/rMltZ7klt78AE4uA691fOjriZRMWohUmSw+Ay yNY3Ylt42PBOOcdU2dI75c6QF7XNvhq1zKDzkoLEh1oLKhOOamDQxngj5wSjc75ECOlp Ojm8UeBunOi0RZowEacqIax/Y+sBof45bORFAmhIYODjaE2zjQVxJ6O/1caS9bKYuh3k uVYw== 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=0HFhHnkqaqTx/fDKK9d532kSkGsT9nS+Ip/GxvRlUIm2vF/0ihLijQPoDOf46AelK8 AiprlfBmZvGfxFnhZsTA9f45d5H/zU/8gpC2gov6KQ4LmVt1wCV7U0+OgmG5d8BS+4uC CmttvfIUheeD2mAukY2WZNHJ2O8uGFZi5H88vUT4lmJHjXBUzMky+m+mcFhEidAv27gg a4q6ZGN548HiaPzo747uvviGGYC6oRY5LjBTn1ifkhqzCJshMbofzAvB8g1a5HiwDYko BHdpzwmuQa9PMPPfl+6I3eulVcQ+7ZirmfYhqyMtmF/S4tITRbSB7jl8tUA302a47bQs P6RQ== X-Gm-Message-State: AOAM530lVuNKFOrvLPC2oZQIt6SnShhM1sYGTa0YlxCCiDKz5CDEhcx+ 35K7h8jCSDozt4M1fsuAt+6QPwHzdkumzw== X-Google-Smtp-Source: ABdhPJzzljJ8p5xUarkSRw6iV7mEBnG5+8jvG6zS4XKDHPf4dGN5BY6gUSxqThiomp8D/nUpQZlxxQ== X-Received: by 2002:a17:902:bb8e:b0:14e:f1a4:d8a3 with SMTP id m14-20020a170902bb8e00b0014ef1a4d8a3mr23891037pls.138.1645557435490; Tue, 22 Feb 2022 11:17:15 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:14 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 08/32] python3-attrs: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:34 -0800 Message-Id: <41deaaaa34b8f4665ac068052075bc39217aaeaa.1645557032.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 ; Tue, 22 Feb 2022 19:17:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162199 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 Tue Feb 22 19:16: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: 4082 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 62558C433F5 for ; Tue, 22 Feb 2022 19:17:19 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web12.1862.1645557438236884263 for ; Tue, 22 Feb 2022 11:17:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZvpC39ax; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id v8-20020a17090a634800b001bb78857ccdso512894pjs.1 for ; Tue, 22 Feb 2022 11:17:18 -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=ZvpC39axsFTLqB25+mKsaS6PILoLflhIjDW5H7V2fN2P5K7KNx/1WfZADBVOqXXVWV +b7T460atpcp1fCnOGh+RIs8iek9jhtVHA+u4zOksDt8cpaQG7E29Nq1bJfH3Wz+QSIR xYajkOxAFlsByKHytLazh6rV0DDVSiIp6oL3xURVINOV82NaO9Ug+cJLjtEIifgANqsM SF7yWDeVlvEuHN7G4Eg2bi2VFKMxU08ltsGAEWhzcB9Dfyk6zbJ/Tn2qHBGf2FN0aBYA rasygKpQQv0MnQSCWxtzZOmHEs77L8bBEff9LyzXQOUvjA0xNdC1JnxpRt4c9bDMmtT9 426A== 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=OpluaZ91av7GqR0W8ErAcMG5J6QfFj8rQ0O7q1BI6RAEYNm6taElUP4Vr9MFzgeiOD Xa0KnlVmcN8pf5cFDvZhpjaXZWdLbSLCvNPwswVlEdAw0RzBZipd5sWTWTypEe1AuTX1 qqP96KHZkF2QLOO7rhWkdm7+59Ptxxa/3lEtDrE25SEqzJt9nrLrGMmO1GCXchRGGDgM XHWFLiHlGsdeWt0TvW9l9pHO/+eViLc02rA+/O7YKNu3Mv7PS1wDmFlHNSG8vN39VK/r +vs8RRIkW7EG92EWdog0AnD6ROuk6SB1SiEf1vPDRhHTfucOQpcbEg1QzRal8TR6WFTL 7wig== X-Gm-Message-State: AOAM533WFCF+ZL2SvQewNpTNheDJ9OwzqBk+3rzIKOPOb4SXu8RSGyQ8 r0+L+KIVucCg2fM8xC5AdqB/Qn8vJSqH/Q== X-Google-Smtp-Source: ABdhPJw0gzAb8WwD7NrJAs0iykSX7+3JGiVEKUIPGbn2n1fZQKY0p2sW7jHOpj1grrFnFPbbFubjiw== X-Received: by 2002:a17:903:292:b0:149:460a:9901 with SMTP id j18-20020a170903029200b00149460a9901mr24515540plr.44.1645557437300; Tue, 22 Feb 2022 11:17:17 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:16 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 09/32] python3-git: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:35 -0800 Message-Id: <31806c669201042e8151be1c7bceff3a17b3394e.1645557032.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 ; Tue, 22 Feb 2022 19:17:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162200 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 Tue Feb 22 19:16: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: 4083 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 4E60CC433EF for ; Tue, 22 Feb 2022 19:17:21 +0000 (UTC) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web11.1886.1645557440129032865 for ; Tue, 22 Feb 2022 11:17:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=K+vtfYU6; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id z15so7312576pfe.7 for ; Tue, 22 Feb 2022 11:17:20 -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=K+vtfYU6uPApmjb2xNNl1w3hf0fDftieEB1ds+FsydvHJT886WlyFsGzvcjXkxl3I4 TC4TEQ/cjXq0oyrsdLd+f0afcjEg5/c/00qdAa5gChxyr2JAxrm9xJcjjL77YF2ruaFi buyfCsW9Bd77lV4cTePdGb+m+Njdlak2Dt+hpYnGe6uPUViFhnx0/aGe1A7XOizpiHT3 nJOKmbdbqauuRaFPxBgAfWhYjUEDr5PKiJVzVxzH+TLfPqS8dd2vJgXe4kVk2zA2KO6X /l7PW5fZNurBcOGPEffascR/qbSt7/1V0Yv5RRE0mlVGdThcf2R4sUL8bdwNnPTxrlgJ CtYA== 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=zhcgiz9le/5TCiM4mfrCfFe9sB3WoKrp8TOTMDBulkiFWQoqirxeolJeCVLLYwdWqY zmYSRt2sf0svZ/nY3y/f45HYLS1DWJKUus2mdzVobHbkPPcuW2HwHtc3jz7A20jXaKgV jg83zjV/ZKL6mptcUbXNXb+siErwFLmLElNqsMJt+V2lXJ+OZsyQrH81GbIzwXDtpSjz smigf5aj8juMKL7VrQayNkT8ljDFy3JnDP1s1zORHzom28epbh344mcEokiPVldSQWte ochxcCLC6wS0we2FEX9WIGtxNcLzED2iniSMHxm/G0F7PQkIq7AWNko+rLL1prFIiV3x rnPg== X-Gm-Message-State: AOAM531CAZTHQlCVoMPMWPVZABKwCC6Q5CuYjE09L+c8diU+CsuFy1zw /vrwDCnY4Y+jou0q4vllFGVW5VeR9NYoKA== X-Google-Smtp-Source: ABdhPJy06bf//L4z6vtLq4416r4NUoik6MhUhhnXpiwy5hmLoIGQqPcaIO9fVhG6NOijk5aToaOqCQ== X-Received: by 2002:a63:f0d:0:b0:374:916e:52a4 with SMTP id e13-20020a630f0d000000b00374916e52a4mr1970824pgl.457.1645557439019; Tue, 22 Feb 2022 11:17:19 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:18 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 10/32] python3-pytest: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:36 -0800 Message-Id: <81cfdc9e6a95afdabc798752b204da51fd206d5b.1645557032.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 ; Tue, 22 Feb 2022 19:17:21 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162201 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 Tue Feb 22 19:16: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: 4084 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 4E592C433F5 for ; Tue, 22 Feb 2022 19:17:23 +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.web09.1906.1645557442162102619 for ; Tue, 22 Feb 2022 11:17:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=apqb5nqS; spf=pass (domain: gmail.com, ip: 209.85.210.178, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f178.google.com with SMTP id w2so853200pfu.11 for ; Tue, 22 Feb 2022 11:17: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=MbFM/lfHIRRkVJn+qCVJ397jXTQm8/CrUAmSQXaYRLw=; b=apqb5nqSqzzBQiTZpNk1Sm9P33/s09IXbaYfPlUShH4Vitsdwzp/QzVRQQfnYnW7s2 lE/K9YPnr8Z2X9doqD1tGLbcCuUdbf8SHHWXyL+SSXw8xvoxU0UrAxqCDVbxGbqyAqqO cs+YsxCW4waYAUGBqf0+yxWovGRnjePDMFb6f52gEMOCxxGgMYle8NXNeCQlcrnuBCDm XswjGbnPJe6Z0skS2BrzyoNBs6TE/PV5Xlz/HNUi2q0uEIN8t3wUSt6ABi5L5dfcao80 gf47Em5fD/8aJOfmmmMLxSBK07HVnkTDSunEYWg1O0OKTO+Ma6fQzMQMRf6nvs5XtVj5 UxjQ== 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=uDcmBvkQ4TNsstk+op+0Ep9Rv4mpXMVvmSiX/Xko+Bg3m6qym5+ogAq2X76vrvhocG DAnN6O8e1l8ePVTb7fREmvHil5ylD3i3cFPghaoyT/Lig8AD8f+wlfwOtBGJgITdybDt CKWSk9lk37QSa0m8szRAlfQaDOpBZTmvKsIwwiZKCmGNf21taDg9kjwD2nyGL9MKkCEY n/gNxa+ZXn8hHD1nz0faDNfqOMEKsQwVlvuh0DOZvA5UsjBwmtrztYBwWd/m3siYgWi/ FB1w+hxDnsttltlYcs51pYrbZHCbSzWYCT+RTSiXlXSvYzb/rOo/CQt+l5M1y/IHg3vR g5GQ== X-Gm-Message-State: AOAM5330QlfCOj38ngPp0aOeDfZVAy70mc8loaSGK5k3jzoaiKNoDuqZ cRhoabaayVFPt3gK16/95dl9PLWoIE/swA== X-Google-Smtp-Source: ABdhPJwZMQEEci7xYua7QRxqU2/z2gLx3JzddF7zzVRdaXpVCPUvp5uAm/HO7kErxVAfqkbsvOOK8A== X-Received: by 2002:a63:c47:0:b0:371:3a2e:32d8 with SMTP id 7-20020a630c47000000b003713a2e32d8mr20524174pgm.281.1645557441016; Tue, 22 Feb 2022 11:17:21 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:20 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 11/32] python3-setuptools-scm: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:37 -0800 Message-Id: <6fb52bdf04598ae134319cf8904ae9a27fe097fc.1645557032.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 ; Tue, 22 Feb 2022 19:17:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162202 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 Tue Feb 22 19:16: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: 4085 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 4EE25C433EF for ; Tue, 22 Feb 2022 19:17:24 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web10.1831.1645557443422584085 for ; Tue, 22 Feb 2022 11:17:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lpeutk8R; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id i6so13049716pfc.9 for ; Tue, 22 Feb 2022 11:17:23 -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=lpeutk8RyfhSRizN6Rlt3YeOwMGEvdMab5fEESZckTVc3EDjKHtXeuL9U0wagvh9Wr TKF0MXBOegi/uk0kCbOj+crjjKCffOseZl8VJ/k3S6/JQngo4OlkNslgvc7dzfnC7AcH RYL7cEYpP10pzjQYYD2lOIg4GjmHQ0Lqg1Gi6v/03j1YU6hhYXkf4irEUX94SuqRcjjX xqhssq+6cl3XsmvVedB3F3xd3pEHr81YnOt3tcyQ+NBkq4+0I66XKhNOoeqe3OXPqmnJ lZvIbCuJWMAB9IqAj+ztlpCXQOEx1subEafD/JIjkfLEh/sq2zAEIaNqAV1+K/HjDgJi XAnA== 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=pLFQd5+3EBkvAyQdL9nlUBRKiYoqqTyE13y+fzRyd5mL/fuiRpmDAEyF0lttnwO5n0 C/lkJAjBcUf0TD4Wm34p2soCGml8DNufrTgcJ61gR9GCeANnLK7nkaQFcgQNuG67Y977 XC07uMmgjVnkgUDd4dYnKty+uxC4QXHdOStJf+YqAZfDRqQ9maoPc796UNi6fH+zuLva 0Dfo5kKSCrUpILe8WSH7jB1ELmuUxSGOMwdZ9jitbyNBrkG7qx4ou9+VUlKpj/mwy39C vgx4iTzi3WG0H3ZAG0+uWblQ2HeCsy2cKd6+H66dlw2rRcrKETngneCibp0ng58I4W9V 95pg== X-Gm-Message-State: AOAM5334A15UcZl7nYryJzuWIZA4cNZny3A2uGTWiu5cZUwDqacDHgWM oYa6sgfwjlThNKqLVqHQ9Jc4MmhXSWusGQ== X-Google-Smtp-Source: ABdhPJy7ecBV55de9eZUEyqOmRZgaRAHSlDGZwqs+pJYNIkf35h8BVAzmtr0Gfnxrrk4JbMIaRlDhA== X-Received: by 2002:a63:3e03:0:b0:373:a8ba:c962 with SMTP id l3-20020a633e03000000b00373a8bac962mr20360014pga.420.1645557442561; Tue, 22 Feb 2022 11:17:22 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:22 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 12/32] python3-zipp: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:38 -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 ; Tue, 22 Feb 2022 19:17:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162203 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 Tue Feb 22 19:16: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: 4086 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 4F4CCC433F5 for ; Tue, 22 Feb 2022 19:17:26 +0000 (UTC) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web09.1910.1645557445326240512 for ; Tue, 22 Feb 2022 11:17:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=l/kr0sAq; spf=pass (domain: gmail.com, ip: 209.85.215.169, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f169.google.com with SMTP id 139so17841586pge.1 for ; Tue, 22 Feb 2022 11:17:25 -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=l/kr0sAqlzaUzgCH62Fk3OkuZ8okDTD5ESgxTAsdsC8c/piIuswIhMpqJyksMAZahN m11aAM7yfHlMO+9RZ1Z9oIywSS9gKlu+vWzupKniraT3paei/pwVuUfeJLSloOZ4RzAo TO47bb5eKkHP5ay/PjF8h8shKb3tkG8zF7xqPhDzEFTIdTDtd1kcDqQ0S9+HEWGR9dq3 3zjUrhz2mVdRh8MbehABpZCPxj9Mczq6ZvgE0pS0XAUJBmc4Lkr2XLOHWIWUik1GZTvf ymcm6NNd/d0J/2g6wrjXYLwRrgc9cDHGNiF5HZZUCn8Y/VGd7ozoi3+TFQSv7X2oeq/i q+YQ== 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=050+3IUZ4fml3fGwlTv8vdSWMLRu1nQs6wEcIHbknPwuxq5+1dkNayhvH9V7AOuXP2 zFKOmKTL2fKr3+5n4ya8MZJZLuWEHUPs4gVgp9I16JcA+9fFC2MrOx+0dTnAIa1kz9aq oPzxXRiGTfVgWAYFHAUC60OrV7NpF3DprcvSu61IhOXusLQEwBJ+eEMo99Ru4/146ZeH 0ZHnWReYYseuAb+hpeioID0LuUyJXSQRefv2izFdN6M/V0fOW5/64WxQJQpgVO1IWqOe oWydKgWv0fNye62RTl8p1H66Ag2pKthve81uOcz4S50BdY1aTADKBlUb2OtgM2ADVUYP +HPA== X-Gm-Message-State: AOAM532G9iiWC8cOJdth8no1+lmGnTAJYLDedxfjaj+Y0FwA2TMnOYYT rvchtHx/JdzlZwOPgxpz1L4bVfouoK4saQ== X-Google-Smtp-Source: ABdhPJykPvK/YG6HuAYEf94dNd5weyn3CPRMx6bhFAeN93BFVnA5VYSMLZHS1kbvoppo5ebbjqH4Aw== X-Received: by 2002:a63:4809:0:b0:365:1426:8702 with SMTP id v9-20020a634809000000b0036514268702mr20812657pga.170.1645557444369; Tue, 22 Feb 2022 11:17:24 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:23 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 13/32] python3-iniconfig: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:39 -0800 Message-Id: <9bf296126a0d27b217c6ef65b5411815255f64f3.1645557032.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 ; Tue, 22 Feb 2022 19:17:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162204 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 Tue Feb 22 19:16: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: 4087 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 4FE2EC433EF for ; Tue, 22 Feb 2022 19:17:28 +0000 (UTC) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mx.groups.io with SMTP id smtpd.web08.1972.1645557447194058564 for ; Tue, 22 Feb 2022 11:17:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RS5ZuUqn; spf=pass (domain: gmail.com, ip: 209.85.216.41, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f41.google.com with SMTP id ev16-20020a17090aead000b001bc3835fea8so467112pjb.0 for ; Tue, 22 Feb 2022 11:17:27 -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=RS5ZuUqnXrZ5gv6JD3i0PX9Y0+9aO33qODFsVHFg9GOy/RtxasM8/HmKkhY7pEwl7B kuJE/psc6NI4efeo6Yu4vQJGCctfnmisj4g43GDwIk05FUt75Mx7q0ofk3j+so9LpZmP qMcSYpb9ALjO8V8idM1gG04Mk4Hv9n3IDfTDOFv/1+xSOBK9bRkQEdmVBG/HeVPn3pBq rlxVwUJ6Mh74oFHPblvMQKPxmo7DtJ5IsWxjRG8BDh8lCsQ0KqIapZw5cQDR+IoVTA1D y0J2NwRDslLMuqljw2wwPjo6b3M1SKUm0SU1V3D3buoYPLZa93DP1i1q8/E+CO/F2U7t Cuow== 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=6EI1smGCICsOi1jYMhc43Znjc5UgGwF1SK1eHhExZRLLOgBe2vT39/aZAOqUFVQkdK 4rliAgKPMD82IXk0vkpLjs8AZ8pKrwuuQ9JAJ91GfPp5rHtfiimbX6c9XiDReWCWkzbk i+2AUACnOTORs2IbDWzE6vMDAtQeMiwxiowlUrz1CWkdwoEdUZwb8djDRRMiA/7WCsFV moS3uHXfFa0rA4EoN7vwtk4prbejO+iOg61G4REPSkCvsMoUAJiFoBlav/Q35NDaBA+G MzBiOhW5e0LuIhbmiMN2WYsAZYgWIT7QBZZnGnbELSI8CfIjuaTQfz4KQ2tfy3A0GU28 tyNw== X-Gm-Message-State: AOAM530R6xDlRPNBL5654RsSiz541XeMmAzz99govyxcKWK77baWO/Pq v7DNqJ3kkEtHQNkCRMzEoCIafMHA2gxHpQ== X-Google-Smtp-Source: ABdhPJzoUPVEMtx+opS5gpEI6j5OGH7dTyN+ScD5b5BwGD9cPHuBpzWZcF3+6p2WLBSZbpHC5vvvNg== X-Received: by 2002:a17:902:f693:b0:14f:da72:3acc with SMTP id l19-20020a170902f69300b0014fda723accmr5075330plg.15.1645557446210; Tue, 22 Feb 2022 11:17:26 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:25 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 14/32] python3-py: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:40 -0800 Message-Id: <90f1068451fccbfc805d652eb971ea3abd12a8e7.1645557032.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 ; Tue, 22 Feb 2022 19:17:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162205 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 Tue Feb 22 19:16: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: 4088 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 4E64DC433FE for ; Tue, 22 Feb 2022 19:17:29 +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.web08.1974.1645557448561655168 for ; Tue, 22 Feb 2022 11:17:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P25K6muT; spf=pass (domain: gmail.com, ip: 209.85.214.177, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f177.google.com with SMTP id ay3so7669335plb.1 for ; Tue, 22 Feb 2022 11:17: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=1dEeEM7O/kcVvEVIjSYLF/yWoBvDrNA8gSBfwiQVOSQ=; b=P25K6muTIuu/MWW5BGsPpSOG1Z/3MGcdgk4ym9STsT/A2tBRVt9m3N76CStxp4TjWQ ZaF391AN2eihayypZ569GUmZ5i2V90pDQ/0he5ALMS0DnCppRX9VeX/mFd8DE0QPD0x4 LeCUSedtQXTA9J1QW2b1CLS3OMfxe4T2u34P8WTVIt1DwxVlet88F7fCaRhMao9bmiFu JT3MjI0bryNpXOiabEx0CayPgo/xeIlDNNRppiV6SDXaVG4QLiA1YnXbGQwkc0OGtjvF RJNg2AHf5kZO2t/7PrJ+Z9iD1LynxQ1DKmIBoMCJ3lDtdr3EYfiWcRwwNywcZ1YdsIiF Qjag== 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=7f1I4lRJoxNGRFJ9sJP5RQ0FRAI0POeOQHGdB7PzB50lmU8aTRHphLlBrxSNS2e6a0 2dEY5xrf16IjI11+WnI08qnTtBnbChOr9VDfsevPgWgPSTLd9FSYcft2MVQzoyap1rYI k90J8WlBEQ/vblkx6WfvJDX7mEjyAxOjMqAaIrMMUAlG4fbZaBszj7yxyNgPc+vq58Kf kta3ogbIwtgSMSMqmMJ+Zh6aqdEHek1q/2MsniWnDzLKEGrxdOCsGFwyyAE9zo/rKn8q jWjohp+hjUC12kW2yU3wNKN8lptv+mwFTZ62FLHTbki5I9fu97AoSA+WdJLmDorUrayL ztzA== X-Gm-Message-State: AOAM5335Eqa51CUx4vJYw/0dcvGT5jizPh5Q8aVRw+i9jwVdPQTO7xAs VJOTOmw4HfPZfH7zdje2w1tiPTQ3XvLd2w== X-Google-Smtp-Source: ABdhPJzxMPUk3rkNPWzWJ08POFzU87V8LfMGMyQVEmis+ooj6TgYrwVn6ule1kqtzmzJOCSNPIh68A== X-Received: by 2002:a17:90a:5291:b0:1bb:ef4d:947d with SMTP id w17-20020a17090a529100b001bbef4d947dmr5611173pjh.243.1645557447719; Tue, 22 Feb 2022 11:17:27 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:27 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 15/32] python3-pluggy: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:41 -0800 Message-Id: <342ac208b36ae7e85761f9d35d0571354135cb12.1645557032.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 ; Tue, 22 Feb 2022 19:17:29 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162206 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 Tue Feb 22 19:16: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: 4089 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 554D1C433F5 for ; Tue, 22 Feb 2022 19:17:31 +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.web08.1975.1645557450451608065 for ; Tue, 22 Feb 2022 11:17:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=N+zWkgUd; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id j10-20020a17090a94ca00b001bc2a9596f6so409765pjw.5 for ; Tue, 22 Feb 2022 11:17:30 -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=N+zWkgUdwmafwS6BCHdLwE0QQRjvTWpqNidTOJS5AFgNkcDw7ALE1VwxIea1euDpc3 mQDr6RPfDff6K20bVW8k/zWTs+Vja6Gci7PMlVix+yTbimtxnhSfDvF6pQqPUfS4IRyV oNLzzSisaOwDuiApadoPccIphabl4bECZmLchiA+qbtdv+v0ACbPxYGqPdIJ0DF77NKa j0JDebINuhqg+mRqvy4xm2iw8YqhSjIJjIy6MZr0MEMY+sQxxJnGgDliJh462wDfX6uk 9uE3chT+c9M9RdX9/j75X2b0qVa2kkb6STxz42IaUU0hLF3+TiUcdE3I7u4FDmi+6K36 PB6Q== 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=ETx3MnYW0HFR1wO9pWNsxswmMGVcu47GoM0Rmkne386HMSAsqk8OL22IhMyQtwUHfK Ddij8ki1DBWii9pyYc/f10C3CqarlqixXne21L/X/E+iecU8VyMRDChVXWUGl8KHFvge 5XdBaCD1PhLjp5eNr8LAKAsBtjjKFnrk0F6z66snnl9wJKp2jicHfmu0Vzvps1u3C53+ 11opSHOvb700eU9dYivoui6aca9pPkjAaUdYSsoyI8p0a36eFfwR4FFTV+edagsBfZHp q3W9cKet6/pCrsEOuIwuZ79ckYfkvdXPm6M4yn9YjXF2E+aIVDpjBLwWOeg3n518cvGj YcdA== X-Gm-Message-State: AOAM53399m3jmOKvPXAFtJqWRJdrw8OBySfqYAEY0HqcW8ISOVfhVxXD HTBUN3GAX9bIZ8yh6R8ThvwJwfo0aQS76A== X-Google-Smtp-Source: ABdhPJweLjhw0ZmjsveY1eB+R/qUAI0qXEDvfCaBpR3uIKG1UbXQYHREfUR8LE/zpWIkzBwr/Gl3DQ== X-Received: by 2002:a17:90a:a510:b0:1bc:5887:d957 with SMTP id a16-20020a17090aa51000b001bc5887d957mr5648483pjq.38.1645557449367; Tue, 22 Feb 2022 11:17:29 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:28 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 16/32] python3-setuptools: inherit setuptools_base_meta Date: Tue, 22 Feb 2022 11:16:42 -0800 Message-Id: <2aadb4286ebfe84c1978dc6c36837b20eedeaa9c.1645557032.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 ; Tue, 22 Feb 2022 19:17:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162207 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 Tue Feb 22 19:16: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: 4090 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 55392C433EF for ; Tue, 22 Feb 2022 19:17:32 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web08.1977.1645557451790352305 for ; Tue, 22 Feb 2022 11:17:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=d5Gjvqs0; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id m1-20020a17090a668100b001bc023c6f34so485305pjj.3 for ; Tue, 22 Feb 2022 11:17: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=JFBDtiyUBEaYHDGlHhmGIqP+Prn5NIIWPCr2pMfnyXo=; b=d5Gjvqs058hUTNNydmtDFhAtERGEqAwaoH5UqYXr6bwt8wykKqoSAYkHlfqTIst2w2 EJIq+SzX7LCbAaidCOVT6s8l/VBYIkxPtLdxtwAEC/Yaj2dF9UmLnqgqSaywRTqmLNgu D5Lu0/g3Nwm+/yK9xIdPS2TLQNEeQQx6rGkEjlYXwjepdRFEx3vb+qrsyps+uKw3xPbw B+K9q23bZWmdRNsoMcHyuZRbHZ8iWpvBxzUqA/7h4BLWFDWN3m1eotEcr4ZNd2cq3tk3 0qZ9XCghHmW9syS6mcvDiG6xkCbBdrrH0MBj6bcCM00X2zdMzQeCQKV/CHm+wrp7Mv1t hPtw== 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=we4z3Y4ody9Lm3akx6m0pEjIp3Oe7af8iLbSEu8YBbhsVNqE22Hnli5SrxqktJKEkW OwNFN/8tJBmE9pChhJ7/kmWlZjQKCKCFJIxSJanPWVfceElCm35ig1m7IHz8tXyn8PeA +NKMDcw+3MfaKV9rdTzwQ5DWeUsD6Y05CS+evBX3ChZXBNPUhuccd95wrqLqfQhy0B6a VU3NLd8sL7hOUzrlcOZ61lnhuB3NohWLoLOo3c7O8dhI0pztqvsCEuKgQrr/qS9crItX /uQsbqqvn+nWE29dW9Knor4PaYnu6G5jo+NhPdcTWAWJHSUDKeBEnBMSFvOStVtPxVse D9+w== X-Gm-Message-State: AOAM5309DDtlqPlNrzKfUMs5Re3MF5j13Ab6QztBUfvz13yK2EiNdZY2 VT6OQ8Y89TXdwNPD4Vc1UHkdByZchPN4Sg== X-Google-Smtp-Source: ABdhPJzaKOio4f3WBTvjrs6BZ4juFC6iebYJA+Y4AAwkyisF007SK0fVrzbLhXxs5YxRAGslV7c53A== X-Received: by 2002:a17:902:b116:b0:14f:460d:bf42 with SMTP id q22-20020a170902b11600b0014f460dbf42mr24527454plr.108.1645557450904; Tue, 22 Feb 2022 11:17:30 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:30 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 17/32] setuptools3.bbclass: refactor for wheels Date: Tue, 22 Feb 2022 11:16:43 -0800 Message-Id: <2a1f3ff2f418837246a4f93beeaec394ca49a611.1645557032.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 ; Tue, 22 Feb 2022 19:17:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162208 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 Tue Feb 22 19:16: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: 4091 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 50C86C433EF for ; Tue, 22 Feb 2022 19:17:34 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web12.1867.1645557453662021108 for ; Tue, 22 Feb 2022 11:17:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HhKOCosb; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id j10-20020a17090a94ca00b001bc2a9596f6so409935pjw.5 for ; Tue, 22 Feb 2022 11:17: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=KpabGmJjjk3K+/jFXIE88j1atOrJNVNNgrpdrYZkKAg=; b=HhKOCosb+nl+rK8budcgg/tOp/easK3vDWmIanJfLS3UXy1cD51TX4lIFblelkI0/z b8Bb+1J8rV3nNtvlFijOazwDV4C6NZeBmLQlHpglpD9A4zEyfxwqzP5cGkbXq4PZQp4f o13gonqjmDc8JM2hOWL4EbFn5297vKHIT0QWnIrFFcIT6u4PjvoDqUf4ZlaCrHdIKxH8 E9JrkpUe7n9kTQ5fZToZqXGZTDkwBE4iVqcGaasFdOMtOdvrzc6kHgMrW3tA8XZqE9gU /BoBidfmKT7WZ+yMHVrdcM9Jly2Mb36OIxRbKCPsLfEwpJR5MRRos8YI+323QAmq+kq6 K51A== 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=GRsGSRYoVWdVdKHRZjERu72c3HkDQSLfsrVcBNeMmuReAY2CBzNBI9YEemnE4WEgRi bA3ZBPjlWti72a8w0QInheewO7mxvW8fq/rHkYycKYCyR3xoYdX12WZblLMWxvrP7Ahn v36nPifEqbHCUpbCsqQwtMnyG+C+kjS7uWVfSy9OLh++as9ZkFde+paluVKFLbaZMVar Haw9b2d0TW1yQ66GHyDGBJRJbUStArehrVv1iJGW5x40jtbdhDbl+P96eTzHJUtSQgKi XdNvfZQtDPQHGmyYShSQ9we9mymh1h9YR4igEmufDYcxguevZpYi4aA0oJMRtAer70/E fQCA== X-Gm-Message-State: AOAM532OW8hhYZrd7+bbZrTTvO59CvxYbk6tdx+WWNeOTH0Q0qM1e7dQ Y0zZol2Ma824VuEKlXLXh7qS/uEeoXldRw== X-Google-Smtp-Source: ABdhPJx2Yvh2SqSysMQdo7kKZq7d/SFbcgEsgFui4eV0DnYAdFTg4WvJA4Xosfdkr4J0KTQ3kVgjPA== X-Received: by 2002:a17:90a:d511:b0:1bc:50c9:8d8a with SMTP id t17-20020a17090ad51100b001bc50c98d8amr5581833pju.112.1645557452818; Tue, 22 Feb 2022 11:17:32 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:32 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 18/32] python3-more-itertools: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:44 -0800 Message-Id: <75876ed10f62c215c2b72c46a9402f8496b1977d.1645557032.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 ; Tue, 22 Feb 2022 19:17:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162209 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 Tue Feb 22 19:16: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: 4092 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 51326C433F5 for ; Tue, 22 Feb 2022 19:17:36 +0000 (UTC) Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) by mx.groups.io with SMTP id smtpd.web10.1835.1645557455486581926 for ; Tue, 22 Feb 2022 11:17:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ogqzq/Lg; spf=pass (domain: gmail.com, ip: 209.85.215.176, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f176.google.com with SMTP id d16so17821348pgd.9 for ; Tue, 22 Feb 2022 11:17: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=bIWn95NH7ZZ5EAPah4d73bWVjBR5j0CeQlwbjz5AVy8=; b=Ogqzq/LgB4VLwVCj9xOf8Az4631rk5ee409WO2EZZP3b/Ds+Bz0B5zxeBX1FsJhUse 6AgrOgqy6Q6VYr9pmY0EHc4SkEO9FBTIlyT47+bweNVi2EM5j4NDxSdNAe9gCBDpbXqA Hdwu+5vMztAoJz3vbbhvLsJAczFQj+6RXud5Vlzo7VSJglvIUQ0oVYzmY5ChGxBEq/5t QD5JwEc5+TZJKxor/TC6gYn2LhJcKLg4KifyhIyH3vMJfjyIwc/HxbLmbdr4XIDQolT6 OIJXrmjyD7FQ60qU9tnFm0DHwQiLvRbunsebsV+fpFUoBkUSnBVGUeLtckju0dz3exhm 16lA== 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=k3K1EOpVZ3SK1GZX0atFkN1IZFLjkYbWJRcltZX8PwG3VeRiHif+lDQjfEtDol0dRE wxaD/pEslMhj8uRXRErLTl8BEhevrim1SFj+DlHkyjVc7a9iNWPL06u8UoGTROJpWY+d ZImi72ZNPj3FJjJ4roTCu3ZNAfyYHlmFN0z3eXEVfwHcTeyqQoIcdOP5V/2HGcEae6WJ 2qgpJsoiqpPLtrQzyg/uB+W2arkK2ngWcndlLpLLBOVeIbHrBOVvQH0MJh1MaJE4mnD+ CgHtfkxlNu4YNIqmi7W4kbPfEQA4aQP73Q2A11vod0Jq9e69UN0T6ujHA5G9/zlRIJ12 q1Sw== X-Gm-Message-State: AOAM530U6J960icXFfbixFV1VF4Ka86z+CgeyKmWVojH57kktLD5YPRg ozd5uaqpIrGGxd9c79m4uXju72BPyj806w== X-Google-Smtp-Source: ABdhPJzoMrn1HP+5qhsKrsxgspaUqEuFwRYVDmq2dtkp4qb2q/39ox7yvmYo/Szt1jzouEu2aPX/+Q== X-Received: by 2002:a63:f551:0:b0:36c:54bd:da32 with SMTP id e17-20020a63f551000000b0036c54bdda32mr20494698pgk.285.1645557454545; Tue, 22 Feb 2022 11:17:34 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:33 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 19/32] meson: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16: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 ; Tue, 22 Feb 2022 19:17:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162210 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 Tue Feb 22 19:16: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: 4093 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 52303C433EF for ; Tue, 22 Feb 2022 19:17:38 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web12.1869.1645557457457262007 for ; Tue, 22 Feb 2022 11:17:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Loo7jSmP; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id w2so853906pfu.11 for ; Tue, 22 Feb 2022 11:17:37 -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=Loo7jSmPhqzOG+9cKnBultOJs4oZbPVb+OY2uv+LLEXKgDYhF75+wpBAGfblBE1U3X XlSvC1NUzAUz9HNTYXse9JKhylKysDlnY5RR+hg0ZKyLjO8gxUWOB3m3Ornb6O88kICZ kYzVR1SSzUMKlXjOeraEgWOUgGjU2+3mbP6HoijaVW8nQ0nfnv+AMMiXDPDMcV0csEkI sOqzhY21l5zDlBM4L21SGQ0eXSl/3YdFkpIXrR/H30DAZ07Qc+7h85b1KWLH0vYBvc04 G5/UJiOD5KQ/SZO3C7ccF/6DgsZaC+dbWh7+Pe9TmYdpN6Z5Cw4TEBf7VA4xFMehlQjw XHrg== 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=EgpDMmVaffZte3OI13OJWGGTreYtCHnxjWeZJwgTNLjcAQe1j4ElJJg6yIyPqCbeMu PLZtwrKH2rt+LHdWm5nLBYD8RSO5fO+n2wxt6KoRvlxVxiJmzTJSL1QncjaGLHBSPShI LRu0JV87DBb8Yb3L7DRbAxvSi98BFvVYVPN5qZPuL2tVxpcC9J8L5omFARJ7pIBOjaw5 jhxyfyiXNiqsdm2cuV1Qwiiap+7Z/q5q3U4cAQ2nkxOKSAiyfGg8uKdiAYBsZ543jXPj tXM54HWuYOqz7NoyYBtsaq3vesvbY81xNVA3mgxvV4N4//TuS+jqhov0N63YxK6A/ioF NJ0g== X-Gm-Message-State: AOAM530UsxAjqtJOAjLSgosyDOl2QrpIwXIFKVxVHNS6FUFjr7TpEMWe nxXvb9S+KJ3MZZokZWZ4YG0TMo9weAqIjA== X-Google-Smtp-Source: ABdhPJytLWuO2DDHL3mSFQqp3zgQ9UUoo3Tuplig0orayrcY8Cy1vWLoBMlDOi+PgRl0qkvtMLTOig== X-Received: by 2002:a63:d44d:0:b0:372:d975:3390 with SMTP id i13-20020a63d44d000000b00372d9753390mr20333334pgj.525.1645557456403; Tue, 22 Feb 2022 11:17:36 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:35 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 20/32] python3-libarchive-d: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16: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 ; Tue, 22 Feb 2022 19:17:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162211 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 Tue Feb 22 19:16: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: 4094 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 5828DC433F5 for ; Tue, 22 Feb 2022 19:17:39 +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.web09.1913.1645557458867313067 for ; Tue, 22 Feb 2022 11:17:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bzumEvvQ; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id z2so7862926plg.8 for ; Tue, 22 Feb 2022 11:17: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=+cjdoSwERQCpVVmEaS0efz+eQs3kvclDipRCR13BQGE=; b=bzumEvvQ3X7PVaQsCFiVZvGwh5aot7oArRMQJonaQRdDM8ZFL6bZyl7D0faF/w/R9Q 2ANDYlGZsoiCTxcrrY/tnMBqYUfSaAPZyuk6V7MeLNiKGIyY9BbtixTjSsAcpCf7e3nq 7TEJX8Hu2yRWBuMEotHQ9LhQgYYKdP4mZwVxlCibu/NYvCYik4XC5GLgxdV/zHsJjp1a y6oc/G3FYpXtFDHuoF8ujtVN0p0X/d919w4XqMr5EzHggftEdfTkH1KRLvCeUFXJQOa3 IZy5eTEszBOqSVZzrrEQbKJLN1Rcj807B67dfBnceHUfLTna7vpcVegAukzB1NG7ZvWf KeFA== 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=h3ugZjdTrU9JkSC69LOQaPirO7un0ANnrIQZqlxDkRLpecxxyE1LnPfe1rG97qRQhK jI0CPb47aJvYHoZjrQtmWHgl9assN4RG8Y0l4RiMgmqb6ed49SUnP1lLFYwNeRvYt1My TDl6Dv3ZrpqVHqhw77r7n3+TMb3bB9gEHJoWC3/CHrYFPnPgmrGJ6AHrJALr+0mNePNm BIKa5SiETJTj7WzJQP5NqMeObeOE8J7aLxBovrb2ifRpjc7x8taBFly1NDmpMMi7C7s4 l241HPCQulmYhhwV9GV16Y4/hQjQ4+YbniNTri9p5eYzd3LGZE67EoIil/CvvsOUyey5 NXTw== X-Gm-Message-State: AOAM532GqF8Zwiz/zJhAonFHmcpWEUG/F36JVswuIb9z4RXHh60c6C+F DwBucHe3LSCBcp6ZsgCEbLj2nte3u7wrQg== X-Google-Smtp-Source: ABdhPJyr/MoyrU+R+MEI1wzgLIhTuBljUA9yMgIgUeoZaAZX2L+HGvXFPSsuczI+xtfI1F0Stb5UhA== X-Received: by 2002:a17:90a:e7ca:b0:1b9:66c8:982c with SMTP id kb10-20020a17090ae7ca00b001b966c8982cmr5620057pjb.30.1645557457970; Tue, 22 Feb 2022 11:17:37 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:37 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 21/32] python3-smartypants: patch hash bang to python3 Date: Tue, 22 Feb 2022 11:16:47 -0800 Message-Id: <47c793db53b70ac4e44696fa178a7b0bd4b980e1.1645557032.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 ; Tue, 22 Feb 2022 19:17:39 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162212 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 Tue Feb 22 19:16:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4095 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 56510C433F5 for ; Tue, 22 Feb 2022 19:17:41 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web10.1837.1645557460815893381 for ; Tue, 22 Feb 2022 11:17:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dszmlGOx; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id p8so13057517pfh.8 for ; Tue, 22 Feb 2022 11:17: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=OqfbI/taZuE5tvRkjzUudtuBzn1DIs9rdG1KeJG3/cw=; b=dszmlGOxHwpZcZbsB04sjf+Hf0Iez/cXkj4QqEfRNSkwkBSRUGR8ti2+2JzydgEnOr hH602Qd9N94LHNnZM6VXJWQ1f3aNYMXEJ1lorZGjlhp19eVDDunbpQPxCQdGKGDJnnoR +pFzx/EUr03w7Kt4IdZ0JqLzLIn6UNycwYkCKVS/r4xv/ESuBblM15u37xskfpHIhT4F kdf/KfYPZV3ZcZiuiTNJigE9krP2RpBsFnhlKKgvrY4hDlIGXYViyp+/gpLR03dUwZtX duAWYMf2FkVszBugqViCrgrTHOpU4ZEpJroDaxTuV5FsoM/DzmByFDog39kix0VuT7mk O6Ig== 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=AAKNkcSAF2NWZNb2MF84F6OMeGr5sC11FQiAL9IT5QxHCKK9WPvJVFEvsYdyLmo9oN m7CaFrBtd6rcdlcilVhbKvrCwFpO/hUSlXGAz35j5F3+LgRYUFKk91HpMP1fjI/Llr60 5jLOy8ziBI7eivJCF3ZqgaE44DToeetzxF0EVYUDQ70z+3ixrwDanbUX0iMcxmpEot4J g471rQDpFHh59HREOhqloQyHL+HW04RBTsiMqhL9gK9rL8tLKCQewAKoas38b+kpvnbq XGKMq1QUPiS8dmJrhOWWDXZscdDJNQTRMA75bOsPgZONx3omSIcXEw5b2vn7uDh0NRNj 7C4Q== X-Gm-Message-State: AOAM533iCuRNBYDZLskmzSjwfHol/vozrRzXAt9yuGvmUyoRFjQ8lhAx s5U99MCqLWnXmi3RzuxMQVmaZUu5D6viQg== X-Google-Smtp-Source: ABdhPJzvyGNCP3mraTB2c84zAxyEKD8S6IPFc61lmvMGJt2mTvNda/DQDIsJPLZqsWang7Kswbwzbg== X-Received: by 2002:a05:6a00:22cc:b0:4e1:bee1:937 with SMTP id f12-20020a056a0022cc00b004e1bee10937mr26128492pfj.13.1645557459846; Tue, 22 Feb 2022 11:17:39 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:39 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 22/32] python3-scons: merge -native recipe Date: Tue, 22 Feb 2022 11:16:48 -0800 Message-Id: <085319c03515531403ae28d31b15466a6b34daa3.1645557032.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 ; Tue, 22 Feb 2022 19:17:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162213 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 Tue Feb 22 19:16:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4096 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 573A3C433EF for ; Tue, 22 Feb 2022 19:17:43 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web12.1872.1645557462352919935 for ; Tue, 22 Feb 2022 11:17:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m9RBLebi; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id l19so13076375pfu.2 for ; Tue, 22 Feb 2022 11:17:42 -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=m9RBLebiOmDv1rJfBqFrxFZJCYpslpPjgHFPm+dBWACik+kQ+hzNSXUZN2r6xo/wTK sAUaQf8pfi3gH9X6VjfbHOZ2qmUx5hv//I1rkfiz7WTXRAQl/5aGKv/e5W7UeA+eV68A 0fGXP8dCd+x4r/T3C176cnZtnlKkl/R74D6okg4OG1mT8hiYzJK1tGFMXWNVxpAte+nw Og3JtiHFwu8dtTfsmYOPR1dab8w2zcSZwfELJnfdRnL4uR/lttvfBVvFcm8SE2UXfaPf CzrmqQ7WZABBLHFWtO2Dp//lmcb2z43I03D6KQvcc6TFEqHFM+t7+nGNa3Fqh4ZLuE9U 0qoQ== 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=myNJLzOkUOAZf2zgxPeg04+2Qgqj2Xg9gGTrR+5kiw/w26bCGxSIwtfoSE7z6ZrqFr i7FrWiUakS+tJdSVTx7QKSPwprKwEfUkivWRGhWvgnaE7ZBLvI96jBMNacAa16td4b+c YbG/4ARyrEEQQmwh9hoFEe3OrpUqm8JB7GXgKaT3hsDxDewwn723//pfEXT5TjATA+k2 Zisk1ggQnNK9FPZxcHhoho1f9vWqJ89KmhrWFehTf29NIR5o+YhdX+nat3pkwyertOw8 u1ntUOdyljgYh1CvQRj2FWVwiJFhcoehCXvEGq6+Zu3qXH3o92Au0WLK/nmwt34nO8ik vJIw== X-Gm-Message-State: AOAM532taOFz550Q+gD32wOs86+gdDDqAN1Bqg0V3EIEULnaUy4vuSEe T/D+Y88bTJFEF7ErGC9gZ+fdX930973LnA== X-Google-Smtp-Source: ABdhPJwcF6y0g696Y0sjzTKEAqrE2ntxeD9BCFN458IOQBRA65i9cE+QU9YK96GKRC1MzTMU5+p2qA== X-Received: by 2002:a63:b20:0:b0:373:9e9e:86c3 with SMTP id 32-20020a630b20000000b003739e9e86c3mr20347516pgl.55.1645557461308; Tue, 22 Feb 2022 11:17:41 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:40 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 23/32] python3-subunit: merge inc; set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:49 -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 ; Tue, 22 Feb 2022 19:17:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162214 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 Tue Feb 22 19:16:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4097 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 537E6C433F5 for ; Tue, 22 Feb 2022 19:17:44 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.1840.1645557463890364749 for ; Tue, 22 Feb 2022 11:17:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UuzNV11T; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id ay3so7669998plb.1 for ; Tue, 22 Feb 2022 11:17: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=O4M3Qa81q8z0kK/AtZPDLcKAwQmhkBMXMmkq3NthEPA=; b=UuzNV11TaALryrFJJR4YglsUyAZmgAlE/Kw1DEmPQUZ1RuGjokBJGT0uT5n9PWe92S toUxY0JImi3utg4mElFu9UW4ecUq8BJRjlLQ2jrDFlQoCU1tee8+L0NrYLndpz07tnn+ w6s/TnG/QYv9Crin81HWib+e8GfEeeyaljeTTqeIHQSPQ1gXyaJ1zJ26yYcik4+5lCas mQLgAXJ4BE1iGuP4hxte6JDWILpmO0th067V7biiuHeYyDk2XR6R6kx4ZnC6XFOuubSj VbRpTToKSdsJGFRC8QQmGRDUOt8ZzWLxjXR8RIRqZ+Nqa6s7zwHX8su6mOVhKCQd+WbP xuOQ== 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=fxPX/3qSwm5taeYuVtt6aH1EHB+0EBixPEXJKKutXQJeG84GvAEpVZeBf44/A4UFDG RsGd/bQB7+Lr77BJkDhUGnrit0zE6wH0E55SujnAt+udZmaD/sAavvlduZ0cxRUQgXVi qaKg0hzV03w0wfzEierDpRr0X5BTJePTJGoNJxpI36nGskfSi1nyM5my9wyaDNlVZqpY mgH+0i/QIdyT7pVGB6HYvvw6He6+z+/KV5GB4N7pezrxYQoxnLTJ9cIIomsVWFevv9aZ 7sn44llb4fqA3h6V8t8K/V5Rc/V//+ifMetjFPVZzXWMWCZEN0nOKaQjEldXrISHqWLd hr6g== X-Gm-Message-State: AOAM533PaFkzRv5HoqCdh4WJAPSmgrAO/UzstWVCihM3bt6O0jLcZFOO 9DGov9WWnxfsHZ2rXBs+V0dbWHoRUE/csw== X-Google-Smtp-Source: ABdhPJxGv5T8KYjcc9m/iC/d7d+9bElOfEaILXbd+tKpV68cEDVocaLwCVOiH6Pt5qj6oDW3+NG0Ag== X-Received: by 2002:a17:90b:618:b0:1bc:2e76:6385 with SMTP id gb24-20020a17090b061800b001bc2e766385mr5609967pjb.1.1645557462925; Tue, 22 Feb 2022 11:17:42 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:42 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 24/32] python3-magic: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:50 -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 ; Tue, 22 Feb 2022 19:17:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162215 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 Tue Feb 22 19:16:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4098 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 532EBC433F5 for ; Tue, 22 Feb 2022 19:17:46 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web10.1842.1645557465611650402 for ; Tue, 22 Feb 2022 11:17:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aJqoAdIM; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id u16so13056784pfg.12 for ; Tue, 22 Feb 2022 11:17: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=vajCHgrqlvmCBBIm7Itl5+AuD9LC1gQdlJj+Js/r9w8=; b=aJqoAdIMfbD2bwktyEpzLmcGIxmh61h35qhP7ndRzykrIMARTmj0ksRGQoIa2n9yzC zuyCcrN0X7P1ySy6TbUcf+GYaEDTMVJFzkJlQCGgilCbSoI37IgAM6qY4GJ+amgD7fNw BpbylG3bfb2sFes1+yWMvODrcOIHLZftavzeVYJdM85wVgwNZBCdjoQ33rKxmNEMR6lz /rLxM+mBtH/2s5sX0bECS0UP8/s1Vb+IaxbiVBCV9sUei0PVGet2A08+daAMFVYzCpzX EWHdRyK+9RMFbF+937Whe4KCsHmcbSiJR5Be7o1bf4KFbjY0ufUSOg8S+llCocxcX2pZ I5MA== 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=gq8raCO07osgrVgDiuf0U00CjSIHv8ELybg9CmvyDUly+7dcH0yF6pLBim/tK4LsSV tJP2hVfK9ztg8dS8+1S7hZHigFkgUgUQBH11Al8wLPuAhJzwgZPXDu1B3EaBWnTGCMKB YRSrhgQ4NNMgRTBNNbsfbDaXq90s+LpAmiCmwR3iP1/zNMK37ZSh7CCGVbqTu2fpFpC5 y3YKKsWQeLgtsuWxprV4OfMwJVkv9e0kn7cL1lBfPOlvAXDbFM6TagmYxS/N44DJzHYP NA7DZk9ztZA5o2cbkc1l892V85Kg54SobLE4fYZKbgzYpfKD+13vTWgUIwRAeJfJRx0O synA== X-Gm-Message-State: AOAM530M0JCMKeNvMGAfKPOTlrQ3T41daRlApexqo8euT+p6UdMkk3/j BBJeFYLfReZJB5yaNCz6+PLMvMrykzFGVw== X-Google-Smtp-Source: ABdhPJw9EK/RU1D0W/KIqNw8dqz09oVmL3rOUwvH9gJcu5bxrRZP1DhUSECj7oZtXJ2wyr2VJ2QtJQ== X-Received: by 2002:aa7:9902:0:b0:4e1:375c:99f6 with SMTP id z2-20020aa79902000000b004e1375c99f6mr25864257pff.44.1645557464619; Tue, 22 Feb 2022 11:17:44 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:44 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 25/32] bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER Date: Tue, 22 Feb 2022 11:16:51 -0800 Message-Id: <570d4c1471fa9cf2fdcea0bec7c2e54df3697b31.1645557032.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 ; Tue, 22 Feb 2022 19:17:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162216 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 Tue Feb 22 19:16:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4099 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 519E4C433EF for ; Tue, 22 Feb 2022 19:17:48 +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.web09.1916.1645557467675574600 for ; Tue, 22 Feb 2022 11:17:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jnQBSYzp; spf=pass (domain: gmail.com, ip: 209.85.216.51, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f51.google.com with SMTP id ck4-20020a17090afe0400b001bc64ee7d3cso413822pjb.4 for ; Tue, 22 Feb 2022 11:17: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=Q/+sRbp5Jd5d3N64AVCykOfAPlyxMrIh2P21lbDqUP4=; b=jnQBSYzpXj2qfF7tapE6TJ48iQVjZgM/FR+3tSNAUm078ADw85jHBqH53Rcoi2hu+J GPCiCfj/dmLMJOzcCEmBbgECyLxU9nKWM4CODZyAJUhJUsfu6vheJwPYgKLavg8rFvSD ZqYiN4IpMYpzu/q/3sFtU9cd+BEhn7Y/pQoia9dDXiGIAS+M96i2X9IKmsdKKe3fYK4C LvZ8GtcbZwsiwwWYadGqJVOf7xVZNxdUg10K8I46mYYEa2kBF5teLus6KFyoblijOF9D N8MR2q1y1XEANlMpwLSLmWKPsmtsioyO/vjqbEi38inWjMH//cG0Uf821AQfLFpmBVFW Aupw== 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=2/yc1LgNFANw8zl5gskdDaRwQXQCHIvSSlJBcFCYwXWs/DmvjXECd0USWiHPMwJyWA Zc5s1+58NhnEt6NaGfdtFfqqu6NVMbkgrM23mn4s+mwFDoYOj99XQHZunkXQpEcMrzDJ M35/uzyLgm0aKS9qojA/eCdjc6LDqSh1QV4yXPO2fx7PrJ5CRQJluWS0vQ3FqKYi2/a6 mZMXprwePSgHKFNqHBKr/aj857bnZg0vRfQBW870e/aQVmOfUO6VVhkB0EiVtzP7GHoA 2zSR/Lnf/WFS86JBVDAckgDFHVeuHv1ie2hGvbDfys9oOpeybTPqaDhCnuZBrMZA17uZ DxxA== X-Gm-Message-State: AOAM533/mkLHW1DVSr+d2JS/tQhV5nXQnFRBMbecNUXnaFCueyE89arS ZVujMAfrq1UhFWZoazxmvNgXiQNk8NNIMw== X-Google-Smtp-Source: ABdhPJxALVA3DDGKZWE8lUBGizrqEEZKJiqatuLW1X3exTF6a+DKnt05CyJ8sWsQ1UedO5kDH3d2MA== X-Received: by 2002:a17:90a:fe4:b0:1bc:1db6:c77f with SMTP id 91-20020a17090a0fe400b001bc1db6c77fmr5569237pjz.184.1645557466578; Tue, 22 Feb 2022 11:17:46 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:45 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 26/32] asciidoc: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:52 -0800 Message-Id: <03e76865bf069d7543d69aaed7b2696738640384.1645557032.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 ; Tue, 22 Feb 2022 19:17:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162217 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 Tue Feb 22 19:16:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4100 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 538A3C433EF for ; Tue, 22 Feb 2022 19:17:50 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web08.1981.1645557469314082714 for ; Tue, 22 Feb 2022 11:17:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Jxv8hXPm; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id g1so13076890pfv.1 for ; Tue, 22 Feb 2022 11:17:49 -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=Jxv8hXPm4d9rpWmcVA64iAT+kd4E8TJu2xg6zgOJSJYi0XobZwwvAXQjXruTLQECfr wIP22uQkkLTlgEfzQ7qn21BGtC0ta+Ngg1/ArNW4Jy2auv8Z5bNSTPSrZInDD4ix2+Ek 7UV/ACnmi/BLtKh64Q8uGDa+jkj+bVcoGfb2HmX08NOCQ/H/zdjpNCz9GmcUZFG9XVme C5Zkh+1cbnkzffsu6G6+bOASsIqi2+1CiLffKyKdqcZH1Cb6y9TrGiYHqZXW7D9eNly1 ZjKIw9IwjtEC3ukf/I+o4GTC3Z3TMFXAwk3FcLhhN0xw8mPnFxIsRa5KW0mmlMyQeAem aeYw== 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=56Jr6ixOnDXN+L+dYWTgKVCC8HNDtKwWTF1nI+2kwCbsxettNmGpkZu0+jPQDyCOGt H8WZBbCb9C4amMwQM9wdfKEX+WNOeQgGFC5V0XFZo/5LhLQo+Bn7hE3y+pH6DZh6OYql zzwF1w9SfHGneJqR+ugx3e9omjsVa2ArqUk67iFKmsrmdj3RV25bm6lZK1/rJYCAj9H5 MDbuPn9s95cQA9p4Tl4Cb5omuwx1kh4A44Xb35ScYhcydoqulLBLRugAwm4bEcX2oy3/ Mk9E7BoY7+j3OrQHyXt2pPrUccGnUr3mTqgytlj/6qIeBZgPxEPX7wwgKV1aDIH1rm7y Y+gA== X-Gm-Message-State: AOAM532VCIqemwH8oug9CRuyuzJjY6wwcgVfHu9TDW/ohQWUGmZoTkFz 7TuamryQA8liFlWCisAAAH61+JABsgJXnQ== X-Google-Smtp-Source: ABdhPJxpJkUBREUxLCti5is7t8nsOiY3CdPdzLZzulVJoQKc6Xqus8lqxksnvtTo7hDWgYnxctGKXg== X-Received: by 2002:a05:6a00:26e2:b0:4e1:296b:f24e with SMTP id p34-20020a056a0026e200b004e1296bf24emr1781259pfw.49.1645557468115; Tue, 22 Feb 2022 11:17:48 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:47 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 27/32] gi-docgen: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:53 -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 ; Tue, 22 Feb 2022 19:17:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162218 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 Tue Feb 22 19:16:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4101 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 658DCC433FE for ; Tue, 22 Feb 2022 19:17:51 +0000 (UTC) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mx.groups.io with SMTP id smtpd.web09.1917.1645557470649721249 for ; Tue, 22 Feb 2022 11:17:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EFr+6Mr8; spf=pass (domain: gmail.com, ip: 209.85.215.181, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f181.google.com with SMTP id 139so17842263pge.1 for ; Tue, 22 Feb 2022 11:17: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=6b6hjU8Tr0y6EpLhEFIaw7+Ycu7cqKCSFhJOflzqT/M=; b=EFr+6Mr8AOEL33XSWjQRZD74vNXBiNPwAcyKrAopPAbrJSUT5hmhbKNM6GvELd1bzo B+CduIq+uLMr9xQVf2gc5/fXrIF4FUrvvUaBIYjgBVcGKB8M4Ga4GrV+C+0TGFTH8+mn 9oTRXz4bJ4Bu2Ai12PZCftDEswEQE8YpjS2zD502OoPQokpGTpE0/vnCU+XJPjYxRNWs v8MzjJbADNOxA9guG8EicH1UQ/jpVUzEqSKON/bjONEKzCkKwQXoWwqYwRhP5IK8PjGx E88A2BCQ97e0EURysV0rlWGNEBfWix1hgDmw+PcM5ay8cQXkdLNKfMtjlt/kMp7KgpU5 Y0pA== 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=T/3NcIUNdblHc2Znt5vj5WkIw5CJjmn2Y1/YD3KIm/SNEcr2YQ/4wLXiu6NZB2porP AusAgoVtGQ6z1OaunusnreY85O0+/sfEltpu/iLyR0am73HhQET8WoHNNYGAWEVXS1Nx QfKQUt8b7kk+Xmnx2onsaGUZW7m0EdGcKUzwTOZDxPb0QGzbHj6MNGS/FmlTDi3w03iH mXHXWVklYYxULWtNMLn9hR/vU51qxZh+uaPxbLIcbZmkv6xJJ7QY1x30YkWlxLaQGcZn 3cND9VH4Jy5okN8c0lA8T2ZURfgO4d+g2RZOjCpQCCJCPGkHjjZmZoegO/2GBk5a29q0 +WhQ== X-Gm-Message-State: AOAM530aFCgsztPiSnhIFrdwoUwVSR+vhItuW+LCzEvWSVxYaClPeIXR BEjdlTroe2THIEFztWq4Z6lZsLU23w9SJw== X-Google-Smtp-Source: ABdhPJxMXi7Cpya8azwuPCs0D5Vq9T6imBvv5bzWyMedBa/PJ9KzFR6WaCLXWAYLEivxyCsZMWE0Tg== X-Received: by 2002:a62:586:0:b0:4e1:dc81:8543 with SMTP id 128-20020a620586000000b004e1dc818543mr23479604pff.0.1645557469683; Tue, 22 Feb 2022 11:17:49 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:49 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 28/32] numpy: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:54 -0800 Message-Id: <0ce1d22a61cf8978ec9672ee0bbeb5153ec102dc.1645557032.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 ; Tue, 22 Feb 2022 19:17:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162219 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 Tue Feb 22 19:16:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4102 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 52DA2C433F5 for ; Tue, 22 Feb 2022 19:17:53 +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.web08.1983.1645557472363578406 for ; Tue, 22 Feb 2022 11:17:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=X63pKRTj; spf=pass (domain: gmail.com, ip: 209.85.216.52, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f52.google.com with SMTP id ev16-20020a17090aead000b001bc3835fea8so468301pjb.0 for ; Tue, 22 Feb 2022 11:17: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=vKd9KDacdqODRW6o6RKgtKg0k966zg3sVoyPoK6lRjw=; b=X63pKRTjbZKfDgTA8PrkHYAT0kKJ9UjG7wikKzQBv79yKWesWXX/lJXRXsIAwgSXwc +QHsqc9bCVRhp8jZtVkY0ZeNoZ8VIpJ/mlHKhFdoK03eq1QCEiB2zqCx/WBLAmm3Gioh 7Flxd9rfjTCVSF77m7Qd841mabBYbLqFKN1DPCqUXir1hGfcAkA3FBmTIzY5+u3N7Wlw H+GbrY/xLo06sZzkWEb2EddysVAo8EPw7krSqYE4mHvDHt92dtRSLyguvkWlrNWwb8i2 P8DFLCisGv1iNiz59a3jYhyzS8lHfyo/plM6kxhfEGE1/VKKK7JHDC0UqpLVAOr7PAOK bE3Q== 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=PAzBsjHBRcmAz47EOD3m5377K3G1Am17f15R6GJCZL4CHJd8pQHA2oZhjgE/n6wbEH tRzBEQOM+gCoQC88j9DqTCrBTCemYn+J+Udqdj0GI0bS1xZgW1mpLvQSUKbZOqn+RaPi 3Vmw0FHNWOPK1J75mfpP/V1Wey3KB4J1KBI1sYuJIXZrvNEGa40dPxUv1vko8WREcBjk ubY5FJG7EfTf7MF8ylzOXNJAq3KXnroYwvCGiqwnUwj36LXlZygn1qBtmdac62QdgoRJ 8f9QwhdGUfcerAcdmRNBg3Cmb1Xxw82Wotx7NUMY6nJLuK1PRDl5Izp/SW+5a+9XdsBq TjfQ== X-Gm-Message-State: AOAM532O6LPwRBrnxgnMZfh4VuVb2+wNdouLcr+Wve/xDnp//tk8kZ52 e9gNuC3IPf5HYFTzGkMR5I8HeCIMquherQ== X-Google-Smtp-Source: ABdhPJz57f/fMaMOPXm14xVoOUGrzv0npd5EThlbgskqeskGcJ+SfbM+8kzGeNiDjxlDAFu6BWLmyg== X-Received: by 2002:a17:902:ce8b:b0:14f:c5ec:9f38 with SMTP id f11-20020a170902ce8b00b0014fc5ec9f38mr8513535plg.62.1645557471323; Tue, 22 Feb 2022 11:17:51 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:50 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 29/32] python3-dbusmock: set PIP_INSTALL_PACKAGE Date: Tue, 22 Feb 2022 11:16:55 -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 ; Tue, 22 Feb 2022 19:17:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162220 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 Tue Feb 22 19:16:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4103 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 54945C433EF for ; Tue, 22 Feb 2022 19:17:54 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web11.1897.1645557473915803192 for ; Tue, 22 Feb 2022 11:17:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Xqs73p9z; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id cp23-20020a17090afb9700b001bbfe0fbe94so419379pjb.3 for ; Tue, 22 Feb 2022 11:17:53 -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=Xqs73p9z0mZ1qigJewT0/1MOSN4J6xaY9/7MDEq1LYJVxBOv1Hq9K+TYTxDVJVExhZ KoAJ7xmhTM6ISwHBQYIfrgRMWs3k31pRGkeq8DzvcpnFMIn01t8kORBcXJQEf7RldneT JUx+AfVtkNyCQsvmopfeHzSN3gxy+tJqJQAnShWmcJAa2sdE8/9fmPfcagPzmriQ7NIw lAXTnMnWUrba/dxN2ubJNbkAGwJMFijtyF5R7w/AK3zMA7gw4z52HKZm7HMzkpXPYlWY 9UMBS+MWYJ/hys0DStuGFdPiHJ3/4L9NDFHzwgEFBVqrV0IQoQdSR3ulGkQJbwjS3Dhu kXfA== 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=ahpx2u0PkyiC49n7wWLAjEmxbnSmsoaIuwLpZwWSaNn5gqtVwDjLO47RKFOLf2rHkZ c5lE1eTiKsFXTiYLbDR5EFNfdQNd+eGlLyWKEm+wLPnqBUj8IqtHiPNKNOhvBShdlLJp 0xvpJ+E6tCc7DhbJYox4q8/QLG+lNqlJuk75iP3y1EkIgUyceVybUNevEG0oR9rt+1Rs iz4aDcuD3ife8bqGlvbEr8JaUeIW8ziWIiljSWTyWqstHs6uF7UvFRVsyoSEVGlokV0Y /IXwh85OTpMg2dmnlsX/wVr9bKdxduVgsgO13V1bmlsPflCLP0Nk1KH+e8JVON8YP9qM /dhA== X-Gm-Message-State: AOAM533/Htak3snMlqulP4cmrU8rlaZFQjvlRh0i2zlZW6fKf7td6BnH mXCLHgM6h7GxuDgCaUVstw6ybzsayub2/A== X-Google-Smtp-Source: ABdhPJyANvxL3z3n0GCle1NzauUvOCDjPyu6KNEy7xpkzM1Dm9ZHhFE83nOiumpbz6xm7QArvyd9Vg== X-Received: by 2002:a17:902:7786:b0:14d:51c6:21a8 with SMTP id o6-20020a170902778600b0014d51c621a8mr24828542pll.75.1645557472810; Tue, 22 Feb 2022 11:17:52 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:52 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 30/32] python3-mako: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:56 -0800 Message-Id: <74b69bfc771f72ed1536bc956f8876ec707c243d.1645557032.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 ; Tue, 22 Feb 2022 19:17:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162221 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 Tue Feb 22 19:16:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4104 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 56607C433F5 for ; Tue, 22 Feb 2022 19:17:56 +0000 (UTC) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mx.groups.io with SMTP id smtpd.web10.1845.1645557475390980269 for ; Tue, 22 Feb 2022 11:17:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gRHy7gqP; spf=pass (domain: gmail.com, ip: 209.85.216.46, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f46.google.com with SMTP id b8so541749pjb.4 for ; Tue, 22 Feb 2022 11:17:55 -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=gRHy7gqP18CnRdcPKmLpU9g1BkOf07+WfCYeE0NWt2OZryLKamYODlkkE5tjFQhTPS NqvE00anSrsiU/CP6M8aemHN9JVhgqpKm8f7o0sLCokb6ATC5iSUZUWMVygl8J20rBF+ 2Hki/mUr8RKCLBSJxaFqWVWYoxdor0T4mQHxVqgPBxEv2J8Ieu42P9q66fGJQS98T+t8 q6UMzDHX3nCxn79uFpCvCyPCPK/PLo7EiZvdTA1KM89csvzca9lusGxXaJRtFECPPBnh rkIqhSta6y/dpML6dJ+HCvjKDm6ThEURUX6rsc1FmgaJ6bX4kU5J0bG5rVv+o0E7cUQQ ReQw== 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=Fpv6Ni1fpoGNtxRT6WkeyR9XwdXc/JgxEvukUD7iy/ih8L7INp1fELsYjsi+JiYgYZ EUdREmhzbvHRNyGtfDzcnMPhubiJSCz549rLWT8yLQNJR62X0SGwS17FrG1xsNzxJLH6 RPedA3PJPrsi4hI8qNZrcrnqGxa9QF3OENvS/eKq+QkoSMStH7P9UreCbGHEPZFBeZO6 4MKgznPaH86pLfB5u9I34M4JLqzLkN9DI2T0jYkicY3hXt1cFyCatuuj0kQZFqYGOaX7 p1Bp1f0VUdODqLyDHQQxB/sl6uplfPnESxK1CbUtG4uIwn9yokYOKbh5f7zTYe8Z686S WoOA== X-Gm-Message-State: AOAM531w4YhzuCQi0QIsUPAAPwDtZDAzLNCIRYWVV6NY8+nBkUOwH8aO QOf1XV1lB2omE+f0eN3fLQAcqStT4RVJwg== X-Google-Smtp-Source: ABdhPJwoluhcNklptSOro8D37hiNicIJ4zZqLlmtrNRUZbyyrNYgiJMwkMZmzqicZhsNlUTFkEu2Pw== X-Received: by 2002:a17:90b:3145:b0:1bc:5855:f94d with SMTP id ip5-20020a17090b314500b001bc5855f94dmr5616088pjb.55.1645557474299; Tue, 22 Feb 2022 11:17:54 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:53 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 31/32] python3-packaging: inherit setuptools_build_meta Date: Tue, 22 Feb 2022 11:16:57 -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 ; Tue, 22 Feb 2022 19:17:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162222 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 Tue Feb 22 19:16:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4105 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 5C951C433EF for ; Tue, 22 Feb 2022 19:17:58 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web11.1899.1645557477151856505 for ; Tue, 22 Feb 2022 11:17:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qwuslJlf; spf=pass (domain: gmail.com, ip: 209.85.216.49, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f49.google.com with SMTP id om7so534087pjb.5 for ; Tue, 22 Feb 2022 11:17:57 -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=qwuslJlftufC9wQsA/pSgqQLXpC/HCn1ZuWaX+6O470CQydNeGxNmDc0DdZJ1SuRyB T+2u5CutVp+XkWg2pbQlPgiF0dmg2ljl4dnNBPkjgsQryv6A7oJ7tLDgsEALzVV2/hvr 8i8OfVkyCmuQNo6e3pg3sNF34VDvq5yGlOyChPBRmmV8xaT8TD3w2hd/8a58ab+0XPPc UwaxvVA0ZKCBkn9nXZJiLEbqAfYbkO7pAW89k3C2v0tzz1kfr3sVQW5KRbkUo+exeaNz PJq6aOFUjkt4NqEiVRcg4W8fTGl18udq5StdVviLNxkb2zB9JXvM8UDAaeQMScwQKWg0 +o1A== 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=0UYRUDPmxlZGvEJfE/UYXkVZvbYO5N3ROL0y4kcwtX5UlR9R4hDvR5swiWmDg5ym+d qq+Lpm2IIvQfVVatEfnXaktlRpWiW25rW2+KKXUo60HzkkEnKSvOyAMMsmS+ZOmwPFrn LTIkwkTrdj22EEPl1W1u3NThqJqKRqizgGcv7oN6+EuvDO8Irj4veJcMlod0wTLXjyti ph+5uh06xSAnIqVciNROZpf+OHrwkJMJ9cX8GRzlA0OD6QH1GAesgsg+DoCKO1BKlOTq Agz2oIXikKrAb69dtqRGAKeFCmnHUDxqaK0y57cqnd3hKwUJ31+mJ6BhxFbjxnnJ5HIh qUMw== X-Gm-Message-State: AOAM532dOlAfco/9FK5BpFC0MP2KNBHYHYaaI4kxLmJJA6Gr7+lySaMO OZMIf0WzlgqlMp99opH0CqzCgajLq4EDyw== X-Google-Smtp-Source: ABdhPJxZFPP5yIfcxkFnfcfpgAiY6SGV+imGrvUVwFHHD/Uve+QlALel4G/e+a0mVZ4AYGzsLk1dzQ== X-Received: by 2002:a17:90a:9206:b0:1bc:30a6:5df4 with SMTP id m6-20020a17090a920600b001bc30a65df4mr5623671pjo.134.1645557476157; Tue, 22 Feb 2022 11:17:56 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:d208:bddf:2b06:2b5a]) by smtp.gmail.com with ESMTPSA id z13sm18402700pfe.20.2022.02.22.11.17.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 11:17:55 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: openembedded-core@lists.openembedded.org Subject: [PATCH v3 32/32] python3-nose: drop recipe Date: Tue, 22 Feb 2022 11:16:58 -0800 Message-Id: <94ecf5bd9cce6d1c82bc87e389901e843a5255e4.1645557032.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 ; Tue, 22 Feb 2022 19:17:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/162223 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