From patchwork Mon Mar 14 22:48:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5217 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 3DCF7C433EF for ; Mon, 14 Mar 2022 22:48:54 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web10.3509.1647298122435638958 for ; Mon, 14 Mar 2022 15:48:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=eNa1cDPp; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.54, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f54.google.com with SMTP id i66so10173487wma.5 for ; Mon, 14 Mar 2022 15:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IsA1B5Gp+t4MI+Tb9UWiZR6AVW9KxivNYKXTMLfnEzk=; b=eNa1cDPp0rJKNbZhtK9j9/QbtZv1rbduaOztvmOzRV2MHy/ZTBRVPA7deCDwUOrWtA mhUpBrCTTW7YlcOsafP/wo9RujpiNPzWJJGE6ZciTdPoqk4+Rm0iG8bDzbkoXsYiSCr4 VX3rb4/QlsRIvBB5TRfKzj/fHE6aBe7/TrRdY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IsA1B5Gp+t4MI+Tb9UWiZR6AVW9KxivNYKXTMLfnEzk=; b=N2upPgIQhVlQ5+D+uPiK3vPEMcymM5vmqfs7xv3Bug1NtfaYs/YXiXCT1cBnb5TSZV Mzp6hr6hRdDcS9+jYbazfmMFFHbBIhQCH75O+3UkYv4VnukVGX1uokRgXu0IUNF+cdId tAca2kMYgv7+yyoWP8jdJcvnwuKDcSVc07bCJrvwMr24tyKzNf6TH4K6ztQnCgsM/pK4 YJz4y090hj/bCojfUiihUdF3tF030KHg2VSTv4Y/P47ly6d6GiH9CJGJFdiIkzM7P/VX l1OEBUKF7m4DFXiYoW56Vchk99qbvBRU49Ppfj9huXfzwZKonGvi3eF0mHSxNck9A89L YXqQ== X-Gm-Message-State: AOAM533h9RRCvOajYNu0gmgMHkhet57fbv/4sXEhXthJKKjWnu6Hlsbf WlwuvNEkwuOel8adOlaK6EGQwa+hUWc7dS8h X-Google-Smtp-Source: ABdhPJwsMwi3Tb6DNY86MTDCpx3zb2OQm6cqg7PYYlImyT9RyjDPUbcRupRw49dp00/YnO/UphFkiA== X-Received: by 2002:a05:600c:1d1b:b0:389:d0a5:c7c4 with SMTP id l27-20020a05600c1d1b00b00389d0a5c7c4mr1027068wms.88.1647298120316; Mon, 14 Mar 2022 15:48:40 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:39 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 01/33] python3-setuptools-rust-native: from meta-python Date: Mon, 14 Mar 2022 22:48:05 +0000 Message-Id: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163167 From: Tim Orling Dependency for python3-cryptography 3.4.x+ Only native rustc is supported at this time in oe-core, therefore it makes no sense to try to build for target. Signed-off-by: Tim Orling --- .../python3-setuptools-rust-native_1.1.2.bb | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb diff --git a/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb b/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb new file mode 100644 index 00000000000..73dcbb26e67 --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb @@ -0,0 +1,33 @@ +SUMMARY = "Setuptools Rust extension plugin" +DESCRIPTION = "setuptools-rust is a plugin for setuptools to build Rust \ +Python extensions implemented with PyO3 or rust-cpython.\ +\ +Compile and distribute Python extensions written in Rust as easily as if they were written in C." +HOMEPAGE = "https://github.com/PyO3/setuptools-rust" +BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" + +SRC_URI = "https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz" +SRC_URI[sha256sum] = "a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1" + +# While this has a pyproject.toml and declares that setuptools_build_meta should work +# it results in a wheel named UNKNOWN-0.0.0-py3-none-any.whl so stay with setuptools3 +# until that can be resolved +inherit cargo pypi setuptools3 native + +# For some reason the wheel is built in ${S} not ${B} +PIP_INSTALL_DIST_PATH = "${S}/dist" +PIP_INSTALL_PACKAGE = "setuptools_rust" + +DEPENDS += "python3-setuptools-scm-native python3-wheel-native" + +RDEPENDS:${PN}:class-native += " \ + python3-semantic-version-native \ + python3-setuptools-native \ + python3-setuptools-scm-native \ + python3-toml-native \ + python3-typing-extensions-native \ + python3-wheel-native \ +" From patchwork Mon Mar 14 22:48:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5216 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 3DD2EC433FE for ; Mon, 14 Mar 2022 22:48:54 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web11.3249.1647298122694457109 for ; Mon, 14 Mar 2022 15:48:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=LlPAWYk+; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.50, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f50.google.com with SMTP id x15so26241610wru.13 for ; Mon, 14 Mar 2022 15:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M0F6EVCwmrdtqnLfU9al70IHSAiV80GANMMERBAwMcc=; b=LlPAWYk+9cly1250veHg7XwH12MloerBVnTVWButODevRoR59JQx0B26Pqb/2Bswim Ccm+bVijdStTIb2h+C7HqoqTG4m3lDCoTsNCSR1ZPUrZ1CxFdTkOonja4zf03AU8MIzB nf/1wCER2aXQzrUIE3/5ssLrKDNPOOQsVdjTM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M0F6EVCwmrdtqnLfU9al70IHSAiV80GANMMERBAwMcc=; b=t/o8vptgfDPm3I+I7kKbFuGoy3uBRnmZ1tqGy88E27eCV2Y6y1qVZt30l1BhfGgNgd 75MippTvf6XhExRXJXup0sXrtBhIGNSZddbpNBUsPayJQq8wJCQepu0uvVoktlLgN2M1 2nfTjPMCguf4BCwM9dP0Qu0ttGmNp2CG+PvTxn5fgWCk0P1IRffJUEGT3brzriT9H72K ukjdm570tq3mV/q0n6PMa5oMVP0t3uOoaH4rOmA3Cwnf3bTKKDV1EL1XDkfrTtlFhPou U1dAMvxEuGzBmiwq+L/AKdLA+KGOradkTfSLlNR1RVAqHX/sU0ETqoAxXXSWswgx9Ayf uzZw== X-Gm-Message-State: AOAM532xJS52HejwHrhCnlmBDZxhuQWXoz5653GAkrpJuRRWbqe9HWbm cvJ/EjAUHEWs8+Np5Ug2gkBkoN87Zs8gSlqu X-Google-Smtp-Source: ABdhPJz7bkrWRtKp5KHucdu+EZahQ8RiUznWwCXX54xz8UrAr+bbwgJvWx7xh7u2E8a7DGvJCgTZVg== X-Received: by 2002:a5d:5241:0:b0:1f0:1842:efbd with SMTP id k1-20020a5d5241000000b001f01842efbdmr17307006wrc.320.1647298121030; Mon, 14 Mar 2022 15:48:41 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:40 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Ross Burton Subject: [PATCH 02/33] python3-setuptools-rust-native: remove obsolete PIP_* Date: Mon, 14 Mar 2022 22:48:06 +0000 Message-Id: <20220314224837.834776-2-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163168 From: Ross Burton Signed-off-by: Richard Purdie --- .../python/python3-setuptools-rust-native_1.1.2.bb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb b/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb index 73dcbb26e67..2b929727005 100644 --- a/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb +++ b/meta/recipes-devtools/python/python3-setuptools-rust-native_1.1.2.bb @@ -17,10 +17,6 @@ SRC_URI[sha256sum] = "a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a # until that can be resolved inherit cargo pypi setuptools3 native -# For some reason the wheel is built in ${S} not ${B} -PIP_INSTALL_DIST_PATH = "${S}/dist" -PIP_INSTALL_PACKAGE = "setuptools_rust" - DEPENDS += "python3-setuptools-scm-native python3-wheel-native" RDEPENDS:${PN}:class-native += " \ From patchwork Mon Mar 14 22:48:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5218 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 3F5CAC4332F for ; Mon, 14 Mar 2022 22:48:54 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web12.3399.1647298123714452172 for ; Mon, 14 Mar 2022 15:48:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=K0HI9xO7; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.49, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f49.google.com with SMTP id 7-20020a05600c228700b00385fd860f49so443939wmf.0 for ; Mon, 14 Mar 2022 15:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tyBm7EWOuF/R2eD4zNLjjr+2z3VNCf1neF53jvvShAk=; b=K0HI9xO7blQ5DPfsFpfFnhwwh8745E7pEbWXCv8Dg7A2XOs7t4tuMEAcuCm57mlWX1 MjMtVF2lEV2YrkziOri034LtcXkH+PUcF/AUlRS3g6Pou7toHSOsxmMZnPjr/Ml+EnEU 7YmTeH1te800RNO8mbwwp6ehA7PTZIrG0ljxA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tyBm7EWOuF/R2eD4zNLjjr+2z3VNCf1neF53jvvShAk=; b=YwFItZzo2w1DeUMFgLhERXjLa24QJwIdzrwXM1eiSebmZjJ0Ur2rUzFG7gy6NsTjvC ZEvH9wQX3/9LNSGGFKKWy+dOav6GXUK+gQecAol/xyEHRGzGSMeGTEEXBX8FuDR87iYv MIXDnDgDqUVMXAxfLy3chgeTcsZG0er5UobS95l6d2THASJgCAw+gqgtz8cnJnCbpkG2 x3RMOKXdqGhqjkyxg/6aQFkgx9YetbcuOxSDNdJUUIbJn0JnvE9HRPXOux1OaU81TOJg IgV5FS3Xivro1MX04IeZBW2Pup2YSaag1g0ACKW52OoUjjgW4lrFNyx3V5XflJ8zOWCP LB6g== X-Gm-Message-State: AOAM533cmqRUzTtXXreUM2VWMCQ+jWXSHt34hIAKBYf6ueSm7BWAJzzp +dth240QRl127PJX89r1IXb4NQccByaxqVdZ X-Google-Smtp-Source: ABdhPJxcVHp5yh3R0rXtPWr5HOrPk/nrywmzRPbZkHgYGnKMpRxLBY7Rhl7reWYjoOGiA6U4L+mCXg== X-Received: by 2002:a1c:f211:0:b0:381:6c60:742f with SMTP id s17-20020a1cf211000000b003816c60742fmr1022984wmc.130.1647298121750; Mon, 14 Mar 2022 15:48:41 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:41 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 03/33] pyo3.bbclass: move from meta-python Date: Mon, 14 Mar 2022 22:48:07 +0000 Message-Id: <20220314224837.834776-3-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163169 From: Tim Orling PyO3 provides Rust bindings for Python, including tools for creating native Python extension modules. Running and interacting with Python code from a Rust binary is also supported. This class sets up the cross-compilation environment. Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET to inform tools like setuptools-rust we are cross-compiling. Export RUSTFLAGS so cargo can find 'std' and 'core' for target Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE absolute path. This is the trick that finally made pyo3 work. Signed-off-by: Tim Orling --- meta/classes/pyo3.bbclass | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta/classes/pyo3.bbclass diff --git a/meta/classes/pyo3.bbclass b/meta/classes/pyo3.bbclass new file mode 100644 index 00000000000..6ce21329c2e --- /dev/null +++ b/meta/classes/pyo3.bbclass @@ -0,0 +1,30 @@ +# +# This class helps make sure that Python extensions built with PyO3 +# and setuptools_rust properly set up the environment for cross compilation +# + +inherit cargo python3-dir siteinfo + +export PYO3_CROSS="1" +export PYO3_CROSS_PYTHON_VERSION="${PYTHON_BASEVERSION}" +export PYO3_CROSS_LIB_DIR="${STAGING_LIBDIR}" +export CARGO_BUILD_TARGET="${HOST_SYS}" +export RUSTFLAGS +export PYO3_PYTHON="${PYTHON}" +export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config" + +pyo3_do_configure () { + cat > ${WORKDIR}/pyo3.config << EOF +implementation=CPython +version=${PYTHON_BASEVERSION} +shared=true +abi3=false +lib_name=${PYTHON_DIR} +lib_dir=${STAGING_LIBDIR} +pointer_width=${SITEINFO_BITS} +build_flags=WITH_THREAD +suppress_build_script_link_lines=false +EOF +} + +EXPORT_FUNCTIONS do_configure From patchwork Mon Mar 14 22:48:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5207 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 6C2E2C433F5 for ; Mon, 14 Mar 2022 22:48:45 +0000 (UTC) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.groups.io with SMTP id smtpd.web08.3428.1647298124344894461 for ; Mon, 14 Mar 2022 15:48:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ecaQfzca; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.44, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f44.google.com with SMTP id r190-20020a1c2bc7000000b0038a1013241dso421865wmr.1 for ; Mon, 14 Mar 2022 15:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gLKH5epzSN0mzlhtJ10RrUzCLL/pTwnX97ocHAPZ3HI=; b=ecaQfzcaCTBMeFLvrrkBoHCzQ2xJOj6QrZYGobbbxeuyAiwbD1phRXPtrHcELNGs+N FnryW9dde59BHPMoEH/aPZPKV8anmgkGCOcAT6XnOeaf5WkaU6fGiHQUmXYRy4DlI0BR N/vSvCdq8xj7oDxTCdyWI3p4VyeOQnJgO4NJU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gLKH5epzSN0mzlhtJ10RrUzCLL/pTwnX97ocHAPZ3HI=; b=vvcKAxUWANiQeEKnNbP8p3r6xu2d8mgeihXFn4ZnOkKorqnPUfi9ULoO+s/Gva10I5 IufbLqadlxjlldMAUQ8CJvoMFodbdTWRTScT4619bAX71h8QTwvjWLq85uIArwDt0UHj mayRHecLszYipaL4e6ZbcLZCMlkoSFrIMPAB8sZp+reqjj0oeLF3MzNnfww0gCpbbpWz 8HIqJCq/Sl9rnbEE3zC7iRj2TH04X/8nV8fbqVKy6/G9atx60DfxagYNT94U28nibyYl 8EV4kyR5rOjdbySTaO6gbZ+6sg+QA4O2+9RM2lweVRQ1RL/oFC9OkfX3uv7mKuxL7ElU hSmQ== X-Gm-Message-State: AOAM530hRoMEPnZAFvcVNQ9bcWuBk/wvyEqsUwIr5qu7vJVHzUS0eAaf U3jYidXmA+j5/PKOtiz2ZALuYGhnKgOHhSQZ X-Google-Smtp-Source: ABdhPJy5JxqfOygSzMnLyt0yTzwrAFn3bqE0/IKY47BlEdmpmRRctKYUSOklLTafEOp6ZZyPjUv4CA== X-Received: by 2002:a1c:44c4:0:b0:389:e7e6:282a with SMTP id r187-20020a1c44c4000000b00389e7e6282amr997350wma.206.1647298122568; Mon, 14 Mar 2022 15:48:42 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:42 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 04/33] setuptools3_rust.bbclass: move from meta-python Date: Mon, 14 Mar 2022 22:48:08 +0000 Message-Id: <20220314224837.834776-4-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163170 From: Tim Orling setuptools-rust is a plugin for setuptools to build Rust Python extensions implemented with PyO3 or rust-cpython. Compile and distribute Python extensions written in Rust as easily as if they were written in C. This class inherits pyo3.bbclass (and therefore cargo.bbclass) and setuptools3.bbclass to make it easier to build Python modules with Rust extensions. Need to call pyo3_do_configure to properly setup the PyO3 environment for cross-compiling. Need to call cargo_common_do_configure to setup cargo_home/config so that the linker properly finds e.g. crti.o and crtbeginS.o It is strongly recommended to provide crates needed for your recipe using the crate:// fetcher. This can be helped with the cargo-bitbake command [1]. If you choose not to use the crate fetcher, bitbake vendoring will not work with setuptools-rust, as it errors out immediately because it cannot find pyo3 or some other crate. The (strongly discouraged) workaround for this is to set: CARGO_DISABLE_BITBAKE_VENDORING = "1" [1] https://crates.io/crates/cargo-bitbake Signed-off-by: Tim Orling --- meta/classes/setuptools3_rust.bbclass | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/classes/setuptools3_rust.bbclass diff --git a/meta/classes/setuptools3_rust.bbclass b/meta/classes/setuptools3_rust.bbclass new file mode 100644 index 00000000000..fb11f08f89c --- /dev/null +++ b/meta/classes/setuptools3_rust.bbclass @@ -0,0 +1,11 @@ +inherit pyo3 setuptools3 + +DEPENDS += "python3-setuptools-rust-native" + +setuptools3_rust_do_configure() { + pyo3_do_configure + cargo_common_do_configure + setuptools3_do_configure +} + +EXPORT_FUNCTIONS do_configure From patchwork Mon Mar 14 22:48:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5208 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 3FA6BC433FE for ; Mon, 14 Mar 2022 22:48:46 +0000 (UTC) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web12.3401.1647298125185189780 for ; Mon, 14 Mar 2022 15:48:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=DH7mGMS3; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f45.google.com with SMTP id v130-20020a1cac88000000b00389d0a5c511so405885wme.5 for ; Mon, 14 Mar 2022 15:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nlQJ9QrtJtNbl8o68vtzo9O0LMgOrr/Unf6oFrq1rRM=; b=DH7mGMS3E4Cc8nps0Nu0gTmwjAHOBWpL82HwgrUGihUNHVJ3B+krvSkyxIVhxLuags lavBZxNu89oebpJJW6uTaWBPUrf9ZiD3BjngDKnRDO314MSbb3sHPYHnTsAwkJdkxQEK i2ANDH1ldqrKx08LBKx9V/71qNPnBV8xCY04s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nlQJ9QrtJtNbl8o68vtzo9O0LMgOrr/Unf6oFrq1rRM=; b=3c0DbRhd4JULfGFv5kRnEV2OT8BS/yr2IX7HuVWMFlyAfniVMEuc6ObYJO1bOUEMWf ApW+YBCm9nV9XBVHE+bohhU6nZMtUazyaJ+M8S5S8a4KMb7Q/KsSB9SFCX3MclOd2RK0 seVwCdTVdRhyD6JQLObFMdoQDcsWznPEG1UT0bCVkzEynvqr3Va+iC6+B3IE50ovpnD5 R+5oGoNhKd75t0pLVVk4z3pNmlndEtga0R7jum5l21YAm9+KcAQWAw634jaJ6HnB1+pv rYPGRL45y+nH6WJJpC5esrVk56BDa/68lRqXLEy3F3fE06EBxNPykBq2TN9hisdtQJXb Djdw== X-Gm-Message-State: AOAM532b/+eTqwisDKgY+yMQ9PE2sWQJJTBGmFWbKzuJm3Qlu1Cj0JdM fvYuycTEMGRVspuODTu4EoVCdY4H99M085wE X-Google-Smtp-Source: ABdhPJwPZRNrh4i8nTGah4WGuDUR3nzJTY0cLeUhedlPijo0n53VRAr9IQqbG4/JOE66P0xMAPxRGg== X-Received: by 2002:a1c:f605:0:b0:37b:b5de:89a0 with SMTP id w5-20020a1cf605000000b0037bb5de89a0mr1031551wmc.88.1647298123362; Mon, 14 Mar 2022 15:48:43 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:42 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 05/33] python3-cryptography: move from meta-python Date: Mon, 14 Mar 2022 22:48:09 +0000 Message-Id: <20220314224837.834776-5-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163171 From: Tim Orling * inherit new setuptools_rust class (which inherits new pyo3 class, which inherits cargo and python3-dir). * RDEPENDS on python3-pytest-subtests for ptest * Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed * Use 'cargo bitbake' to generate the crate:// SRC_URIs - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably only package.repository was strictly required): [package] description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions." homepage = "https://github.com/pyca/cryptography" repository = "https://github.com/pyca/cryptography" * Add patches to src/rust/Cargo.toml to fix cargo errors including pem version * Add check-memfree.py to ptest to check for sufficient free memory Signed-off-by: Tim Orling --- .../0001-Cargo.toml-specify-pem-version.patch | 31 +++++ .../0002-Cargo.toml-edition-2018-2021.patch | 28 ++++ .../python3-cryptography/check-memfree.py | 10 ++ .../python/python3-cryptography/run-ptest | 4 + .../python/python3-cryptography_36.0.1.bb | 123 ++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch create mode 100644 meta/recipes-devtools/python/python3-cryptography/0002-Cargo.toml-edition-2018-2021.patch create mode 100755 meta/recipes-devtools/python/python3-cryptography/check-memfree.py create mode 100644 meta/recipes-devtools/python/python3-cryptography/run-ptest create mode 100644 meta/recipes-devtools/python/python3-cryptography_36.0.1.bb diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch b/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch new file mode 100644 index 00000000000..d7ab757bb51 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/0001-Cargo.toml-specify-pem-version.patch @@ -0,0 +1,31 @@ +From ec8d3f3c61280c8140b34ed1479baef5e706f064 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Fri, 14 Jan 2022 22:02:25 -0800 +Subject: [PATCH] Cargo.toml: specify pem version + +pem = "1.0" is not resolving, specify the current +pem = { version: "1.0.2"} + +Upstream-Status: Pending + +Signed-off-by: Tim Orling +--- + src/rust/Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml +index 617167d0..174eaa80 100644 +--- a/src/rust/Cargo.toml ++++ b/src/rust/Cargo.toml +@@ -9,7 +9,7 @@ publish = false + lazy_static = "1" + pyo3 = { version = "0.15.1" } + asn1 = { version = "0.8.7", default-features = false, features = ["derive"] } +-pem = "1.0" ++pem = { version = "1.0.2" } + chrono = { version = "0.4", default-features = false, features = ["alloc", "clock"] } + ouroboros = "0.13" + +-- +2.30.2 + diff --git a/meta/recipes-devtools/python/python3-cryptography/0002-Cargo.toml-edition-2018-2021.patch b/meta/recipes-devtools/python/python3-cryptography/0002-Cargo.toml-edition-2018-2021.patch new file mode 100644 index 00000000000..366e3a4d39a --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/0002-Cargo.toml-edition-2018-2021.patch @@ -0,0 +1,28 @@ +From 4b73298b214a5b69ea6edf3c2e21dd82b2b29708 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Fri, 14 Jan 2022 22:34:59 -0800 +Subject: [PATCH 2/2] Cargo.toml: edition 2018 -> 2021 + +Upstream-Status: Pending + +Signed-off-by: Tim Orling +--- + src/rust/Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml +index 174eaa80..7ad053d9 100644 +--- a/src/rust/Cargo.toml ++++ b/src/rust/Cargo.toml +@@ -2,7 +2,7 @@ + name = "cryptography-rust" + version = "0.1.0" + authors = ["The cryptography developers "] +-edition = "2018" ++edition = "2021" + publish = false + + [dependencies] +-- +2.30.2 + diff --git a/meta/recipes-devtools/python/python3-cryptography/check-memfree.py b/meta/recipes-devtools/python/python3-cryptography/check-memfree.py new file mode 100755 index 00000000000..c111a9074c1 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/check-memfree.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 +# https://stackoverflow.com/questions/22102999/get-total-physical-memory-in-python/28161352 +import sys +meminfo = dict((i.split()[0].rstrip(':'),int(i.split()[1])) for i in open('/proc/meminfo').readlines()) +mem_free = meminfo['MemTotal']/1024./1024. +if mem_free < 2.: + raise RuntimeError("Insufficient free memory({:.3f}): requires > 2 GB".format(mem_free)) + sys.exit(1) +else: + print("Free memory: {:.3f} GB".format(mem_free)) diff --git a/meta/recipes-devtools/python/python3-cryptography/run-ptest b/meta/recipes-devtools/python/python3-cryptography/run-ptest new file mode 100644 index 00000000000..1e97dda63e7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/run-ptest @@ -0,0 +1,4 @@ +#!/bin/sh +if ./check-memfree.py; then + pytest -vvvv tests/ +fi diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb new file mode 100644 index 00000000000..00791dce2de --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -0,0 +1,123 @@ +SUMMARY = "Provides cryptographic recipes and primitives to python developers" +HOMEPAGE = "https://cryptography.io/" +SECTION = "devel/python" +LICENSE = "( Apache-2.0 | BSD-3-Clause ) & PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \ + file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \ + file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b \ + file://LICENSE.PSF;md5=43c37d21e1dbad10cddcd150ba2c0595 \ + " +LDSHARED += "-pthread" + +SRC_URI[sha256sum] = "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638" + +SRC_URI += " \ + file://run-ptest \ + file://check-memfree.py \ + file://0001-Cargo.toml-specify-pem-version.patch \ + file://0002-Cargo.toml-edition-2018-2021.patch \ +" + +inherit pypi setuptools3_rust + +PIP_INSTALL_DIST_PATH = "${S}/dist" + +DEPENDS += " \ + ${PYTHON_PN}-asn1crypto-native \ + ${PYTHON_PN}-cffi-native \ + ${PYTHON_PN}-setuptools-rust-native \ + ${PYTHON_PN}-six-native \ +" + +SRC_URI += " \ + crate://crates.io/Inflector/0.11.4 \ + crate://crates.io/aliasable/0.1.3 \ + crate://crates.io/asn1/0.8.7 \ + crate://crates.io/asn1_derive/0.8.7 \ + crate://crates.io/autocfg/1.0.1 \ + crate://crates.io/base64/0.13.0 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.19 \ + crate://crates.io/indoc-impl/0.3.6 \ + crate://crates.io/indoc/0.3.6 \ + crate://crates.io/instant/0.1.12 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/libc/0.2.112 \ + crate://crates.io/lock_api/0.4.5 \ + crate://crates.io/num-integer/0.1.44 \ + crate://crates.io/num-traits/0.2.14 \ + crate://crates.io/once_cell/1.9.0 \ + crate://crates.io/ouroboros/0.13.0 \ + crate://crates.io/ouroboros_macro/0.13.0 \ + crate://crates.io/parking_lot/0.11.2 \ + crate://crates.io/parking_lot_core/0.8.5 \ + crate://crates.io/paste-impl/0.1.18 \ + crate://crates.io/paste/0.1.18 \ + crate://crates.io/pem/1.0.2 \ + crate://crates.io/proc-macro-error-attr/1.0.4 \ + crate://crates.io/proc-macro-error/1.0.4 \ + crate://crates.io/proc-macro-hack/0.5.19 \ + crate://crates.io/proc-macro2/1.0.36 \ + crate://crates.io/pyo3-build-config/0.15.1 \ + crate://crates.io/pyo3-macros-backend/0.15.1 \ + crate://crates.io/pyo3-macros/0.15.1 \ + crate://crates.io/pyo3/0.15.1 \ + crate://crates.io/quote/1.0.14 \ + crate://crates.io/redox_syscall/0.2.10 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/smallvec/1.7.0 \ + crate://crates.io/stable_deref_trait/1.2.0 \ + crate://crates.io/syn/1.0.85 \ + crate://crates.io/unicode-xid/0.2.2 \ + crate://crates.io/unindent/0.1.7 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi/0.3.9 \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asn1crypto \ + ${PYTHON_PN}-cffi \ + ${PYTHON_PN}-idna \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ +" + +RDEPENDS:${PN}:append:class-target = " \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-threading \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-bcrypt \ + ${PYTHON_PN}-cryptography-vectors \ + ${PYTHON_PN}-hypothesis \ + ${PYTHON_PN}-iso8601 \ + ${PYTHON_PN}-pretend \ + ${PYTHON_PN}-psutil \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-subtests \ + ${PYTHON_PN}-pytz \ +" + +inherit ptest + +do_install_ptest() { + install -D ${WORKDIR}/check-memfree.py ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + install -d ${D}${PTEST_PATH}/tests/hazmat + cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ + cp -r ${S}/pyproject.toml ${D}${PTEST_PATH}/ +} + +FILES:${PN}-ptest += " \ + ${PTEST_PATH}/check-memfree.py \ +" +FILES:${PN}-dbg += " \ + ${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/hazmat/bindings/.debug \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5209 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 50304C433F5 for ; Mon, 14 Mar 2022 22:48:47 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web08.3429.1647298125955196424 for ; Mon, 14 Mar 2022 15:48:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=IlLbQr/R; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.53, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f53.google.com with SMTP id n33-20020a05600c3ba100b003832caf7f3aso603841wms.0 for ; Mon, 14 Mar 2022 15:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cshlyshJgVncbb9xaxAQmo2bmb0CPWBrZgt6KS19cWM=; b=IlLbQr/RLYIgdqAmdpM2RUNbcHuH8cpOCCmnno+ezXY+mw01KJdPkpG/J8603mJSI/ Ooq8GVvKr0YOuxJI3bMmez5h2coQtxrUEWrjCDn5Q/lO3JIaLkvUp84jRM1J4/IJFU2G jhZ4kwMopgG2KjujiZ1QsfwcRyy2YmVI7/fz4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cshlyshJgVncbb9xaxAQmo2bmb0CPWBrZgt6KS19cWM=; b=gu55pl1jK8MMtXjOFdEEaO+eubjNTMNsgD67lNt1LMnFeucORFPWbjEvjEEQZhbEBa gUApuJ03uiZcWW+8CIRuUtdN3QuH7OoY3iN3azkOgrf7KPf8ZQNfy4KvWIVpPHwX+1VI cv6Qbkbx6KiRqErDSsre914is/myAnmCXZkon4n+hYLCB9W3UyHI7ehhpavzXZRDF/ig H+VtY1auChdBVUwldUOy8Nw06dtaAo+ihFHIGrGQRP1h5A60o22CBVdUHPg/g/q5Npn7 OZib1WeFIsjCnnXqvuq+5+GxKJxjp2BU6soeF/4FmgjURF+GAt7OujbTkSkzahzSnJ6E rjKw== X-Gm-Message-State: AOAM531aP9PUOwfz4CGkS9sb3GtwZ7IJCv7DmazKtmzaLqGx/9BNoK3Z aTUwdRqJoaX1ARNFaCOzJ59icjUtWx73Xy1N X-Google-Smtp-Source: ABdhPJyCm4z4NLvU8SxAe+bnwkomC1X/MIDfmpYATQNjlTzUMh3Pgg+RUBHfwtrzWcNY3GyHHdaB9w== X-Received: by 2002:a05:600c:507:b0:389:9f23:99e7 with SMTP id i7-20020a05600c050700b003899f2399e7mr957863wmc.175.1647298124243; Mon, 14 Mar 2022 15:48:44 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:43 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 06/33] python3-pytest-subtests: move from meta-python Date: Mon, 14 Mar 2022 22:48:10 +0000 Message-Id: <20220314224837.834776-6-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163172 From: Tim Orling Dependency for python3-cryptography ptest. Signed-off-by: Tim Orling --- .../python/python3-pytest-subtests_0.6.0.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pytest-subtests_0.6.0.bb diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.6.0.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.6.0.bb new file mode 100644 index 00000000000..5e4847b8d94 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.6.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "unittest subTest() support and subtests fixture." +DESCRIPTION = "Adds support for TestCase.subTest.\ +New subtests fixture, providing similar functionality for pure pytest tests." +HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests" +BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1" + +SRC_URI[sha256sum] = "3ebd306a8dcf75133f1742f288c82f36426ebcf8a132d4ee89782d20e84fc13a" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-pytest \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5211 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 3E7D2C4332F for ; Mon, 14 Mar 2022 22:48:48 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web10.3511.1647298126737507492 for ; Mon, 14 Mar 2022 15:48:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=EJCsWWnz; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f45.google.com with SMTP id j26so26344911wrb.1 for ; Mon, 14 Mar 2022 15:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qKU4lDrA8uckb7vSuOhV7uzzWfnHzCz+G7Fo3Ommglw=; b=EJCsWWnzYvNJohxtDFuPyniGLgenX8pNBr3cVTwTNJabcaEk9RDb/uVqJeWnMfub7E 3dwgAqoTjqVuuNIV+RrWrifCuX713Bqtd1QF/9FgZcf0tI2fyCFHW/eklxuN+yUmMCTU X+zChDIoJ1LBpe9fhW+xKA2jz2YJzLgwkv678= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qKU4lDrA8uckb7vSuOhV7uzzWfnHzCz+G7Fo3Ommglw=; b=EWENX1i/YFG01Slak0oKhCcKiUWsSDGrKL2rbqi5JXyDaBldu9YidAgmmA+7CCE5dX M/w8Aw4o1jRc1BMVAs8FiX9RF8RBW2kDkSY4cWhhbplHSfkuf0sNYC3SDUBc/P2SBrpD f9CgxzA78V+2AGIn/m/Uj4UYwN20tuWJYLB1O5tI1bi/VJoO2C3iD1Xy2Jc/CG2D/IYs /dxtYQ7AT3fAzlsWdwZ/NoSn2tvhilVfn5iAH63kliBH8OApjaFpiai9BrOb6qkVqjMd zlRKIdrQBbuePlxLPTE5cPgglitp8KrA613SSTVUY61ItFyBigFe2jD8WhrkGHY+p8GY vIMQ== X-Gm-Message-State: AOAM530FmaRvqQ6Xpc9526fnOIwGj2DWoCLhKMUvsDFOpILQzgjqJk12 VcN+si5LyXeX7HsxkT/YQElw9xOcOh8f8a3r X-Google-Smtp-Source: ABdhPJxUd+S8JKxjluW10xMa+0VwG28p21pkquZ2wJ5bN8yZQ+fu3a2vCRFpFeIO2wX5z+GS/ReKbA== X-Received: by 2002:a05:6000:1868:b0:203:732e:6a96 with SMTP id d8-20020a056000186800b00203732e6a96mr18366602wri.39.1647298125060; Mon, 14 Mar 2022 15:48:45 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:44 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 07/33] python3-cryptography-vectors: from meta-python Date: Mon, 14 Mar 2022 22:48:11 +0000 Message-Id: <20220314224837.834776-7-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163173 From: Tim Orling Dependency for python3-cryptography ptest. This recipe needs to be kept in lock-step with the version of python3-cryptography. Signed-off-by: Tim Orling --- .../python3-cryptography-vectors_36.0.1.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb new file mode 100644 index 00000000000..b9e6b811c37 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb @@ -0,0 +1,24 @@ +SUMMARY = "Test vectors for the cryptography package." +HOMEPAGE = "https://cryptography.io/" +SECTION = "devel/python" +LICENSE = "Apache-2.0 | BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \ + file://LICENSE.APACHE;md5=4e168cce331e5c827d4c2b68a6200e1b \ + file://LICENSE.BSD;md5=5ae30ba4123bc4f2fa49aa0b0dce887b" + +# NOTE: Make sure to keep this recipe at the same version as python3-cryptography +# Upgrade both recipes at the same time + +SRC_URI[sha256sum] = "fc8490afd5424342b868215435bd174dcd76ab396b4ea9435498be5721dcd598" + +PYPI_PACKAGE = "cryptography_vectors" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-cryptography \ +" + +BBCLASSEXTEND = "native nativesdk" + +UPSTREAM_CHECK_REGEX = "" From patchwork Mon Mar 14 22:48:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5210 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 3A3C6C433EF for ; Mon, 14 Mar 2022 22:48:48 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web09.3333.1647298127467555838 for ; Mon, 14 Mar 2022 15:48:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=JOBIiDbs; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.46, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f46.google.com with SMTP id x15so26241845wru.13 for ; Mon, 14 Mar 2022 15:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E8MAvYI3VQ3g2NZJHblYbEHYmJnk41JTxSQMGOjpd/Q=; b=JOBIiDbstTO4DGy9GZ2cskziglGBXDmTFUfH7O2Dc9BFUiweT5t9lv8TmOktUviRcB ZRuw0YgKuP4WRKHnhIJbmJQXjhrXV93IrGUnSGD6sVZALCU9f58yW2T+yB43n2XYXv3b CjoKFco/gYequNwJ2XtjLRweNP/HjWOkDavw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E8MAvYI3VQ3g2NZJHblYbEHYmJnk41JTxSQMGOjpd/Q=; b=Cglu9DpXD8H8EH155iP5CDFAnqCNmAsE0gZ+uj2lfeN2f/YYO/jBxJifxFVyN19Q4o zKLOYo2KMsbFS9Ne0DI+RmN9Ry1ju74OuW3A4MjhZ5JqboVQ7QzCizNXtUNPJTZO9tui 9iI1chev1/D7zbyLWYjJiNJ0Ux6N9c/0sbd3keRSnne2kjGoR26HPgC/dTTXKqFA+Cn3 N0bqFGOGvEyFogLTkoh4vqntEm0tsZB0JzANtAzqB/QajBqwNVSt7Ft+yyt+Hm6aHngr SZC7fn/jik+Ekdr70pigqFq9fFlIHw3XpWwiCV5Cg1n87nrPyjr8tWxCQZNvRLiAinLI xRMA== X-Gm-Message-State: AOAM531WAtj3iSN7H4h9SLH8xZeltKmsxXg5Ievcc0T/GML8CWiszRet VIqnJNqkNjrsZp+HbizZidDt5ve5G2G4aY7p X-Google-Smtp-Source: ABdhPJxOTlhfFnq2noZGaultcCVww4fFXLjbG1/yBxaM8jp9pRneKo2wQq+4t2iXSjNXi6Ma4xEIKQ== X-Received: by 2002:a05:6000:18ae:b0:1f1:f7f8:5a4d with SMTP id b14-20020a05600018ae00b001f1f7f85a4dmr17664029wri.43.1647298125825; Mon, 14 Mar 2022 15:48:45 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:45 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 08/33] python3-asn1crypto: move from meta-python Date: Mon, 14 Mar 2022 22:48:12 +0000 Message-Id: <20220314224837.834776-8-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163174 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-asn1crypto_1.4.0.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-asn1crypto_1.4.0.bb diff --git a/meta/recipes-devtools/python/python3-asn1crypto_1.4.0.bb b/meta/recipes-devtools/python/python3-asn1crypto_1.4.0.bb new file mode 100644 index 00000000000..c052cb8c827 --- /dev/null +++ b/meta/recipes-devtools/python/python3-asn1crypto_1.4.0.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "A fast, pure Python library for parsing and serializing ASN.1 structures" +HOMEPAGE = "https://github.com/wbond/asn1crypto" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7439e38f5e04ff62fae436184786b7ca" + +PYPI_PACKAGE = "asn1crypto" + +SRC_URI[md5sum] = "00bf5b72d37778e62cc73b1d8909ae27" +SRC_URI[sha256sum] = "f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target += " \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5212 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 3A2BBC433F5 for ; Mon, 14 Mar 2022 22:48:49 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web10.3512.1647298128309413677 for ; Mon, 14 Mar 2022 15:48:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=IQYbA9r7; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f51.google.com with SMTP id v130-20020a1cac88000000b00389d0a5c511so405927wme.5 for ; Mon, 14 Mar 2022 15:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BP257QDoAb6V1l9Sa//oJ3DW3boV2SUMbtPImgARG6M=; b=IQYbA9r77drnG14IiqeVwxkQzfZjOy6Zu9EVYB8fjEtHhhRTcxDE7Cwel0anqGhcFo 170qtGf07d1Y7R9R4CgrNRXq4Gh8I2SbY8ZNZ5w2+FA54aRO5L4AX8z2BaVECowvLQdX wKLi4Ic20WL7DwyC1RAVbZFjd0j1Cu61tbCXo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BP257QDoAb6V1l9Sa//oJ3DW3boV2SUMbtPImgARG6M=; b=PO0V9rlOCdSHi4V67CgCC0haOUTvXTM8TBy0plKZemUqq39yhwr25+IwlEM4auBS2e Uqoet5DW3ouJiVAA9wZ32kA3gwx8LE2l1DcflFeiccsrtWJeJUzn++piEQgoQ7ctsukX pBRw8yAsWSbiSe1yIqmUGQEfFo7F+Gk7VUG1Lv9ILt/3Gaojj4X2pBWhQRiSCETB6yvP V3ucRLRzJiRcGhZw8RKZGsVOjTgB41hufWg1xj9phiXoq9yfwTcEbNOFO+JXJZd2KCcu Gefp8Hx63XvjvOfzrYkM2M39ENJvD8Lnt1hZPQJ/0HRE7zUCZwUwGRAhguTPXaZAQO2e Yhzw== X-Gm-Message-State: AOAM530FcTB8gv1jRQjF9lAEseOB02RjiaThh3Bd9PQvkPKmLY+dFglV abcRO1Vex2KWEZKS3mtJf8wMR/DXFM3Ed2cr X-Google-Smtp-Source: ABdhPJyuN0i57OHZOpPOVeAfQJNuELfmv5VmxBzPtq8P91J5mMSVDWNA5YCrWfIKUHUpNvxlcP0c1Q== X-Received: by 2002:a05:600c:4615:b0:386:9f67:8c63 with SMTP id m21-20020a05600c461500b003869f678c63mr1017585wmo.12.1647298126547; Mon, 14 Mar 2022 15:48:46 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:46 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 09/33] python3-cffi: move from meta-python Date: Mon, 14 Mar 2022 22:48:13 +0000 Message-Id: <20220314224837.834776-9-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163175 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-cffi_1.15.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-cffi_1.15.0.bb diff --git a/meta/recipes-devtools/python/python3-cffi_1.15.0.bb b/meta/recipes-devtools/python/python3-cffi_1.15.0.bb new file mode 100644 index 00000000000..c36f23b3dde --- /dev/null +++ b/meta/recipes-devtools/python/python3-cffi_1.15.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Foreign Function Interface for Python calling C code" +HOMEPAGE = "http://cffi.readthedocs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" +DEPENDS += "libffi ${PYTHON_PN}-pycparser" + +SRC_URI[sha256sum] = "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target = " \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-pycparser \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5213 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 5312AC433FE for ; Mon, 14 Mar 2022 22:48:50 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web12.3404.1647298129696842798 for ; Mon, 14 Mar 2022 15:48:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=bZrxBTU2; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.48, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f48.google.com with SMTP id n31-20020a05600c3b9f00b003898fc06f1eso426312wms.1 for ; Mon, 14 Mar 2022 15:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ysUYpYSNnrbNW1qgGB6MkqdVE2LLO/An/ITo0KznAkY=; b=bZrxBTU20XtfwApAFC1GJ0YvcNriEb/gykppYbXW7JkyjndDVPqsqrfHEsrXLwF+Zz 4ovVXQIgnkM+pr+Wlpd04ii7ZCyJ6tspTTH0pMIxyRiejpW3XkqKh0PYuAc6O/Qh2aH6 I39Sdsjj3g2rYDv6csd4GPbnzZbrUkPY3hfds= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ysUYpYSNnrbNW1qgGB6MkqdVE2LLO/An/ITo0KznAkY=; b=t3UI5y5Jl93SYIipuJvEO0AbWa/NZ5DoHEA+T8haHdBX6IcZF0Y1lO5+CEPldyLmSG KlqJA6DPRzNhhrdW8/bXRI4nScZPR+C8CUHd3lWxecsHyPXbN6i2m2lIJMIl+u1ElQih aBZnvYHSZ7fSCqFr9WVU/RhrBvxVD01nhrm/npc3c3czHTRWjpCJeLVPIQoyE+Nb6jK0 uH50FJIBL8LsUePKQhxfTEyTgQpaCy4ygxTW08u6Imcj8MqPOPfZpx2rcEIoxGEz+OnK p7XCcrGMGsWyMS7rbSJZ2mCvMG2jwojMaoOhMWjNW8R3BXKyW53GCgMOAMX0iNEA6vi2 MZcg== X-Gm-Message-State: AOAM532UwD4aXoH/TevfaNfuANVHr0eHHM4lM2+OPQkGKh9lXfCDx9Ci hD/pT541HUaEDa+P7uKL2+U5pLc64fG2k2IT X-Google-Smtp-Source: ABdhPJwdce+lqO3lrp5Lt0AFVYCW30vyfYrne0yCHVqaD+IybYoqC7INP+gXnmmtgIBkVNBYXyIqSQ== X-Received: by 2002:a1c:f30b:0:b0:37b:b5de:c804 with SMTP id q11-20020a1cf30b000000b0037bb5dec804mr978649wmq.166.1647298127902; Mon, 14 Mar 2022 15:48:47 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:47 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 10/33] python3-pytz: move from meta-python Date: Mon, 14 Mar 2022 22:48:14 +0000 Message-Id: <20220314224837.834776-10-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163176 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-pytz/run-ptest | 3 ++ .../python/python3-pytz_2021.3.bb | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pytz/run-ptest create mode 100644 meta/recipes-devtools/python/python3-pytz_2021.3.bb diff --git a/meta/recipes-devtools/python/python3-pytz/run-ptest b/meta/recipes-devtools/python/python3-pytz/run-ptest new file mode 100644 index 00000000000..b63c4de0d9a --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytz/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta/recipes-devtools/python/python3-pytz_2021.3.bb b/meta/recipes-devtools/python/python3-pytz_2021.3.bb new file mode 100644 index 00000000000..119342a4bd7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytz_2021.3.bb @@ -0,0 +1,35 @@ +SUMMARY = "World timezone definitions, modern and historical" +HOMEPAGE = "http://pythonhosted.org/pytz" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" + +inherit pypi setuptools3 ptest + +SRC_URI[sha256sum] = "acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326" + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/pytz + install -d ${D}${PTEST_PATH}/pytz/tests + cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/ + cp -f ${S}/README.rst ${D}${PTEST_PATH}/ + +} From patchwork Mon Mar 14 22:48:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5214 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 3F75CC433EF for ; Mon, 14 Mar 2022 22:48:52 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web12.3405.1647298131093531070 for ; Mon, 14 Mar 2022 15:48:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=MalAsYu1; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.47, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f47.google.com with SMTP id bg31-20020a05600c3c9f00b00381590dbb33so415799wmb.3 for ; Mon, 14 Mar 2022 15:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ztMLaZIxcZY7JNf6Vq0LP0wIjTwOwhhv96gCXT76/FQ=; b=MalAsYu1+dUSnxhhPuwG+rJ2BqXZt3cWdv/TYsVQZhSsxwewc9nKnIs9+e69VinN+2 ntItLVtL5/oGvjvGdqkv22HpSvSZ3p2mycMajAjzveLApnzJ+dUwkmyqdyycbtfHCIPO LaEfTCeuAq327QsbqLYDJUkA+/Dr7yBlAS8zE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ztMLaZIxcZY7JNf6Vq0LP0wIjTwOwhhv96gCXT76/FQ=; b=ci4qyk5uS9hfe04boclJemavRZOWZ/9tl5EYsAuOqF+pKc/gxhQUD5Au9cnF7EvP4h fo0Mijsz8ZF0IOBC6Lvy//J1GtXdtx+I3raz7RlXeP97OHgZsIEq2UQNHUJKBRr2F4PK MogJLfyKzocLWs+k51eEKvOTGzc4fFLo/SBCHQYbHFoIKPrDBYLTmwNDDp+O/to4/H2h UFZkkYi8av8zR/jvaBCSBiWRZ/Wam5czO/h8+DTQazCe/E5K9lRRIq0OcaUJMhLNQ0/h kM0HYTzWXA1SeK1S6qVtGfarRabT9Lty9Of4txR0syQCYQSRbRGVnpotCFVPfGAerc6W G/ZQ== X-Gm-Message-State: AOAM533LNic5bjh7Y21n58AQyJHK7bhyoCUjZGcwYcHQhIIt/zW/HxW2 svMDNGbChOd6WfvtUtZvHEiNsae0JpPibvii X-Google-Smtp-Source: ABdhPJzfjGWMz+iDZx7te3vvrh+h5u3rb/AZT9WlSOw1dnJ8deOIGeyxJx5J/5KtgZA0vqsr6hkuAQ== X-Received: by 2002:a7b:c256:0:b0:389:d7f7:fbc3 with SMTP id b22-20020a7bc256000000b00389d7f7fbc3mr985192wmj.154.1647298129468; Mon, 14 Mar 2022 15:48:49 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:48 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 11/33] python3-bcrypt: move from meta-python Date: Mon, 14 Mar 2022 22:48:15 +0000 Message-Id: <20220314224837.834776-11-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163177 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-bcrypt/run-ptest | 3 ++ .../python/python3-bcrypt_3.2.0.bb | 30 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-bcrypt/run-ptest create mode 100644 meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb diff --git a/meta/recipes-devtools/python/python3-bcrypt/run-ptest b/meta/recipes-devtools/python/python3-bcrypt/run-ptest new file mode 100644 index 00000000000..b63c4de0d9a --- /dev/null +++ b/meta/recipes-devtools/python/python3-bcrypt/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb b/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb new file mode 100644 index 00000000000..92a6a0d8c5f --- /dev/null +++ b/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Modern password hashing for your software and your servers." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" + +DEPENDS += "${PYTHON_PN}-cffi-native" + +SRC_URI[md5sum] = "fe31390dab603728f756cd3d6830c80a" +SRC_URI[sha256sum] = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29" + +inherit pypi setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-cffi \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-six \ +" From patchwork Mon Mar 14 22:48:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5215 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 3A255C433F5 for ; Mon, 14 Mar 2022 22:48:53 +0000 (UTC) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web09.3334.1647298132298432731 for ; Mon, 14 Mar 2022 15:48:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=hZEsJ9sX; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f45.google.com with SMTP id p184-20020a1c29c1000000b0037f76d8b484so411097wmp.5 for ; Mon, 14 Mar 2022 15:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bSGkO+BO9Rc1Xlu/al5AXwipKz70HS0mr7v9TJ07w7Y=; b=hZEsJ9sXJ8sZJgF07LeYYZoeTf/dNAwFbbQrlzne1Wkom0WUuASRN7aBd2XvwudOhm 2bYonFxFAHIWhtI1i97dgQ+gsN2CPAUAydUZ7N4s42VIhlTTTxTGDm6sRFNjgz8ySteZ Fk3NQLwv2cgb56YjClhBhmaq9O1q6d7DMrUUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bSGkO+BO9Rc1Xlu/al5AXwipKz70HS0mr7v9TJ07w7Y=; b=mR2MkG6fDGEwIc7T61wUAKRZVC1DgG/8F7fnSiQnDzh6yqW3WPhdPTPvIXeMSKhr6Z 9itlaRwiyEt8551RqOUfoBEnaCQHO6hMci7Y6pcEHzVBSTgXgXzVecAu4lhUQbPrEwu0 i2Js6GpYhb6ye8q3/RDHdbGJ8xqQsoepM96KSzL/7x5B6OD+U2ameJ7GVuGgSsuDS1RB uYW0IQQEU179TlO3aZCCp2WG0Qf4pp5uEfHZ9qHw6d2/zsPmEM5r2RU0glBcWhH4I2Ql jyyTAZEJ58Sdks4YVrwFf0HxaTJk29yIhExAGb79oCjktqRkRCmUGATDrgta1JydW4VV /Jdw== X-Gm-Message-State: AOAM530TlhNQiNUpejdl56YNvDn0R7ibEJCZlGpGucn/6mMh2kYf9cQa ZxavLLraavsPLFJU0NdVD1YApsPs4iKBVIlO X-Google-Smtp-Source: ABdhPJzVYYYOgii8sYWJB4HHdswreyXIOiGoOhZtBnU/yUo6wTg5sFU272P5igKn4k8b5WqWLU4yJw== X-Received: by 2002:a1c:4b04:0:b0:389:a498:3820 with SMTP id y4-20020a1c4b04000000b00389a4983820mr1006234wma.50.1647298130607; Mon, 14 Mar 2022 15:48:50 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:49 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 12/33] python3-pretend: move from meta-python Date: Mon, 14 Mar 2022 22:48:16 +0000 Message-Id: <20220314224837.834776-12-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163178 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-pretend_1.0.9.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pretend_1.0.9.bb diff --git a/meta/recipes-devtools/python/python3-pretend_1.0.9.bb b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb new file mode 100644 index 00000000000..21d14a03b8d --- /dev/null +++ b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb @@ -0,0 +1,11 @@ +SUMMARY = "A library for stubbing in Python" +HOMEPAGE = "https://github.com/alex/pretend" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" + +SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8" +SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5220 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 5070CC43217 for ; Mon, 14 Mar 2022 22:48:55 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web11.3251.1647298133669524583 for ; Mon, 14 Mar 2022 15:48:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=JacVyFjO; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.54, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f54.google.com with SMTP id l10so10215205wmb.0 for ; Mon, 14 Mar 2022 15:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4yo+t2pQXmQq4O+guPlwiT9FjWgFjpC7XPsQyRU2vfQ=; b=JacVyFjOLhcOi1V7T/Ehq6ENm1LApMX68Wfpjclsuy2h+MRYvDWKpQFvW4FVR3pTY0 qv7obYsPbpZf1r5fG5R+FKzmUc32kALD2woUwjkfEUuAWcZwYtV9BpU9MSbjVGN6D9BD 6uOnc5irxqUqeTWK1aTtMGbMl3HXqbmpJDC4s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4yo+t2pQXmQq4O+guPlwiT9FjWgFjpC7XPsQyRU2vfQ=; b=PPaz7EhvVa6Y+BCeKbaMpX818MNG149I6KdwC9mIheAs/qzYM81FQDhlqhgVREPhb0 NeB5kYAmGNhNy2hYLR3jL8tQb0ULX3w7UIiFWqNArSrO1yXi6wLmQpXCiwNs3NUbjbnl +VVv5nHURMUVv59sDzDml8Wx0NsPDLGf1V0fHHKwq/gysAy5RJIkHoO4q3jcy5GYc8ft sx8+O6acXAg/KFQRQ5Hmw441QMtnlg9WUX8Oaad00S94hAKVFYWceEyrcn5VGSi6gZxV K1VyXEpvRJx4XFX1vYwMdoaOwD5LGd8LN7gg9lu7lWwxQ/ASUnYcepkjPjbr1Yxm9kZN O4lg== X-Gm-Message-State: AOAM533kmBR1ikrvYt/Mrx9pnZrIgudd8SOGhKDCUWkZ8vvBX/0K2ZV1 E+uyaaMIifs+LYt5B021Id2bhUfBS/1hxySX X-Google-Smtp-Source: ABdhPJzZMyToJcCLURj0FJsmWGZ280v+qCr3a98PlJEIU684DKsCyP9AQWW70chyfKVo/3yoONeKMw== X-Received: by 2002:a7b:cd03:0:b0:37b:fc83:a4e2 with SMTP id f3-20020a7bcd03000000b0037bfc83a4e2mr985371wmj.193.1647298131846; Mon, 14 Mar 2022 15:48:51 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:50 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 13/33] python3-psutil: move from meta-python Date: Mon, 14 Mar 2022 22:48:17 +0000 Message-Id: <20220314224837.834776-13-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163179 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../0001-fix-failure-test-cases.patch | 197 ++++++++++++++++++ .../python/python3-psutil_5.9.0.bb | 28 +++ 2 files changed, 225 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-psutil/0001-fix-failure-test-cases.patch create mode 100644 meta/recipes-devtools/python/python3-psutil_5.9.0.bb diff --git a/meta/recipes-devtools/python/python3-psutil/0001-fix-failure-test-cases.patch b/meta/recipes-devtools/python/python3-psutil/0001-fix-failure-test-cases.patch new file mode 100644 index 00000000000..34ea03b27f3 --- /dev/null +++ b/meta/recipes-devtools/python/python3-psutil/0001-fix-failure-test-cases.patch @@ -0,0 +1,197 @@ +From 8b4e38958ff8bdbb3ece4796bfa2d3b6f7536f71 Mon Sep 17 00:00:00 2001 +From: Changqing Li +Date: Wed, 23 Feb 2022 11:54:40 +0800 +Subject: [PATCH] fix failure test cases + +The test cases is not robust enough. skip some cases that is +not suitable for all conditions. + +* test_io_counters failed when kernel config CONFIG_TASKSTATS + and CONFIG_TASK_IO_ACCOUNTING are not enable in OE +* test_setup_script failed since oe don't install setup.py +* test_used failed since oe use git source for free, so the version + is 3.3.17-dirty +* test_weird_environ failed since gcc not installed +* test_debug failed since it is designed to run when PSUTIL_DEBUG is set +* test_against_findmnt/test_comparisons/test_disk_partitions_mocked/ + test_disk_partitions is not suitable for Linux nfs boot + +Upstream-Status: Pending + +Signed-off-by: Changqing Li +--- + psutil/tests/test_contracts.py | 1 + + psutil/tests/test_linux.py | 8 ++++++-- + psutil/tests/test_misc.py | 4 ++++ + psutil/tests/test_process.py | 5 +++++ + psutil/tests/test_system.py | 1 + + psutil/tests/test_unicode.py | 4 +++- + 6 files changed, 20 insertions(+), 3 deletions(-) + +diff --git a/psutil/tests/test_contracts.py b/psutil/tests/test_contracts.py +index 7401cc1..bf0fca0 100755 +--- a/psutil/tests/test_contracts.py ++++ b/psutil/tests/test_contracts.py +@@ -172,6 +172,7 @@ class TestAvailProcessAPIs(PsutilTestCase): + def test_rlimit(self): + self.assertEqual(hasattr(psutil.Process, "rlimit"), LINUX or FREEBSD) + ++ @unittest.skip("broken on OE since kernel config maye not be enabled") + def test_io_counters(self): + hasit = hasattr(psutil.Process, "io_counters") + self.assertEqual(hasit, False if MACOS or SUNOS else True) +diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py +index 20e28d2..66b6dda 100755 +--- a/psutil/tests/test_linux.py ++++ b/psutil/tests/test_linux.py +@@ -196,8 +196,9 @@ def get_free_version_info(): + out = sh(["free", "-V"]).strip() + if 'UNKNOWN' in out: + raise unittest.SkipTest("can't determine free version") +- return tuple(map(int, out.split()[-1].split('.'))) +- ++ vlist = out.split()[-1].split('.') ++ vlist[:] = [n.split('-')[0] for n in vlist] ++ return tuple(map(int, vlist)) + + @contextlib.contextmanager + def mock_open_content(for_path, content): +@@ -1289,6 +1290,7 @@ class TestRootFsDeviceFinder(PsutilTestCase): + finder.ask_sys_class_block() + + @unittest.skipIf(GITHUB_ACTIONS, "unsupported on GITHUB_ACTIONS") ++ @unittest.skip("Broken for oe") + def test_comparisons(self): + finder = RootFsDeviceFinder() + self.assertIsNotNone(finder.find()) +@@ -1311,11 +1313,13 @@ class TestRootFsDeviceFinder(PsutilTestCase): + + @unittest.skipIf(not which("findmnt"), "findmnt utility not available") + @unittest.skipIf(GITHUB_ACTIONS, "unsupported on GITHUB_ACTIONS") ++ @unittest.skip("Broken for oe") + def test_against_findmnt(self): + psutil_value = RootFsDeviceFinder().find() + findmnt_value = sh("findmnt -o SOURCE -rn /") + self.assertEqual(psutil_value, findmnt_value) + ++ @unittest.skip("Broken for oe") + def test_disk_partitions_mocked(self): + with mock.patch( + 'psutil._pslinux.cext.disk_partitions', +diff --git a/psutil/tests/test_misc.py b/psutil/tests/test_misc.py +index d946eb6..121004a 100755 +--- a/psutil/tests/test_misc.py ++++ b/psutil/tests/test_misc.py +@@ -54,6 +54,8 @@ from psutil.tests import unittest + # =================================================================== + + ++PSUTIL_DEBUG = bool(os.getenv('PSUTIL_DEBUG', 0)) ++ + class TestMisc(PsutilTestCase): + + def test_process__repr__(self, func=repr): +@@ -368,6 +370,7 @@ class TestMisc(PsutilTestCase): + + # XXX: https://github.com/pypa/setuptools/pull/2896 + @unittest.skipIf(APPVEYOR, "temporarily disabled due to setuptools bug") ++ @unittest.skip("OE run this test outof source tree") + def test_setup_script(self): + setup_py = os.path.join(ROOT_DIR, 'setup.py') + if CI_TESTING and not os.path.exists(setup_py): +@@ -401,6 +404,7 @@ class TestMisc(PsutilTestCase): + reload_module(psutil) + self.assertIn("version conflict", str(cm.exception).lower()) + ++ @unittest.skipIf(not PSUTIL_DEBUG, "env PSUTIL_DEBUG not set") + def test_debug(self): + if PY3: + from io import StringIO +diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py +index c9059e3..a34ba3d 100755 +--- a/psutil/tests/test_process.py ++++ b/psutil/tests/test_process.py +@@ -36,6 +36,7 @@ from psutil._compat import PY3 + from psutil._compat import FileNotFoundError + from psutil._compat import long + from psutil._compat import super ++from psutil._compat import which + from psutil.tests import APPVEYOR + from psutil.tests import CI_TESTING + from psutil.tests import GITHUB_ACTIONS +@@ -726,6 +727,7 @@ class TestProcess(PsutilTestCase): + self.assertEqual(' '.join(p.cmdline()), ' '.join(cmdline)) + + @unittest.skipIf(PYPY, "broken on PYPY") ++ @unittest.skipIf(not which("gcc"), "gcc not installed") + def test_long_cmdline(self): + testfn = self.get_testfn() + create_exe(testfn) +@@ -740,6 +742,7 @@ class TestProcess(PsutilTestCase): + assert pyexe.startswith(name), (pyexe, name) + + @unittest.skipIf(PYPY, "unreliable on PYPY") ++ @unittest.skipIf(not which("gcc"), "gcc not installed") + def test_long_name(self): + testfn = self.get_testfn(suffix="0123456789" * 2) + create_exe(testfn) +@@ -750,6 +753,7 @@ class TestProcess(PsutilTestCase): + @unittest.skipIf(SUNOS, "broken on SUNOS") + @unittest.skipIf(AIX, "broken on AIX") + @unittest.skipIf(PYPY, "broken on PYPY") ++ @unittest.skipIf(not which("gcc"), "gcc not installed") + def test_prog_w_funky_name(self): + # Test that name(), exe() and cmdline() correctly handle programs + # with funky chars such as spaces and ")", see: +@@ -1408,6 +1412,7 @@ class TestProcess(PsutilTestCase): + + @unittest.skipIf(not HAS_ENVIRON, "not supported") + @unittest.skipIf(not POSIX, "POSIX only") ++ @unittest.skipIf(not which("gcc"), "gcc not installed") + def test_weird_environ(self): + # environment variables can contain values without an equals sign + code = textwrap.dedent(""" +diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py +index db2cb34..5ee519f 100755 +--- a/psutil/tests/test_system.py ++++ b/psutil/tests/test_system.py +@@ -580,6 +580,7 @@ class TestDiskAPIs(PsutilTestCase): + def test_disk_usage_bytes(self): + psutil.disk_usage(b'.') + ++ @unittest.skip("Broken for oe") + def test_disk_partitions(self): + def check_ntuple(nt): + self.assertIsInstance(nt.device, str) +diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py +index e635726..7ba5b0f 100755 +--- a/psutil/tests/test_unicode.py ++++ b/psutil/tests/test_unicode.py +@@ -86,6 +86,7 @@ from psutil import POSIX + from psutil import WINDOWS + from psutil._compat import PY3 + from psutil._compat import u ++from psutil._compat import which + from psutil.tests import APPVEYOR + from psutil.tests import ASCII_FS + from psutil.tests import CI_TESTING +@@ -156,7 +157,7 @@ def try_unicode(suffix): + # FS APIs + # =================================================================== + +- ++@unittest.skipIf(not which("gcc"), "gcc not installed") + class BaseUnicodeTest(PsutilTestCase): + funky_suffix = None + +@@ -169,6 +170,7 @@ class BaseUnicodeTest(PsutilTestCase): + @serialrun + @unittest.skipIf(ASCII_FS, "ASCII fs") + @unittest.skipIf(PYPY and not PY3, "too much trouble on PYPY2") ++@unittest.skipIf(not which("gcc"), "gcc not installed") + class TestFSAPIs(BaseUnicodeTest): + """Test FS APIs with a funky, valid, UTF8 path name.""" + +-- +2.25.1 + diff --git a/meta/recipes-devtools/python/python3-psutil_5.9.0.bb b/meta/recipes-devtools/python/python3-psutil_5.9.0.bb new file mode 100644 index 00000000000..3df0e5d003e --- /dev/null +++ b/meta/recipes-devtools/python/python3-psutil_5.9.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" + +SRC_URI[sha256sum] = "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25" + +inherit pypi setuptools3 + +SRC_URI += "file://0001-fix-failure-test-cases.patch" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ +" + + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-xml \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-resource \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5219 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 50792C43219 for ; Mon, 14 Mar 2022 22:48:55 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web09.3336.1647298134316850004 for ; Mon, 14 Mar 2022 15:48:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ZBN+qOpF; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.43, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f43.google.com with SMTP id j26so26345251wrb.1 for ; Mon, 14 Mar 2022 15:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1eLpgNsrTVDKpK/jx0V7vRi9/jbMOMZVgL7j09dqR9k=; b=ZBN+qOpFGgApuq2oD0cebT1uH7RnFQiHfWM5Q+Cv23L/agA5cpYQItMwpikI3pf9x2 v4eUu3TEoeNqeIaTf5llTV5hgLDR6uKM9RXqolYjnKMatpW/6yN87lzdnjOeJYdYbtdj oN3xn0hce7AgEE3NBknXLlqHrFZ0P1qplURSk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1eLpgNsrTVDKpK/jx0V7vRi9/jbMOMZVgL7j09dqR9k=; b=38++H0hLgb10fwNOu2T7jTRCPh19pKiMw3tpkotBEC2oOSaP3hhGTx35UK+CuM29rb yp+Q1cKZ5zA05qnUq1XbK6f6EvAJ8NtPM6BgmDc9saPlkIUv9/ECD3c9nhz/RBUNA78j QedH7k+nnWXfa/RQIMjIl+eGzPxkO1IWLo17dd+x35psrIWDrR85rsW+btlmqbpECRuZ C26sLAfpjJoX68HLxTYFfPcY0d9rwgolKrH9QQrxqQRdQuk3p7wN9mbs6pzatJBi7ohh hHENyijCMdvjq4JnIx0dLZtWc8DeM6s67KLsGOXM9mNF9deS9kz23q3Khnl5DzzRArHc uawQ== X-Gm-Message-State: AOAM530svtCy5iUGc3x7TFj72gDB9eBcL1wDeXYUNz1McxfWZvk/7gJ6 RocUh4K4+KDQdb+wLGbOnVbEkOLB6slVG5jX X-Google-Smtp-Source: ABdhPJyNtMi/JPY15kcoybaG9HgzY5Kjw30dP+ooiNVP1+UCs4Bf0vnFLCWl/5BOuKnj/up6hysIvQ== X-Received: by 2002:adf:e508:0:b0:1f1:dfed:7d56 with SMTP id j8-20020adfe508000000b001f1dfed7d56mr17635511wrm.440.1647298132688; Mon, 14 Mar 2022 15:48:52 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:52 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 14/33] poetry_core.bbclass: move from meta-python Date: Mon, 14 Mar 2022 22:48:18 +0000 Message-Id: <20220314224837.834776-14-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163180 From: Tim Orling poetry.core.masonry.api is one of the common PEP-517 build backends. Signed-off-by: Tim Orling --- meta/classes/poetry_core.bbclass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/classes/poetry_core.bbclass diff --git a/meta/classes/poetry_core.bbclass b/meta/classes/poetry_core.bbclass new file mode 100644 index 00000000000..fb37c78c782 --- /dev/null +++ b/meta/classes/poetry_core.bbclass @@ -0,0 +1,15 @@ +inherit pip_install_wheel python3native setuptools3-base + +DEPENDS += "python3-poetry-core-native" + +poetry_core_do_configure () { + : +} + +# TODO: ideally this uses pypa/build +poetry_core_do_compile () { + nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')" +} +do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" + +EXPORT_FUNCTIONS do_configure do_compile From patchwork Mon Mar 14 22:48:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5221 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 3FCF8C433F5 for ; Mon, 14 Mar 2022 22:48:57 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web10.3514.1647298135748845207 for ; Mon, 14 Mar 2022 15:48:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SZ7DVoqq; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.54, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f54.google.com with SMTP id 123-20020a1c1981000000b0038b3616a71aso413329wmz.4 for ; Mon, 14 Mar 2022 15:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zy1zbn53eHEfjZ37+R25EbEnSAiw9PWMIe9rYjjFazw=; b=SZ7DVoqqTB+IDi24xBR5Ggc5vXPgBpvbNWinsOrrI7l3I658FmH83p7Aly32On1kfO xnu97mgnBjWXnmQgsvresD2OxYmiFJsqghWv33+CeVnphfH339GsiUB/YVulrV+QeZJN joj6DfBw6QovP455uSNt7fjZHCxu5oWII+E+Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zy1zbn53eHEfjZ37+R25EbEnSAiw9PWMIe9rYjjFazw=; b=V182HVKNAALMMg0vmoU84bw/002fytW1Lff6Wdc6wgSGvi1BYllAVXindfvjXtrRP2 q+2yYNXwfrQIgFaKXNEESHRR/jA0sSVbH8PsyNwJ+aRNWJkMFR4xccWrLahjp3cKQBnK R8GCzfsSqSV96nOsuMMHOElMI7CynKF8ZD6PaotmxoqNuHHFlBqU2GmP/iid/mnYS29f BaxAuz/zU+iPtECU9dQo9iYn5VRFXreCJIkRitpsCKK8UV2UJfGFh9LsPSrVWprndaAS 184uPxIl76+cPvh85+XhEglJoGc1300BG8BKf0el4Exqh9yVNionW3lOT+VNJvz75w4x zE2A== X-Gm-Message-State: AOAM5333vk8nTK3bs/JHfH7MqHiRZRts71K1SSHqcuEdte0/mBH6Sob6 u2rrLgtVu5nT8eo6++73RxjbnFjXQJBtDb+9 X-Google-Smtp-Source: ABdhPJxKhrFMKFuEXCf2bsLjt/4W98i/pskBlkJBdv33a2B28PfHmvBX4fGr6M1eDnaECWqrtUoKPg== X-Received: by 2002:a1c:c907:0:b0:37b:f983:5d4e with SMTP id f7-20020a1cc907000000b0037bf9835d4emr1005376wmb.174.1647298134055; Mon, 14 Mar 2022 15:48:54 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:53 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 15/33] python3-poetry-core: move from meta-python Date: Mon, 14 Mar 2022 22:48:19 +0000 Message-Id: <20220314224837.834776-15-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163181 From: Tim Orling A PEP 517 build backend implementation developed for Poetry. This project is intended to be a light weight, fully compliant, self-contained package allowing PEP 517 compatible build frontends to build Poetry managed projects. Signed-off-by: Tim Orling --- .../python/python3-poetry-core_1.0.8.bb | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb new file mode 100644 index 00000000000..99ec763c4d5 --- /dev/null +++ b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb @@ -0,0 +1,46 @@ +SUMMARY = "Poetry PEP 517 Build Backend" +DESCRIPTION = "Poetry PEP 517 Build Backend" +HOMEPAGE = "https://github.com/python-poetry/poetry-core" +BUGTRACKER = "https://github.com/python-poetry/poetry-core" +CHANGELOG = "https://github.com/python-poetry/poetry-core/blob/master/CHANGELOG.md" + +LICENSE = "Apache-2.0 & BSD-2-Clause & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=104d5c3c653aeededf4076773aa4c236 \ + file://poetry/core/_vendor/attrs.LICENSE;md5=75bb9823a2778b5a2bd9b793fac93ea2 \ + file://poetry/core/_vendor/jsonschema/COPYING;md5=6554d3a51d7cb0b611891317f3c69057 \ + file://poetry/core/_vendor/jsonschema/LICENSE;md5=2ecb81765361195731a6f72a89e449fd \ + file://poetry/core/_vendor/lark-parser.LICENSE;md5=b37b83a9cf129d92ee65aaa71c01ce72 \ + file://poetry/core/_vendor/packaging/LICENSE;md5=7a6e56c9d54ecd731ab31c52de7942f0 \ + file://poetry/core/_vendor/packaging/LICENSE.APACHE;md5=29256199be2a609aac596980ffc11996 \ + file://poetry/core/_vendor/packaging/LICENSE.BSD;md5=f405810d173a1618433827928768bcd2 \ + file://poetry/core/_vendor/pyparsing.LICENSE;md5=fb46329938e6bc829b256e37d5c1e31a \ + file://poetry/core/_vendor/pyrsistent/LICENSE.mit;md5=1211a1ac6eac40020d0f99c39b4e4270 \ + file://poetry/core/_vendor/six.LICENSE;md5=6a574656da93d9ef05431b45907e35b6 \ + file://poetry/core/_vendor/tomlkit/LICENSE;md5=be329e5ef9c9fe86738c9afe6ef3c11c \ + " + +SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118" + +inherit poetry_core pypi + +PIP_INSTALL_PACKAGE = "poetry_core" + +RDEPENDS:${PN}:append:class-target = "\ + python3-compression \ + python3-core \ + python3-crypt \ + python3-io \ + python3-json \ + python3-logging \ + python3-netclient \ + python3-pathlib2 \ + python3-pprint \ + python3-shell \ +" + +RDEPENDS:${PN} += "\ + python3-pip \ + python3-six \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5222 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 3B568C433EF for ; Mon, 14 Mar 2022 22:48:57 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web09.3337.1647298136515470994 for ; Mon, 14 Mar 2022 15:48:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=IxkPz7Cb; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.46, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f46.google.com with SMTP id 123-20020a1c1981000000b0038b3616a71aso413355wmz.4 for ; Mon, 14 Mar 2022 15:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WkAcsSi5QAniT2BE49jH8x6fDHhUdPFjjSte62QaGFw=; b=IxkPz7CbSVVYbcX+F58au/OaiHFejxGIF0bRxWaKhJJLWw+/RNRMSOEdLWijOSRqzz 5DJ0K+eu49HyA/yfvfSy8heZzXEl2kKJzCunSZ98kb8f6wZTilPecZHFbwrNj7/ijh1I KxnYVgS36rwH3XJbxv1N3fsueiStIR9Zy6IM8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WkAcsSi5QAniT2BE49jH8x6fDHhUdPFjjSte62QaGFw=; b=PBjR8+AV7Fg2JCUZf7+u8EM73uUICYPGr/GdtuTbNLW4MrK8RnC5EaKP+mHy96ZD9Q eswysn4l/aBYHyeIJyi3Q8Z5+ImU0l7FirQ+RlK/cXNHcQ+waGS38YV0+mFicWIUdF08 /9ViIeUI9EVjb03ke6AEJtMlvk1HDHoyL67pUfHDgNTbBmM8wb8HU5uSLCBfJ+5qzt1G H5BVWjhlHLwbV7BaiLhwa8C2N9Dfx/RC3amMpRIat/v/Z/+1HZYlV/jW1uT6vLAizu30 6HPWuBVL8etIrBklLrQErwcjpWK1mBiHvxZnT4dTUcaL0rLc1KcYDaSP9TM3iU9erpbq VyGg== X-Gm-Message-State: AOAM530cfposCcunLqgg/CzkYye8sm2HY1HREVKRi92fRLTzrWjXIN8a 5lRkll5uHzq6oJvyKDRpDhLZlUi5ECUgZInx X-Google-Smtp-Source: ABdhPJyoXt1cSUaLca1mQwIwWYpYMAvc+K01nHB2smkjAiTRYbzGG9AVkF6bRLEg+D9HQKenp87LXA== X-Received: by 2002:a7b:c844:0:b0:37b:b986:7726 with SMTP id c4-20020a7bc844000000b0037bb9867726mr1015644wml.160.1647298134877; Mon, 14 Mar 2022 15:48:54 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:54 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Ross Burton Subject: [PATCH 16/33] python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE Date: Mon, 14 Mar 2022 22:48:20 +0000 Message-Id: <20220314224837.834776-16-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163182 From: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb index 99ec763c4d5..22d7076d01b 100644 --- a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb +++ b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb @@ -23,8 +23,6 @@ SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa4 inherit poetry_core pypi -PIP_INSTALL_PACKAGE = "poetry_core" - RDEPENDS:${PN}:append:class-target = "\ python3-compression \ python3-core \ From patchwork Mon Mar 14 22:48:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5223 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 3B4C2C4332F for ; Mon, 14 Mar 2022 22:48:58 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web09.3341.1647298137381933964 for ; Mon, 14 Mar 2022 15:48:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=NMrIA9I3; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.48, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f48.google.com with SMTP id bg31-20020a05600c3c9f00b00381590dbb33so415894wmb.3 for ; Mon, 14 Mar 2022 15:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VdDcJbagI+Zb9MVh6OGe/zAJ9pVnZiLFskUQUJ+3zXE=; b=NMrIA9I3Lc8a41olV19eTfxhA9d/N2je1/0ortstgQvJkzZG2JqRw2rmAFKQcr2MhK JzRHqVTU3mNuOVOaIg9bzCcuhDPYV7v5i7rlpInyNhx4eo73K01E1elZMuVPHpKgUzXs CtO8z3gI2yyOURldo5fpyzswwNw4DxkAxrthw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VdDcJbagI+Zb9MVh6OGe/zAJ9pVnZiLFskUQUJ+3zXE=; b=nES+CPRDPjfNj0/4BORDmzwpT/4/WSqFnlPm8YDAd6JY0Eu8i6FLJUyn8VXOhw8LY6 EdB9tJyePIz0M2Pu21YQc7/nN8YjDZQCCJMnnmrhfpiMTkDNSmtaC2Cy6QmgkMwi3Dee nhM8U+vgesUckM10o3rs1On7YU5GqMMA0CAj59E4xQig2pcyir/2ZU60p97qs0ej+E1a UZ0Nr9nBPNBPopOHHRtlJ1k7Dr2Ol3xgguStum+bc5CMrDZFSt2DyRjkBpOErkBcxEIc XXXZZpmwJHipnTrA90bgnBNLl5aJQxUeILv7OGLCYKcJpzJQySZnfje+TGHiJsrYyShi YHoA== X-Gm-Message-State: AOAM533aPumr5eORYPNTAQpcg8lc2dxn6/OXLl8rc6lVj2IeIAJvByjx ZESMeA+Z7kmtVYGxhR3griUozj9L59EyICbd X-Google-Smtp-Source: ABdhPJwGYJ7Vc2vcTTLk5X7fa9hs30x92XnKyA7M+OYr3Dehu6fr2X2kNa22Mh1LLr8QIK5PEdtTSw== X-Received: by 2002:a7b:c154:0:b0:388:8e6e:ff76 with SMTP id z20-20020a7bc154000000b003888e6eff76mr999442wmi.191.1647298135614; Mon, 14 Mar 2022 15:48:55 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:55 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 17/33] python3-iso8601: move from meta-python Date: Mon, 14 Mar 2022 22:48:21 +0000 Message-Id: <20220314224837.834776-17-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163183 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-iso8601_1.0.2.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-iso8601_1.0.2.bb diff --git a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb new file mode 100644 index 00000000000..aabc47d69b9 --- /dev/null +++ b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "Simple module to parse ISO 8601 dates" +HOMEPAGE = "http://pyiso8601.readthedocs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844" + +SRC_URI[sha256sum] = "27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1" + +inherit pypi poetry_core + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5224 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 3C5DCC433F5 for ; Mon, 14 Mar 2022 22:48:59 +0000 (UTC) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.web09.3342.1647298138697966646 for ; Mon, 14 Mar 2022 15:48:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=R9QP+c6N; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.42, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f42.google.com with SMTP id q20so10199104wmq.1 for ; Mon, 14 Mar 2022 15:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hRYw9tUM1sX7J5slhUdCKihwdrJ+IZVTdJWGyzeV7Sg=; b=R9QP+c6NkbIZh5Bn2VJ2gwfsNxCgqwJhwnxnv30ZbZkebrw308VlkUg4gJMmvKNkvU +P3ihDbxZIc2zSRgVZmQhrU8yKn4MQ+N6z3/exdX2Bxo2P6nWtIlIigSmGN//YV48Cxl lRQo4hWFRCLYPP/L8i7owcPI/trxUaQn41S1w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hRYw9tUM1sX7J5slhUdCKihwdrJ+IZVTdJWGyzeV7Sg=; b=FnqlEJSO8ku2AAsP6Rl/gqGaEMZ5HRliawdUKcLtyKV/s8HuunOtM5tNQSnkjk7yiW duS33LDF8ooCw7E92TY7RRTgRpjNcfpN4HoNwwW+UEk+UnKwjQ2x5HLPjEvCZOCNnWIx PlQsh7T4xUNouvWXZsH63d+MMr1X0U3zmNVWl+IW+/dSHRrWUc/AMyZMj1sTW05KGia2 rQGmrbiJNclo8vf1k6zMCdBHV6bZECBGUyoFUxnC4KbedLJb4yuSVVc3vYgyeMNKgFre Et/TyUtXyXzwunJeHztufTSYp4ex+8FRFr2PKSwYZizODBayTAQizGPo6nji3iT9Mish fI1g== X-Gm-Message-State: AOAM530SrSBGRk443b4WemVaNqY+q1rqxF5vu75H4LJ0PteTQmieqt9y Azr+oyRy28pgkJK80DD68THVuMra1VHW/coV X-Google-Smtp-Source: ABdhPJydu9HOSf/F0t5EA8aW4ZZEquunbiL0t9m+b0KUL+dZDoTNCrcI9goEDrt40/hVvHq3X+JBLw== X-Received: by 2002:a05:600c:19d1:b0:389:d567:e9a0 with SMTP id u17-20020a05600c19d100b00389d567e9a0mr929426wmq.137.1647298136832; Mon, 14 Mar 2022 15:48:56 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:56 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 18/33] python3-typing-extensions: move from meta-python Date: Mon, 14 Mar 2022 22:48:22 +0000 Message-Id: <20220314224837.834776-18-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:48:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163184 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-typing-extensions_3.10.0.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb diff --git a/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb new file mode 100644 index 00000000000..a5f491c7700 --- /dev/null +++ b/meta/recipes-devtools/python/python3-typing-extensions_3.10.0.0.bb @@ -0,0 +1,12 @@ +HOMEPAGE = "https://github.com/python/typing" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f" + +# The name on PyPi is slightly different. +PYPI_PACKAGE = "typing_extensions" + +SRC_URI[sha256sum] = "50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5225 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 3B84FC433EF for ; Mon, 14 Mar 2022 22:49:00 +0000 (UTC) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mx.groups.io with SMTP id smtpd.web12.3408.1647298139377442650 for ; Mon, 14 Mar 2022 15:48:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ha8TsNmJ; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.41, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f41.google.com with SMTP id b19so3971656wrh.11 for ; Mon, 14 Mar 2022 15:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HgSNipXu32xDQb7Lq57YE/84lzAoKZQRG9IWWx8hMQ8=; b=ha8TsNmJaIqGr9Qve5ubecNoGrgX8wXZ8iSiiWvMlYxUX2amWbMZLYnQJLXiZFYCJZ q0zYyNJ0AQiGtkksKaRQH5jORXFtwL7xbpCSh0enbcp1k7GDWsJB0Bt4o9s/vPGYmawt vCld6A2bOJViE71Pus08DvrKrZILZy+MPuNgg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HgSNipXu32xDQb7Lq57YE/84lzAoKZQRG9IWWx8hMQ8=; b=gBVohn+2WnCvHAyxUNqWYE8n4NqOYY1cTXsSyIL2QUd5vcIq+Kw7hnopA5w+dbki8J X3MGzr/OkOVY0z5Ptct+u94ug8yyOdrKTBqsJA26VOOCF65yNFGB9yS8FRrduurHgkGV LJHouPR2/UkBC3Mw1UMfwjmnZZZvbuTL3y0ljf2XYe5ZPmr7EOpmFRAbNKzYMSU6XAJF njXdczbr7aX7i2/c55CIRXw8gNrOUPVelSOBwUklQVgtgd60/p9c1YMrdT7rQHELClNH TZE/HLqC1Vt1DPgAKP0EXyD1OH/7EDuASGpC8Ze8zc3Qj/Q0IB6rsL2IPE+/8/HUee5M 4nuQ== X-Gm-Message-State: AOAM531ss1HFKWD9E25gKEll2hIqoz1W370jifRqitssNoBhNxCdAJtu SDD9ifr1Tb/3GVOl1+xBzOCdbEizxmILpWNw X-Google-Smtp-Source: ABdhPJxkWvXBtgDioxVSNhRmKs3vBOz1Cr9U7O3CYfI1r/ne2O/lwhCIIKNPbW8M3+dWXq4pScucXQ== X-Received: by 2002:a5d:5982:0:b0:203:812d:f0fe with SMTP id n2-20020a5d5982000000b00203812df0femr18315511wri.520.1647298137722; Mon, 14 Mar 2022 15:48:57 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:57 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 19/33] python3-semantic-version: move from meta-python Date: Mon, 14 Mar 2022 22:48:23 +0000 Message-Id: <20220314224837.834776-19-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163185 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-semantic-version_2.9.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb new file mode 100644 index 00000000000..ee635871bf5 --- /dev/null +++ b/meta/recipes-devtools/python/python3-semantic-version_2.9.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "A library implementing the 'SemVer' scheme." +DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)" +HOMEPAGE = "https://github.com/rbarrois/python-semanticversion" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2" + +SRC_URI[sha256sum] = "abf54873553e5e07a6fd4d5f653b781f5ae41297a493666b59dcf214006a12b2" + +PYPI_PACKAGE = "semantic_version" +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 14 22:48:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5226 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 3CD61C433F5 for ; Mon, 14 Mar 2022 22:49:01 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web08.3436.1647298140212192747 for ; Mon, 14 Mar 2022 15:49:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=GZpbgadY; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.49, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f49.google.com with SMTP id r64so2475593wmr.4 for ; Mon, 14 Mar 2022 15:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x47WnRFx2V285VDpGh3fab/yjp9xD0nrcW4jPTD952g=; b=GZpbgadY2UGpTZSqi82jhXDbDjz6Ry/uREeAxsqd6gzyrHdQU2XI/z39MphZsVyfny +geWmsonzlVacGvszXBfGQo0OdRBQgD6G6mOEXHgitfCj5QVY84F3l6p1isziF1FvSTH hAR7laxxh15kOn1ZqHUlFPUbSOrH0A7x2H5lI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=x47WnRFx2V285VDpGh3fab/yjp9xD0nrcW4jPTD952g=; b=lDQzp9hP8dG3xXhu/qi1TJ7PuGIJ7r0FPIFAe8Bj45evmy2vvP/aX9Xem/duWgiASX +gkzFQPpURzzybQwKqUhy5KkTqMl1DrcMqrTV0v80GtwQSNrH3xijB8qzgj0ThqeiVFV ffYHl6P+e5eqNyeAFCE8p33WHFKx34Z21UjqIsMSMooomQWzWMbl3WKLEVQErQ4KWXx7 pxeptOGi8cQyer11gRf89aTNsCIrRB5DaXeLZ4EpmfN2O8V/enyWOAru2UsA2DyuA1UB m8yj5DEYoHIsik/i3p/IgspWWmLw2I52hRBUIh9ehxza68DRU7OCwhKSQcwen0Kh5ZGG dF5A== X-Gm-Message-State: AOAM531zTtc/aOyDf/VR1YiQ8lZz0ced1W/4Qf2qZ3Rlu2edXIimsaKk u4Va3Yb2vszB8h3fzx+uBl2bN0tWD+AF7Vbi X-Google-Smtp-Source: ABdhPJyhV1VuYCkQnYKsKnmRs7eQ2Y1JpfQYWBt7S+ggzEMe+HqYkcAOiA5Xy9VSvWb3IUBv76CXVg== X-Received: by 2002:a7b:c0d8:0:b0:389:a221:5910 with SMTP id s24-20020a7bc0d8000000b00389a2215910mr962230wmh.125.1647298138481; Mon, 14 Mar 2022 15:48:58 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:58 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 20/33] python3-pycparser: move from meta-python Date: Mon, 14 Mar 2022 22:48:24 +0000 Message-Id: <20220314224837.834776-20-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:01 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163186 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-pycparser_2.21.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pycparser_2.21.bb diff --git a/meta/recipes-devtools/python/python3-pycparser_2.21.bb b/meta/recipes-devtools/python/python3-pycparser_2.21.bb new file mode 100644 index 00000000000..53b7367903e --- /dev/null +++ b/meta/recipes-devtools/python/python3-pycparser_2.21.bb @@ -0,0 +1,21 @@ +SUMMARY = "Parser of the C language, written in pure Python" +HOMEPAGE = "https://github.com/eliben/pycparser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2c28cdeabcb88f5843d934381b4b4fea" + +SRC_URI[sha256sum] = "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-ply \ + ${PYTHON_PN}-pprint \ + " + +RSUGGESTS:${PN}:class-target += "\ + cpp \ + cpp-symlinks \ + " From patchwork Mon Mar 14 22:48:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5227 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 3C7B7C433EF for ; Mon, 14 Mar 2022 22:49:02 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web10.3516.1647298141432280776 for ; Mon, 14 Mar 2022 15:49:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=X4xVWgUq; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.53, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f53.google.com with SMTP id j17so26406842wrc.0 for ; Mon, 14 Mar 2022 15:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=91HR77Bpkeu4DxKrhdBTD4cekl+mNPeoyMrPkCuW+ZA=; b=X4xVWgUqWHVI22FSQPtIIZrmhZtSi7p/bFSCPFwJ2luf6uOpAxOnq/uokFX640rt4z fp5+XDbbnEwhoDgQtzzdp7P+meyij4m+23TIBC+c0gc2VFBFNop62YPmeRWxbqUecsAt loCcU7b5iaV9GAV8kvtztM2bUqzuVcnZpTsVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=91HR77Bpkeu4DxKrhdBTD4cekl+mNPeoyMrPkCuW+ZA=; b=GYQ05cxKjqxBtzlFG1SL02qUZnnHUlIm2jMY+7yd5YBOjs5D/+Fwvm8CmcQZaDflBF 1/qFlcT2fDE6d7ivAobjp3JLnP0eqiubd62Q2gXx9VTAh2D2CunZVQdFRZIbeQcLPDze lc0DrVOcohULjJwncHDlNx3yD+AGmp+N+l5+1aeC+/Ld2bZillD6rvSuivkOqHQoVslj kVPKd5yc2dLwgb8cDFhaLYt8asbDbKDLB/9713VstwAxbrKRMrAgSO0oQPrbaZ2aHDCZ a1pHGpH2aXnn4YM5+fQejuiNBVpjuMEaNPeh1UREqAJfpqN7QKyvS8CsOv0N/yk8lJab 5HGg== X-Gm-Message-State: AOAM530yIdNzs/o1rzYyEG7Az47ZEbw7uCgFWmo0+ddq976olutEdRmj UoAVnampbug+Ee618WGWYkGaL/0wqKwiZZpD X-Google-Smtp-Source: ABdhPJwRWIKYCDVmRC6lQPWgHu+oTqNe3grugO66NitpqW0yaYplu/dVErOOO3GITzItnOFXp8WZ3A== X-Received: by 2002:a5d:4e02:0:b0:1f1:e6fb:543 with SMTP id p2-20020a5d4e02000000b001f1e6fb0543mr17600819wrt.240.1647298139729; Mon, 14 Mar 2022 15:48:59 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:48:58 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 21/33] python3-ply: move from meta-python Date: Mon, 14 Mar 2022 22:48:25 +0000 Message-Id: <20220314224837.834776-21-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163187 From: Tim Orling Dependency for python3-cryptography Signed-off-by: Tim Orling --- .../python/python3-ply_3.11.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-ply_3.11.bb diff --git a/meta/recipes-devtools/python/python3-ply_3.11.bb b/meta/recipes-devtools/python/python3-ply_3.11.bb new file mode 100644 index 00000000000..99c037bb734 --- /dev/null +++ b/meta/recipes-devtools/python/python3-ply_3.11.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python Lex and Yacc" +DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" +HOMEPAGE = "https://pypi.python.org/pypi/ply" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c" + +SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8" +SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native" From patchwork Mon Mar 14 22:48:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5228 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 41D31C433EF for ; Mon, 14 Mar 2022 22:49:04 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web08.3440.1647298143160473348 for ; Mon, 14 Mar 2022 15:49:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=FbCVM8Tx; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f51.google.com with SMTP id p184-20020a1c29c1000000b0037f76d8b484so411278wmp.5 for ; Mon, 14 Mar 2022 15:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3TXMpQadogQeZDkK43Meg1WLN8aILQ6AL+3NswAzE5E=; b=FbCVM8Tx7miCW8H5lSNS32kTy44ievBHZiKTwM99EZ2zYV+44U1ERrAsI39Bj7jOxl b6/A2q8AmIlTuD3fimtxfiDH6JamMUIyI5b/L/xnrG068NZuOCUCeg/rvEbZVFVwqUwE YCW/QKdVEsRa/Tm5jeiwT+Bw10PZGLoMVw4TM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3TXMpQadogQeZDkK43Meg1WLN8aILQ6AL+3NswAzE5E=; b=7m3ZI5YaL/ezP4bqHlkmlJPxxZbALyXo8itmzs3cPsar6ZGIfNnvJwo+B4XGL07S+l czPZwEIFdFxise/i47CfIFPHgWc19nmzBkl0bKYTvW6UkKh6TcWZg3Q+KVHOK+8LNVtw gj0EbpJwWWtkvXXxVM+yaBNpHuFR0317r8JSjoTlIcM1t59YDmLzVaDnjJkoQMbvEhCD auvJwqRVGbhey1jzLKXcGi2WnLU+3lO8kOOyT0Zn0CDc0hgO9YIUKaGGKa2c1f2A9DnS NkMr8koTut+8PGPcZCR5N4RINrkUdzPwDGl+t5RNmw9YOuzvzB5KsMAcY7zk+gvPFDoZ T+Qw== X-Gm-Message-State: AOAM531wAfP7rv5614oetnWNF5WEMDARMqUCOgwHSG59QeLTdKBXYfve Xi0Xv37CXZoh6inYDY+d+GMs2raskHcAc19p X-Google-Smtp-Source: ABdhPJxJMdu/XeIk27I0j4eI1zUV3J5RLNiIE6xwJoYb4qG+7WN8SiSbd/fjlwoZbs702XGzXsxApA== X-Received: by 2002:a1c:6a01:0:b0:37f:1b18:6b17 with SMTP id f1-20020a1c6a01000000b0037f1b186b17mr984821wmc.146.1647298141465; Mon, 14 Mar 2022 15:49:01 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:00 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 22/33] maintainers.inc: add python3-crypto and friends Date: Mon, 14 Mar 2022 22:48:26 +0000 Message-Id: <20220314224837.834776-22-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163188 From: Tim Orling Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 3fceb6701bb..f149db81cde 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -587,8 +587,13 @@ RECIPE_MAINTAINER:pn-pulseaudio-client-conf-sato = "Unassigned " RECIPE_MAINTAINER:pn-python3-toml = "Tim Orling " RECIPE_MAINTAINER:pn-python3-tomli = "Tim Orling " +RECIPE_MAINTAINER:pn-python3-typing-extensions = "Tim Orling " RECIPE_MAINTAINER:pn-python3-typogrify = "Alexander Kanavin " RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield " RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling " From patchwork Mon Mar 14 22:48:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5229 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 3BC02C433F5 for ; Mon, 14 Mar 2022 22:49:05 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web08.3441.1647298143861992740 for ; Mon, 14 Mar 2022 15:49:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=M5HvYJCM; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.54, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f54.google.com with SMTP id r64so2475643wmr.4 for ; Mon, 14 Mar 2022 15:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=i24LLvFQyXs4uy8AhoQDo8+uRnFpsI0anFM9rMLq4SI=; b=M5HvYJCMb2WZYgVi+uR0qZQZMKfLmzTtk4GIcveAvAh1FWJU7/BQ9NQPo5DSeEtXM9 lvA67FH+P6x7s5iLx1btAu9JW+L8XtSDdNprA4fP/o6NjvUOfxDwIhihk2CXmQKo29ft WPmh6UsanTaJ5DHkxccuLL5K9wrhKkZoa/8FM= 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=i24LLvFQyXs4uy8AhoQDo8+uRnFpsI0anFM9rMLq4SI=; b=CibQAkN2583m4t6xP2NifP9qksY5y1aprCYUHgxvK8zCt2rruRAcyrZfAOUkiss1TY jwAijdIR6OIW1XRpOVrNQBpHkTNC5/unotowko3zcxrnNctx+0qdYRg7Xx7Ec7pUXQnP pJsv3Z3TcHYEcV23uM3K2n3dx8Qr/Hc7HeYTWea00EmOahLL/torwols6WniTortPzLZ Av0ytdxoeNAmAY26Ue6BQ+SwDDbYTzcQRczgN9dnfSITvBNU0BnlGf6SV5WU/CwewROM 8p9dC2QwTCyZ05kVyHbPMmIYOD9qUL9sFJ7afNrz3DzRRvBpwf2d4wl3S/6XQXOiBtGH qKqA== X-Gm-Message-State: AOAM533fPlKIqYZc8XWK+le85ODeq3tZOfg2jCpIBj7olHHqSy1RLjb8 qAomARL8KaLKtunInNMawGAO2V3saJyRYyID X-Google-Smtp-Source: ABdhPJziLhDSVe2VL8zcNwQ0f+3Rvs117+XFAQEHLbM1G6CW6oIZoUjT1XWGD/baK/9y9yI3O/bMoQ== X-Received: by 2002:a1c:f30b:0:b0:380:e444:86b9 with SMTP id q11-20020a1cf30b000000b00380e44486b9mr1001959wmq.81.1647298142214; Mon, 14 Mar 2022 15:49:02 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:01 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 23/33] py3o: Rename to python_py3o Date: Mon, 14 Mar 2022 22:48:27 +0000 Message-Id: <20220314224837.834776-23-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163189 Signed-off-by: Richard Purdie --- meta/classes/{pyo3.bbclass => python_pyo3.bbclass} | 2 +- meta/classes/setuptools3_rust.bbclass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/classes/{pyo3.bbclass => python_pyo3.bbclass} (96%) diff --git a/meta/classes/pyo3.bbclass b/meta/classes/python_pyo3.bbclass similarity index 96% rename from meta/classes/pyo3.bbclass rename to meta/classes/python_pyo3.bbclass index 6ce21329c2e..10cc3a06457 100644 --- a/meta/classes/pyo3.bbclass +++ b/meta/classes/python_pyo3.bbclass @@ -13,7 +13,7 @@ export RUSTFLAGS export PYO3_PYTHON="${PYTHON}" export PYO3_CONFIG_FILE="${WORKDIR}/pyo3.config" -pyo3_do_configure () { +python_pyo3_do_configure () { cat > ${WORKDIR}/pyo3.config << EOF implementation=CPython version=${PYTHON_BASEVERSION} diff --git a/meta/classes/setuptools3_rust.bbclass b/meta/classes/setuptools3_rust.bbclass index fb11f08f89c..fa8508fbec6 100644 --- a/meta/classes/setuptools3_rust.bbclass +++ b/meta/classes/setuptools3_rust.bbclass @@ -1,4 +1,4 @@ -inherit pyo3 setuptools3 +inherit python_pyo3 setuptools3 DEPENDS += "python3-setuptools-rust-native" From patchwork Mon Mar 14 22:48:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5230 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 3BEE2C433EF for ; Mon, 14 Mar 2022 22:49:06 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web10.3518.1647298145359953718 for ; Mon, 14 Mar 2022 15:49:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=h6/GHUR6; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f51.google.com with SMTP id bg31-20020a05600c3c9f00b00381590dbb33so416024wmb.3 for ; Mon, 14 Mar 2022 15:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Uh6k7oMI++7rqlq4Jy3u1CTTd0PNTkmGowoFnVFngFA=; b=h6/GHUR6MmcsfCrtfxMUyFcuiqJDPoq5wqpVcRc2WjL9S6oNOq32xlwtd1bTdQM/pr UaqPm/Kq9mpzDLvl3sEnjV+nDq0b4E86SyWpKHGcF04HZ7Gu8cKvjWUc3G4BipOPnpWP qIeGvi4+DezFM7tQW+iimbTSmxeHTZS6piciE= 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=Uh6k7oMI++7rqlq4Jy3u1CTTd0PNTkmGowoFnVFngFA=; b=IRb2Ww/4zAa0uVy8IB8q1nDNiH9+2MKOTwZ2RukYPeZgQK4J7GW6u2zrNVRtvKoFYj BIGrmAfKk58jtKhFUxHoRPtp6q91oiBAWb6e3ALxEY/BgIgh/qNiWQTuALyF6sALxuBJ AcoGoo0hFwDE9TD9mkb0eFfIXqG54t7mg2zhJWs+SacEZvC3uFHTHgZyc58ejQDKP7XK VwolGGtBGxMZiRtqz+PJcYFF3rCM4ms26zK4CTy1SQJm24meaXqHgrVqdcvRAHyOuYVJ u8SUT6hROLGplVksv6o9ql0OekjRI9kkf/u0LH2aFLz12V2zvStOVTtDiIHzWmkWWsza rReQ== X-Gm-Message-State: AOAM530YQTxvzGz768WTurRF8As8cqU/Yltztwsj0Tcv6rb1Fpgmm6zj RNdbt/hESNOqnBJDy4LxlrzxZK/92IALOTek X-Google-Smtp-Source: ABdhPJxZpgzglK4IG2nFcImlq0HhHZ8ZMoxSslxdsKWtXwPl2c+p2TnViuDm6PlSLEmpD4OFZdlFnQ== X-Received: by 2002:a05:600c:3b9f:b0:389:cf43:da5c with SMTP id n31-20020a05600c3b9f00b00389cf43da5cmr969349wms.198.1647298143606; Mon, 14 Mar 2022 15:49:03 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:02 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 24/33] setuptools3_rust: Rename to python_setuptools3_rust Date: Mon, 14 Mar 2022 22:48:28 +0000 Message-Id: <20220314224837.834776-24-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163190 Signed-off-by: Richard Purdie --- ...tuptools3_rust.bbclass => python_setuptools3_rust.bbclass} | 4 ++-- meta/recipes-devtools/python/python3-cryptography_36.0.1.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/classes/{setuptools3_rust.bbclass => python_setuptools3_rust.bbclass} (70%) diff --git a/meta/classes/setuptools3_rust.bbclass b/meta/classes/python_setuptools3_rust.bbclass similarity index 70% rename from meta/classes/setuptools3_rust.bbclass rename to meta/classes/python_setuptools3_rust.bbclass index fa8508fbec6..f12e5d0cbd2 100644 --- a/meta/classes/setuptools3_rust.bbclass +++ b/meta/classes/python_setuptools3_rust.bbclass @@ -2,8 +2,8 @@ inherit python_pyo3 setuptools3 DEPENDS += "python3-setuptools-rust-native" -setuptools3_rust_do_configure() { - pyo3_do_configure +python_setuptools3_rust_do_configure() { + python_pyo3_do_configure cargo_common_do_configure setuptools3_do_configure } diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb index 00791dce2de..11466ecece6 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -18,7 +18,7 @@ SRC_URI += " \ file://0002-Cargo.toml-edition-2018-2021.patch \ " -inherit pypi setuptools3_rust +inherit pypi python_setuptools3_rust PIP_INSTALL_DIST_PATH = "${S}/dist" From patchwork Mon Mar 14 22:48:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5231 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 42466C433F5 for ; Mon, 14 Mar 2022 22:49:07 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.3256.1647298146298376714 for ; Mon, 14 Mar 2022 15:49:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=JhpKT0+8; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.47, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f47.google.com with SMTP id 123-20020a1c1981000000b0038b3616a71aso413511wmz.4 for ; Mon, 14 Mar 2022 15:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=N87j8zTwbm3wVjvnL6EXGeeApPR2kcKGofzdWMriHzw=; b=JhpKT0+8xGZ9U1HjL8BqIrqwYKf9RzOienD0EHazJsdKkW0couCnXYnjhNyTgHskax 4KPPq0nA58HIVr4H2ZVKrVWNrHKbB8ejzdrxe7vL84s/g7mNnSUMvYFANEDZsISXlJX4 T74VHePOMlV6inulqBuNm/r34JNIgklgxTQ8w= 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=N87j8zTwbm3wVjvnL6EXGeeApPR2kcKGofzdWMriHzw=; b=A0918U6tJwAa1CXrBaDZ+LVSpFISS2MOQXpEZu3r6yo2U74u+rxCgHge9O/Gw4QizP ZsDfKZri5OvQUPdMsxgwwzvahTTpwVZAL1FOkzMySw6ILRBOw4N19NLgB3PQ0fGiIcpd AI06qAOHs+VNLQmOBtWKnyv5g+o3aEFmLYrR3n1/OMV9tZRek/7jg65C4EDNckX4P6Qm Rc40XIEZ4mzVJrFOBwTu02H28PUiiuI/qSTI5s8Y54EUadWYAKqGx6BZftUc7uknTOFt 7ramp6Ik8xVKppOn+M3ZC5zneGmHEqid4a93FdrLh+n/2vW2fiABrT8DS6S3uAkvMakT Vx5Q== X-Gm-Message-State: AOAM531krV4gNBnVQQklCosV4Gu5gxlKkzlMgethtXYT4E0JBIJW9+sl Q/Jeiy6sosRjjKRaPidH/FsnJPSifHUaZiHq X-Google-Smtp-Source: ABdhPJw/Sry8x+BV4xEMG69sOrEsb0/mr7geexU3VnxglmOt8MYHBYsXeViIZR+qmf6LhfhFRboDuQ== X-Received: by 2002:a05:600c:1d1b:b0:389:d0a5:c7c4 with SMTP id l27-20020a05600c1d1b00b00389d0a5c7c4mr1027709wms.88.1647298144593; Mon, 14 Mar 2022 15:49:04 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:04 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 25/33] poetry_core: Rename to python_poetry_core Date: Mon, 14 Mar 2022 22:48:29 +0000 Message-Id: <20220314224837.834776-25-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163191 Signed-off-by: Richard Purdie --- .../{poetry_core.bbclass => python_poetry_core.bbclass} | 4 ++-- meta/recipes-devtools/python/python3-iso8601_1.0.2.bb | 2 +- meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename meta/classes/{poetry_core.bbclass => python_poetry_core.bbclass} (82%) diff --git a/meta/classes/poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass similarity index 82% rename from meta/classes/poetry_core.bbclass rename to meta/classes/python_poetry_core.bbclass index fb37c78c782..a2086b11b6c 100644 --- a/meta/classes/poetry_core.bbclass +++ b/meta/classes/python_poetry_core.bbclass @@ -2,12 +2,12 @@ inherit pip_install_wheel python3native setuptools3-base DEPENDS += "python3-poetry-core-native" -poetry_core_do_configure () { +python_poetry_core_do_configure () { : } # TODO: ideally this uses pypa/build -poetry_core_do_compile () { +python_poetry_core_do_compile () { nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')" } do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" diff --git a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb index aabc47d69b9..93af233d296 100644 --- a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb +++ b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844" SRC_URI[sha256sum] = "27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1" -inherit pypi poetry_core +inherit pypi python_poetry_core RDEPENDS:${PN} += "\ ${PYTHON_PN}-datetime \ diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb index 22d7076d01b..f3e9b055218 100644 --- a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb +++ b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb @@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=104d5c3c653aeededf4076773aa4c236 \ SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118" -inherit poetry_core pypi +inherit python_poetry_core pypi RDEPENDS:${PN}:append:class-target = "\ python3-compression \ From patchwork Mon Mar 14 22:48:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5232 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 3C162C433FE for ; Mon, 14 Mar 2022 22:49:08 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web11.3257.1647298147139595440 for ; Mon, 14 Mar 2022 15:49:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=SlYqRzpn; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.49, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f49.google.com with SMTP id k24so26311006wrd.7 for ; Mon, 14 Mar 2022 15:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UNtsE29kInBehrtQxO5SM9wtZ76gnkejBZoU+k2mWtI=; b=SlYqRzpnsS0cy4oQ7IlXiJgKNMxzQpsKxVgeRj9YuH8SmxCqcDhF4MruTK/C3Tmyyy 4dc+JJkiqL1yqWSPXXfOKSkpf+f0vu6Tn/6IugxiOkq+jnSWZF6L3CiI53iXx3KXQKgh 48rAc2cWqjizWFAx2i1bpY6q09Aa2BgUocO8w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UNtsE29kInBehrtQxO5SM9wtZ76gnkejBZoU+k2mWtI=; b=BNh/BoYtbHbpScJY/Ljasrcwp8FnNFywsi8Xx1b17qQiZdLD9CDiFt4vusXN/F6+Bb wdN5gG3R1Gacltmz+eS/HT9eGYqBLjXcHg5cEdlZaahSlToU03qql2SHuYlqXgRd7R6S JhgzuDj/ccE6eYVQQdIXYcSW+b6NI7bHp+0HH/XkeKmo1TTDs9Evah/mocap9g3QiKeN JyYrS5a4fHqh0JhQHskL5U6zcKEIXkD7FiU/yWKPYeSlGsh4o1xwT282WjDVU6R1uKRR OoPbrs57aXVfuFaaUTt2Q2NuvX49ylo7qTMGZIiz3g6niIiUC0DW0Eah5GKISdSJJSkP nyjQ== X-Gm-Message-State: AOAM5327LaSE+V2lki5zjHMZNv3+vUq9VTszllk2OW7hUlWUJG/yjLW4 HMuJOoYw5UCnoON4hHErvEieKz8RwaquI/sh X-Google-Smtp-Source: ABdhPJxemqcMDTrVCEo7GEY64O0TGmRc+y/B4Ev2cRjKxksfvMdsDDbD6D3Ux3RmPG8AStKcU2Av2Q== X-Received: by 2002:a5d:62cd:0:b0:1f0:23d2:b38c with SMTP id o13-20020a5d62cd000000b001f023d2b38cmr18752457wrv.82.1647298145381; Mon, 14 Mar 2022 15:49:05 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:04 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Ross Burton , Ross Burton Subject: [PATCH 26/33] poetry_core: update for renamed class pip_install_wheel to python_pep517 Date: Mon, 14 Mar 2022 22:48:30 +0000 Message-Id: <20220314224837.834776-26-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163192 From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/python_poetry_core.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/python_poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass index a2086b11b6c..47b2fe46d5f 100644 --- a/meta/classes/python_poetry_core.bbclass +++ b/meta/classes/python_poetry_core.bbclass @@ -1,4 +1,4 @@ -inherit pip_install_wheel python3native setuptools3-base +inherit python_pep517 python3native setuptools3-base DEPENDS += "python3-poetry-core-native" @@ -8,8 +8,8 @@ python_poetry_core_do_configure () { # TODO: ideally this uses pypa/build python_poetry_core_do_compile () { - nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')" + nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')" } -do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" +do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" EXPORT_FUNCTIONS do_configure do_compile From patchwork Mon Mar 14 22:48:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5233 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 3C380C433EF for ; Mon, 14 Mar 2022 22:49:09 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web08.3442.1647298148179541362 for ; Mon, 14 Mar 2022 15:49:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=hN08d+Yr; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.51, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f51.google.com with SMTP id r65so10211976wma.2 for ; Mon, 14 Mar 2022 15:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lBCdBRnBaf6R3H2ZnnQ/XGSAOKWjtoO5rtQdYhenUFg=; b=hN08d+YrSuHskWpeD2Ul6dvXG4SDSWo8q2Mo2Dhdvd6atjFq9jbAZpk6zutcApWe0k KxrsxpJURzjzMq0iI2zX59fzZ1r1ACeA49dNlPTeJ0r+RbObN4imqpKlB4ukNhpBhLn4 yHSuNlkUooJwikCBgM7zhsazcNdLVCRQ8IbZU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lBCdBRnBaf6R3H2ZnnQ/XGSAOKWjtoO5rtQdYhenUFg=; b=24If3bqEVBoMn/pI9tC/4KOGYK4F4Epk8JM0N7LK1VybLOTrtdoY1LPdYuJWpIwaMZ 7dCiqQXLxIk6EwrtBaAeER2Gaaa/oGyw4vUm7jklaV/lNbZUgGZ3z9yAxxcLukloHiWN W2NnY9pN+RAwXk/1bmKc+SQePJEDEgW3HIi3uerYauLI1HlEg9cn12zVjO2Wx0L7y9l8 ndPGa+SVOQJbTiLWoim8gY5u5ev82Sa/r2ZrQ5fahwRek6Pb43mtsrVLTlE2lUZzHOq9 23Xcyn4/wIT27vhvFiccLZGQxsp9LI2dAGDrBzdSDqImvlJrHQ+3XwwFlpMoNBISQLP7 PMeA== X-Gm-Message-State: AOAM533nNvTmaRODl1eHkYF1owFleh4amBCf3vdSzwQSe7G5KAsOVkkG ums7dFSWXnxLW0vmLWXutlNhyJ+gnQAY7R2M X-Google-Smtp-Source: ABdhPJyotOx7n9Fg6ZfR64OtLPLJNay1hJLcXVqIKMG7l7lNsUEqubJHs0Fic9FL45Hz/7HrW+1rPA== X-Received: by 2002:a05:600c:35ce:b0:389:ec57:1d7f with SMTP id r14-20020a05600c35ce00b00389ec571d7fmr949488wmq.149.1647298146439; Mon, 14 Mar 2022 15:49:06 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:06 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 27/33] ptest-packagelists.inc: add python3-cryptography Date: Mon, 14 Mar 2022 22:48:31 +0000 Message-Id: <20220314224837.834776-27-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163193 From: Tim Orling The python3-cryptography recipe has a lot of tests and uses a large amount of memory. It is slow (> 30 seconds). Signed-off-by: Tim Orling --- meta/conf/distro/include/ptest-packagelists.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index c503a6a5949..af8a57bec4f 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -86,6 +86,7 @@ PTESTS_SLOW = "\ openssh-ptest \ openssl-ptest \ perl-ptest \ + python3-cryptography-ptest \ python3-ptest \ strace-ptest \ tcl-ptest \ From patchwork Mon Mar 14 22:48:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5234 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 3CD97C433F5 for ; Mon, 14 Mar 2022 22:49:10 +0000 (UTC) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by mx.groups.io with SMTP id smtpd.web09.3349.1647298149077521508 for ; Mon, 14 Mar 2022 15:49:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=PjT4sR+y; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.46, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f46.google.com with SMTP id n31-20020a05600c3b9f00b003898fc06f1eso426611wms.1 for ; Mon, 14 Mar 2022 15:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bU/qR15oF5u98IgxxuwobtpggJCWeUd9QBrkf7mT7AI=; b=PjT4sR+yMpU+yx2nZXchPN4yGMsx4uEEvGlI4C1IDYKQEHSMuHiH0jYaQFWtBGGWzz HC9cYr3FtXFHVS0pkZ0gTqgmilfCLjkTcZMbp/LA3saWa1904oOQC74Pt8lg9asHOaE2 k8g5bKr5HxN7b8A/KkOKfZULbLtOLw9M0u1TU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bU/qR15oF5u98IgxxuwobtpggJCWeUd9QBrkf7mT7AI=; b=qS2r9XIG9yRpvok+EaMqK+DZsz7ks6TxD3dNR2TF5sTxfYE4v7C9Mm697Rjsw063cT K//yAIQ+9Azr+C89i2QniefkU/KCbGnN+xpVF3QJkXOqeKhxhPIjLfRTxKpCBvUhTOPs q1DzZ4f6JvTVXo+qxAGM7/oPRrzGVuehfq+3tN0GiCctSs0vfNpW4vGPN2W49yCn46OK sNfTLwWT8Qunu9LWgKbTE+T5KzxFfXx6+hyUU9caho8VpbmXq+JQsrhix2URTghdx0No TMVCZnQFc8eGT6SQ3uoeLY9oPkePBfiQjA0hdYtFGgaYf179MhBbl0skqTACvLKZkH5M z0pA== X-Gm-Message-State: AOAM532zgvjddFSJWXC1SQmXa8O22oWCQYqb1Hdw/ur1d/KXxWrd0RB0 xiXJizaDWe217CT5PrmzNvtosf5P8mqzvA8H X-Google-Smtp-Source: ABdhPJyT03xHalE6pWFNsVG9W8TWrAkOnjFO1XXm/duV4dFNKhR+oaOENYTte1Da/f2K0w8MTj2NFg== X-Received: by 2002:a05:600c:4e94:b0:389:e8f5:642f with SMTP id f20-20020a05600c4e9400b00389e8f5642fmr992049wmq.96.1647298147424; Mon, 14 Mar 2022 15:49:07 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:07 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Tim Orling , Tim Orling Subject: [PATCH 28/33] ptest-packagelists: add python3-bcrypt and -pytz Date: Mon, 14 Mar 2022 22:48:32 +0000 Message-Id: <20220314224837.834776-28-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163194 From: Tim Orling python3-bcrypt and python3-pytz both run in just a few seconds, so add them to the fast list. Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- meta/conf/distro/include/ptest-packagelists.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index af8a57bec4f..715a8f6f70b 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -49,12 +49,14 @@ PTESTS_FAST = "\ pango-ptest \ parted-ptest \ python3-atomicwrites-ptest \ + python3-bcrypt-ptest \ python3-hypothesis-ptest \ python3-jinja2-ptest \ python3-jsonpointer-ptest \ python3-markupsafe-ptest \ python3-more-itertools-ptest \ python3-pluggy-ptest \ + python3-pytz-ptest \ python3-wcwidth-ptest \ python3-webcolors-ptest \ qemu-ptest \ From patchwork Mon Mar 14 22:48:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5235 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 42091C433EF for ; Mon, 14 Mar 2022 22:49:11 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.web12.3412.1647298149959718946 for ; Mon, 14 Mar 2022 15:49:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=YhzTSCsO; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.47, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f47.google.com with SMTP id q14so26334919wrc.4 for ; Mon, 14 Mar 2022 15:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y7qs4B43dgSzMLub1bZGEGnbIZKMxbiacE0uvLY/r6E=; b=YhzTSCsOXxc6CJi5+nh82bbRIb7eDagr2BaGNY/PktdG0sEugMGphCcosWlbJkgkxw lLUPl/p4wqA2p20bdUQDwg/OtjjQJKIgecynvy7VejTtSloPc1JF4BZfZOmlr3+53PMs GfIt05JJs5R/Nkot1Gg0lW2Y63ZgNtplDrO/4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y7qs4B43dgSzMLub1bZGEGnbIZKMxbiacE0uvLY/r6E=; b=7ro6Vk2/t6atxO+4c0I1yCHqL0aCSCWZAKtzjjkZaJDr3V7CY0UjxP7tOBMo2HrGTT THrbXSlnatJzILjRRH2UQfppASkjJGb4iVzFMNtvHry4hum30JbhxmCpfxY1J5qB88ay zX1XXG5O1MbXe0WL9Ng7q5Q3DMW7JytvEDoYG0QFXMGPYL+qSHZ5iY2/M0RZiK9VcP2P da0ryzCjVGTC8n5U8YCk/Z1Kz/A0BPmZ6JUIpOW/VqJMZ5T60SuKyxkAidFyd/Ex8Qpp 5ugzL73KxDbapn3Qpv0iLnWU5UDwCksNOHkCYXwQkQdROw63MqUewjtypsdKCCaLSDR/ ma5Q== X-Gm-Message-State: AOAM533c7lshV4d4goWocBSzdF8TP70VypVJinYUzmcN5VHYcBIKqW+1 pX89aRY2KWyXO56ZKLnk45Mj/oUhfPpYdFBt X-Google-Smtp-Source: ABdhPJyldY18LxsxWUiLsFYEoWM3fl14q79uYfvEgeQGcN3wIgiFja+vz0R0srAMgu0Iu7L5S47DfA== X-Received: by 2002:adf:ef48:0:b0:1f0:47ba:d4e6 with SMTP id c8-20020adfef48000000b001f047bad4e6mr18942587wrp.438.1647298148143; Mon, 14 Mar 2022 15:49:08 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:07 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Ross Burton Subject: [PATCH 29/33] python3-cryptography: mark test_create_certificate_with_extensions as expected to fail Date: Mon, 14 Mar 2022 22:48:33 +0000 Message-Id: <20220314224837.834776-29-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163195 From: Ross Burton This test causes OpenSSL to leak some memory. Until this is resolved in OpenSSL, mark the test as expected-to-fail. Signed-off-by: Ross Burton --- .../skip-leaky-test.patch | 19 +++++++++++++++++++ .../python/python3-cryptography_36.0.1.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch diff --git a/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch new file mode 100644 index 00000000000..64248d57bd9 --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch @@ -0,0 +1,19 @@ +Mark as test as expected-failure, OpenSSL is leaking memory. + +xfail not skip so we can remove this when OpenSSL doesn't leak anymore. + +Upstream-Status: Inappropriate +Signed-off-by: Ross Burton + +diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py +index 835c9256..639f6ba2 100644 +--- a/tests/hazmat/backends/test_openssl_memleak.py ++++ b/tests/hazmat/backends/test_openssl_memleak.py +@@ -466,6 +466,7 @@ class TestOpenSSLMemoryLeaks: + ) + ) + ++ @pytest.mark.xfail(reason="has memory leaks") + def test_create_certificate_with_extensions(self): + assert_no_memory_leaks( + textwrap.dedent( diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb index 11466ecece6..69eeeb1e968 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -16,6 +16,7 @@ SRC_URI += " \ file://check-memfree.py \ file://0001-Cargo.toml-specify-pem-version.patch \ file://0002-Cargo.toml-edition-2018-2021.patch \ + file://skip-leaky-test.patch \ " inherit pypi python_setuptools3_rust From patchwork Mon Mar 14 22:48:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5236 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 50B93C433FE for ; Mon, 14 Mar 2022 22:49:12 +0000 (UTC) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.web11.3259.1647298151117156624 for ; Mon, 14 Mar 2022 15:49:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=a//Hu1s/; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.43, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f43.google.com with SMTP id i66so10173921wma.5 for ; Mon, 14 Mar 2022 15:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=/T6elUEfoumhIoFLTYTnqeQ7RABK57HBPnSCpEAU6n8=; b=a//Hu1s/+pd1B+3buquuTyt14LcvDxhGikTUYUJy450gPmWnEX8iGNhyishEKoU14l KpjGsXTDGaO+8QDzyKZUF3zMQltYKZDo9AL9pAnMvV43UiayzLD83rFayJ7z4xztv+bB EV1gsfGZO7QeQplXX4oLyNiMawG0a/fK7iCZk= 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=/T6elUEfoumhIoFLTYTnqeQ7RABK57HBPnSCpEAU6n8=; b=21tQqtvBoVc5hC4giyRnof9L1LQQHNyQnJahYMQxHLoqkO+pX5u3DVnegeKB0n88oI 2QWjKViR+mLJUqda8Ks2umTGfcyg4RM4b/cAmIxnU9+xbAnGQnDIOXABkDYO8TxXlnd3 XgC6nd/5of7s6B1I/Htms/cyLYRKdNw+URS+n2s8wuPqEAdXKcqcSLYQ6P0RO7BrSaTH /20bDJSTJq3MMwud28G9jKcGMsgn7o5zA8Xi3uLhaBxasjLHzv/rwvbz4KF4lEyt8XeE PnNu3qeevSGkoKpYkCeEJOekii9N/YZunN/WJG64hExvE0l05mFY8Qzk+boI2ugxkwB+ h3Vw== X-Gm-Message-State: AOAM530Ke7d9Ba9vctrytvAapeMsrToglXF5aBiXAKNrUhb0OoC3nWJu JLCZqTj1RK5zwibKisr8AI37YPid2ELdeN1H X-Google-Smtp-Source: ABdhPJyoXpYWgwySGJ5juJlZrh/CHHDZLlXnmRpK05dmT9RVHct5+VXuMtJi1+CXGOwxFC39jTI0NQ== X-Received: by 2002:a05:600c:22cd:b0:389:c99a:45a4 with SMTP id 13-20020a05600c22cd00b00389c99a45a4mr1021121wmg.38.1647298149359; Mon, 14 Mar 2022 15:49:09 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:08 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 30/33] python3-psutil/python3-bcrypt: Add missing HOMEPAGE Date: Mon, 14 Mar 2022 22:48:34 +0000 Message-Id: <20220314224837.834776-30-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163196 Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix selftest failures. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb | 1 + meta/recipes-devtools/python/python3-psutil_5.9.0.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb b/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb index 92a6a0d8c5f..731aff299ba 100644 --- a/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb +++ b/meta/recipes-devtools/python/python3-bcrypt_3.2.0.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Modern password hashing for your software and your servers." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" +HOMEPAGE = "https://pypi.org/project/bcrypt/" DEPENDS += "${PYTHON_PN}-cffi-native" diff --git a/meta/recipes-devtools/python/python3-psutil_5.9.0.bb b/meta/recipes-devtools/python/python3-psutil_5.9.0.bb index 3df0e5d003e..df304f01e69 100644 --- a/meta/recipes-devtools/python/python3-psutil_5.9.0.bb +++ b/meta/recipes-devtools/python/python3-psutil_5.9.0.bb @@ -1,6 +1,7 @@ SUMMARY = "A cross-platform process and system utilities module for Python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" +HOMEPAGE = "https://pypi.org/project/psutil/" SRC_URI[sha256sum] = "869842dbd66bb80c3217158e629d6fceaecc3a3166d3d1faee515b05dd26ca25" From patchwork Mon Mar 14 22:48:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5237 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 5B7F9C4332F for ; Mon, 14 Mar 2022 22:49:13 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web12.3414.1647298152538979877 for ; Mon, 14 Mar 2022 15:49:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=IPaP70Ry; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.44, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f44.google.com with SMTP id p9so26285319wra.12 for ; Mon, 14 Mar 2022 15:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+VBUDW7E1tz89aj0vwg5BqEpgo/fQi8IR5EKUJixDg8=; b=IPaP70RyQEUmtdmpRQHgKxlJx0+H2wRXLez2YO+iVYMnslxEVgbk+xz6EomOrlJsDW pLxQKSmW8jPIFmx9JQ6cQaCkZyIGZjft+27XlqOTdyqoY6/n/cDM9Wcij2YMwLpgOXPq 386ztyWCk1Wd0Z8a3H2IRwg8mtyv2Q/DmYq/4= 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=+VBUDW7E1tz89aj0vwg5BqEpgo/fQi8IR5EKUJixDg8=; b=PFQ2jWXzOmt6/JnhiUooy0kD2Bhwci4lMg7/ZQ/tXSXc6ICpIEfIhpYVdv2SyAAK/V J5iP3p3piTTy/4KPhwGCuKGzd72olx3CvxcZSEix9K7kz7s99GG4si+lAlO8QgzXEn8F WoEwkdQcP1oDqP9ttyChcCM4g6XQpgD9whyE9XRyUtVWRlsIA0GbYCraMvKaobYtOjOg znJGNTRFK6uKvipl/3h/wNZklqtbpHnBwz8mxXdSmjl3wsxgxqqEj7zpL4I3JzETl7BK e4HLgZ04yo5SKHRH+hA/yuAVaVNzKjnZqTZqaRjyqjVXBIbqZyzGKBM3vl3EZxLTrrl+ v5Bg== X-Gm-Message-State: AOAM533YrjCpYHmxwKB2XLB/CM+NWudAOZ29EPi4AHtGQ5tcajYWA+Yi /1TSpZF7u6AU+Yo66moJtf95Z11NrltoV5DO X-Google-Smtp-Source: ABdhPJwVcyh2Xmuji7Gwjnvgw31ab9/AwjwjlhMsHey++HgO+Z0YkIDokpBk5fg47HlWIahehXy2eQ== X-Received: by 2002:adf:ce03:0:b0:1f0:62b9:3c7a with SMTP id p3-20020adfce03000000b001f062b93c7amr18014706wrn.102.1647298150845; Mon, 14 Mar 2022 15:49:10 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:10 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 31/33] python3-cryptography: Add missing ptest tomli dependency Date: Mon, 14 Mar 2022 22:48:35 +0000 Message-Id: <20220314224837.834776-31-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163197 Add missing tomli runtime dependency to allow ptests to execute. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-cryptography_36.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb index 69eeeb1e968..09f940272a4 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -101,6 +101,7 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-pytest-subtests \ ${PYTHON_PN}-pytz \ + ${PYTHON_PN}-tomli \ " inherit ptest From patchwork Mon Mar 14 22:48:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5238 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 3D9F9C433FE for ; Mon, 14 Mar 2022 22:49:14 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web12.3415.1647298153282022044 for ; Mon, 14 Mar 2022 15:49:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ANyv0X8l; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.45, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f45.google.com with SMTP id h15so26293254wrc.6 for ; Mon, 14 Mar 2022 15:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TiDDEreCTFBihNvO1qfmOlf+sdik+9F76hdovF337nY=; b=ANyv0X8lblBMI7qb0aP5FjYxLSZ35JMxXxcZR6Y7irsSdwiDAsdYao2aCvzVO1tpSZ p7ZiHe+D2DE8olwl/s9/bPP81S/jaZzlQ+NOqjPwIPn6Oa9gPqvhU6QKKnuEdDqRIOw+ lszm/i3T35mWkvO3jTaBD7KbXoet3+UB1DjEo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TiDDEreCTFBihNvO1qfmOlf+sdik+9F76hdovF337nY=; b=x3BEGWpoMJD0lMrmWZ72aOUAAbsvHMijU7dbPsyg2WkRWTIo8Zsr8Q6ljpDi8IA6fb CdrVAFQKVBb5p3AcwEYCxzvXU0GBInZDW/3LnF8KfklFmLI4qDfjPqCmDNdgrrv+k7Bz Pic4LBD4eEY9XO7OvfaUquqENY87P42s4UlLdZrsu5/ApyXAUW5VrDQ8lSdMFNvPO1NG Meu9bqp++g3qUvwqgxAy4qmBdoYtt6GEcVFakDvdwMhpa5hzc0VWB3yEgJSbX/BDKO6Q ouS6n+72XWyXhf/TiFaEyCRtWJ+MWtEyE9d477TA+CVY3Vfc29nM1uZLxjuFSvE5783a Ir6g== X-Gm-Message-State: AOAM5330hjOFwrO2p1QxwaJeAG1pmI7qHS5Cf3hUuIc8P49Ho1yL6D55 iu+JFk3l2ee9Z98iMb4TsGMKuGTn+by6eq1W X-Google-Smtp-Source: ABdhPJz6CTzuiqOASBLuAa9j+6emC95fPX0k8ZFSplfPCXYh6M9fH4tGAKEzljaP60gsGu5PWxjywA== X-Received: by 2002:a05:6000:23a:b0:1f0:2359:9cd5 with SMTP id l26-20020a056000023a00b001f023599cd5mr17755340wrz.335.1647298151605; Mon, 14 Mar 2022 15:49:11 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:11 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Cc: Ross Burton Subject: [PATCH 32/33] python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH Date: Mon, 14 Mar 2022 22:48:36 +0000 Message-Id: <20220314224837.834776-32-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163198 From: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-cryptography_36.0.1.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb index 09f940272a4..e33eaa50834 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -21,8 +21,6 @@ SRC_URI += " \ inherit pypi python_setuptools3_rust -PIP_INSTALL_DIST_PATH = "${S}/dist" - DEPENDS += " \ ${PYTHON_PN}-asn1crypto-native \ ${PYTHON_PN}-cffi-native \ From patchwork Mon Mar 14 22:48:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 5239 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 3F0BCC433F5 for ; Mon, 14 Mar 2022 22:49:15 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web12.3416.1647298154522388247 for ; Mon, 14 Mar 2022 15:49:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=S7eHQq8E; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.50, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f50.google.com with SMTP id b19so3972387wrh.11 for ; Mon, 14 Mar 2022 15:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=wmBdGGUdV7G6PCkRVWmUh0MvD5asJrtookJpCPuACyY=; b=S7eHQq8EYaXkMee4XFH0GwwigkOPPSYkrmI+QNfwYklo5/CgGdA0P+xdsBlt/GZaRP Md3sI5yLO1CXHfIKYBif6TTC/pdc6Vvqh895TTBF9y6cLb4xpascv4gDMspao6xFz00I abRF3acIbodB8WFaXYHzyw6x7Qq8tXntLztLk= 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=wmBdGGUdV7G6PCkRVWmUh0MvD5asJrtookJpCPuACyY=; b=yGDwp+cTxdj+rD4UQ1Gu3vKk5Kwrbe0vxyUP/QT6ljAFk10VeWElacatCNyBCZq/FJ oCJoBQ/7Xi57ew27YlBC2jCWCnrMC/6md9DDNzB6DwTu5dNQNTy9StA1Yxs3LrDvfF5W HDkHlzu88i2cUOmq58zKHuKJmWzKP7qbrAtYFEpVdNvPvyB6e8XGAEkGWDNMsvv7WORV 5mnn3HRTZykQgzTA5UFvc1sQ4D3xj0QVTutDlYhzQoPVZUGkiFAbfwYpb/PdJU4pS8KX Z2FFbXwFyA/3mT7SzJb7qw9nB6xIIU5bRqnEV1cP0yUlUfvJsvxxselkpDK5L/rylqsq UCsQ== X-Gm-Message-State: AOAM533yxfLpEgiB4Hun1453ZrJqrm+tg+WXWP6/P5DKHZOSwURggS+9 iYDyYlKtL39Ia4pX7pY1cQx8HWqHwQC6mOn4 X-Google-Smtp-Source: ABdhPJwvlxFYb8pzQgvMJqXOMCOAMpFWXTFULxs36X3hk1q37acPLPkhYYu5yg/owb3V1pVk7CgrPQ== X-Received: by 2002:a05:6000:c6:b0:1f1:e5ee:e464 with SMTP id q6-20020a05600000c600b001f1e5eee464mr17870351wrx.130.1647298152784; Mon, 14 Mar 2022 15:49:12 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9098:b3d5:8fee:ea58]) by smtp.gmail.com with ESMTPSA id bg18-20020a05600c3c9200b0037c2ef07493sm788599wmb.3.2022.03.14.15.49.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 15:49:11 -0700 (PDT) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 33/33] python3-cryptography-vectors: Fix reproducibility Date: Mon, 14 Mar 2022 22:48:37 +0000 Message-Id: <20220314224837.834776-33-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> References: <20220314224837.834776-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 22:49:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/163199 We regenerate the pycache files and the checksums in the manifest are incorrect. Remove them to avoid this and ensure reproducibility. Signed-off-by: Richard Purdie --- .../python/python3-cryptography-vectors_36.0.1.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb index b9e6b811c37..da6718fb90c 100644 --- a/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography-vectors_36.0.1.bb @@ -19,6 +19,11 @@ DEPENDS += " \ ${PYTHON_PN}-cryptography \ " +do_install:append () { + # Remove the sha256 checksum lines for pycache files + sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i +} + BBCLASSEXTEND = "native nativesdk" UPSTREAM_CHECK_REGEX = ""