From patchwork Tue Nov 7 11:08:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 33996 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 3DF9CC4167B for ; Tue, 7 Nov 2023 11:09:03 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by mx.groups.io with SMTP id smtpd.web10.8050.1699355333176400348 for ; Tue, 07 Nov 2023 03:08:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=IB86V4rH; spf=pass (domain: konsulko.com, ip: 209.85.208.41, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5440f25dcc7so7212857a12.0 for ; Tue, 07 Nov 2023 03:08:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1699355331; x=1699960131; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UVvMPqeGIdip8dUHf+Kk0mbKpe8WcqtZdAEgDsxUP9s=; b=IB86V4rHBIRSQtOLt51MNRZd5BFp0uzf6WYULZuIeqTy4n3BFNCA4/vIBtNAxeiTHG PHYYEAjz1anP4TkPmWzfZBcvt+qw6t7PTp6oCyMT7onm7bfAzCyDxsHceVa7S3eF3hYJ apgAIWyLhiTV5JEFoiNQVDdO9Ev0oTB4o03Kg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699355331; x=1699960131; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UVvMPqeGIdip8dUHf+Kk0mbKpe8WcqtZdAEgDsxUP9s=; b=sL2B3AV3T6Ee7xJB+WKRsH/VH7SoTWKtX4fdW2TInSZmSVt+gxhHYgmB+CFGcwBffx bwMIpDkxtwnm/qSTV/LggCU8bsK89BR4qFk9JdtcEQY5peD0zGEFEKQx5/Xr9x7tkTCU TvrP2dl4GODqzuqyWtIN1dhV+PwORqBVWeM+5MqB8i6iKMENHe5KthQyQ1oVsrn7UMxU +LqjwTlm115SvUI+Uz6Pm+nNdVfVTLRjHkzplJM6H3vijFEppLFcA+qw7Xd/kUXc2JMJ vVFhaNSUmSpVG84AlysX8LPEKTB+uKzOY45RuAcXXQxTUtaj/eLLhWRxt6WK9B7m+LmZ kG7A== X-Gm-Message-State: AOJu0Yx/f+ZYVeT31OuuCdlgoFGbB1chwN2f/jKRU2wUVjKGauc2hKSZ prr3Spsa+yaZpKXP/ka/CH6oJn2HDKGRuPBqBWk= X-Google-Smtp-Source: AGHT+IEfb+H/Lvg8ElLrixIyvTFF93zWU68sfCBozZeHd5ZZQ+JC0YwHQ/Xj09cB13zyzgyTYwg1Uw== X-Received: by 2002:a50:bb2f:0:b0:542:f28e:2947 with SMTP id y44-20020a50bb2f000000b00542f28e2947mr20933358ede.26.1699355331164; Tue, 07 Nov 2023 03:08:51 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 29-20020a508e5d000000b0052ffc2e82f1sm5515763edx.4.2023.11.07.03.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 03:08:50 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 1/4] python3-wand: add recipe Date: Tue, 7 Nov 2023 13:08:45 +0200 Message-Id: <20231107110848.1610779-1-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Nov 2023 11:09:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106446 Add Wand, a ctypes-based simple MagickWand API binding for Python. Versions 0.6.13 and 0.6.12 provide: - Hotfix release to remove a "work-in-progress" pyproject.toml - Fixed behavior when passing zero to Image.chop() - Fixed libmagick yield MagickCore library on Linux - Fixed removing mask when passing None to Image.write_mask() method - Added new COMPOSITE_OPERATORS operators This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi --- .../python/python3-wand_0.6.13.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-wand_0.6.13.bb diff --git a/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb b/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb new file mode 100644 index 000000000..85e05ad97 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-wand_0.6.13.bb @@ -0,0 +1,15 @@ +SUMMARY = "Ctypes-based simple MagickWand API binding for Python" +HOMEPAGE = "https://docs.wand-py.org/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0bf19e5c00d047fee994ae332db3aab6" + +SRC_URI[sha256sum] = "f5013484eaf7a20eb22d1821aaefe60b50cc329722372b5f8565d46d4aaafcca" + +inherit pypi setuptools3 + +PYPI_PACKAGE="Wand" + +FILES:${PN}-doc += "${datadir}/README.rst" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue Nov 7 11:08:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 33999 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 4B92CC4167D for ; Tue, 7 Nov 2023 11:09:03 +0000 (UTC) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mx.groups.io with SMTP id smtpd.web11.7817.1699355334047465978 for ; Tue, 07 Nov 2023 03:08:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=GSE+szFI; spf=pass (domain: konsulko.com, ip: 209.85.208.51, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-53e70b0a218so9414937a12.2 for ; Tue, 07 Nov 2023 03:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1699355332; x=1699960132; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T9TqmIzRO2RkSh+cfBfCAP9ptE50sVSPO3N4emjI/dY=; b=GSE+szFI5GBEpyXa1SBqY6uP0im1jxel/ui5wFzHzzYEDm7LfPOsFFm2owAw+kM+bh jET0uLokxgBwjszh76RhuIJQrZUQRMuufIMlJQzYHWCRW+Uj8BHlJ/Ms5ukEAKG3zLEi zv9Aa2Ey1N1jdW+OvEpl4tX5/tb88z+XyjvII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699355332; x=1699960132; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T9TqmIzRO2RkSh+cfBfCAP9ptE50sVSPO3N4emjI/dY=; b=PoRTveETM7FoqlCef6eLXz6SfAjX3R0lmtJgGc3z0egPWW9acNhAj+C3ZgJjB5cFSL tNUsaUk73xgNVZaisYuLt5aldpBbpn9LU2Eb9L59Yl2H+Gu4P/uXtEq1AFR9Sj4HYUm6 cT9R/2BZc8Lk1u31cxbl7Z2OqB7+XqBn8Mu/zqSNXu8CyLirSG/TEk9PG/zTvgfVbdOO FXrfY35jkIxy1mCySsObdv55YjKJmmMrCOUk26Ds+0EvlNUzrj7cgQ241+2RwMYAnTiv mF+T0/GcP/fInXsJlXWRAppEJ33C2HOsiUeSeSKrNmRQ8FOg57r7DDSNIsvIYz0pdWwC 00+w== X-Gm-Message-State: AOJu0Yy7WquQE22Q8djSFL9nhyR+6orjDASMVoPfXwOOH8m529XSuVzo 7yoX2rqWB2ULjHgiPwCCEd6/nbeFL/6GtREXkhk= X-Google-Smtp-Source: AGHT+IF1N3OH0bBZaR9F45P2zr+vukIICL0bvjmQ0gy/Vjsj622eAI2pvI+POAXeSYTDpPSdzWbXAQ== X-Received: by 2002:aa7:d50b:0:b0:53e:7d60:58bb with SMTP id y11-20020aa7d50b000000b0053e7d6058bbmr26421651edq.27.1699355332052; Tue, 07 Nov 2023 03:08:52 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 29-20020a508e5d000000b0052ffc2e82f1sm5515763edx.4.2023.11.07.03.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 03:08:51 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 2/4] python3-pdm-backend: add recipe Date: Tue, 7 Nov 2023 13:08:46 +0200 Message-Id: <20231107110848.1610779-2-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231107110848.1610779-1-leon.anavi@konsulko.com> References: <20231107110848.1610779-1-leon.anavi@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Nov 2023 11:09:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106447 Add pdm-backend, the build backend used by PDM that supports latest packaging standards. Version 2.1.7 provides: - Rename tag-pattern to tag_regex in the docs - Copytree handle existing dirs - Normalize the dist info name in the wheel Signed-off-by: Leon Anavi --- .../python/python3-pdm-backend_2.1.7.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pdm-backend_2.1.7.bb diff --git a/meta-python/recipes-devtools/python/python3-pdm-backend_2.1.7.bb b/meta-python/recipes-devtools/python/python3-pdm-backend_2.1.7.bb new file mode 100644 index 000000000..679ecb0d4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pdm-backend_2.1.7.bb @@ -0,0 +1,13 @@ +SUMMARY = "The build backend used by PDM that supports latest packaging standards" +HOMEPAGE = "https://github.com/pdm-project/pdm-backend" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" + +SRC_URI[sha256sum] = "d3b50ab6374557c1edc348135e0da5decef228ddf8c973a58e40f437cf3595ba" + +inherit pypi python_setuptools_build_meta + +PYPI_PACKAGE= "pdm_backend" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue Nov 7 11:08:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 33998 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 5943AC0018C for ; Tue, 7 Nov 2023 11:09:03 +0000 (UTC) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by mx.groups.io with SMTP id smtpd.web11.7818.1699355334468257035 for ; Tue, 07 Nov 2023 03:08:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=PJm0bxvH; spf=pass (domain: konsulko.com, ip: 209.85.208.48, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-53e3b8f906fso9231299a12.2 for ; Tue, 07 Nov 2023 03:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1699355332; x=1699960132; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GTeA64NRGBq9ejQCwJdyfjN88rtzWzEeN5a4LyRcF9s=; b=PJm0bxvHRaWYrNvSOvSBpoMzhZnmCGnu+/fNvcvODY8RcSkTi6yJfkZqm5WJeNWPmF C9sIAYHNu4DcnQqTajhVy47S8VYTnzMNtheCe0ze2ufCiWUBbT3GNrWEcWqmirM/RQP2 pURp0mEEmPFt2QkevnuQAA0mzyxUKYQnidi9E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699355332; x=1699960132; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GTeA64NRGBq9ejQCwJdyfjN88rtzWzEeN5a4LyRcF9s=; b=ZfEk7/I0mMFTa6PTRbrl0zHwWkmIUtYVugblp+YP/zkAGVWLooIOk+eILBj02IeZ5I RdQqX2Z09oKRHfIDqdH5pGZ4OpaILymvWLgSXxcCd7lXDM4b4J1YBjFg+XFIi27Vw/na zbMszituSqmDDbrZqfmF8NDNE8ERDEiKuV1RA7IoTUMK51Qv1tyt0A385/Xl6dQpMXND g/BqO5JOZDUpRJXZ2970ejdFC/UCd/kX/cWhtGBznYn4x7F4+ou/ToDtKWx3fSw8yeN8 IryDXi08CsnPxRDmdN2t6JOxfsMJYq6qZfom2SvlvDXCO1YvG0ywTsAwwlT3h8WEBoH3 K4bg== X-Gm-Message-State: AOJu0Yxb6qSH30dEwysFSin+LO9mlLs1/EZUC7sjiyKgqfGPtHvVXqA5 wh7sl1PKQTwLdSOlpVfvUdzS2oibkDIbFM47tF0= X-Google-Smtp-Source: AGHT+IEVpRwoZ6LSrojxUvBXYIMKDScHbWabKjJSMw78l/dSkdIjf54AatPdzJA5+Flenq3io3XPCQ== X-Received: by 2002:a50:d583:0:b0:53e:ec17:c885 with SMTP id v3-20020a50d583000000b0053eec17c885mr27644491edi.10.1699355332806; Tue, 07 Nov 2023 03:08:52 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 29-20020a508e5d000000b0052ffc2e82f1sm5515763edx.4.2023.11.07.03.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 03:08:52 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 3/4] python3-pdm: add recipe Date: Tue, 7 Nov 2023 13:08:47 +0200 Message-Id: <20231107110848.1610779-3-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231107110848.1610779-1-leon.anavi@konsulko.com> References: <20231107110848.1610779-1-leon.anavi@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Nov 2023 11:09:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106448 Add pdm, a modern Python package and dependency manager supporting the latest PEP standards. Version 2.10.1 brings: - Fix list index out of range when build error message is empty - Fix find_link sources being exported as --extra--index-url - Fix an installation failure when install.cache = true - Fix a resolution issue that extra dependencies are not resolved when the bare dependency has more specific version constraint Signed-off-by: Leon Anavi --- .../recipes-devtools/python/python3-pdm_2.10.1.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pdm_2.10.1.bb diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.10.1.bb b/meta-python/recipes-devtools/python/python3-pdm_2.10.1.bb new file mode 100644 index 000000000..d5aab3db7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pdm_2.10.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE = "https://pdm-project.org/latest/" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" + +SRC_URI[sha256sum] = "d166531c659fc4905933546544dd2e16cf648c2ba6d898c82126ad6a42117a81" + +inherit pypi python_setuptools_build_meta + +DEPENDS += " \ + ${PYTHON_PN}-pdm-backend-native \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue Nov 7 11:08:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 33997 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 3C471C4332F for ; Tue, 7 Nov 2023 11:09:03 +0000 (UTC) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mx.groups.io with SMTP id smtpd.web10.8053.1699355335307664796 for ; Tue, 07 Nov 2023 03:08:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=adTpc7CY; spf=pass (domain: konsulko.com, ip: 209.85.208.42, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-53e04b17132so9132786a12.0 for ; Tue, 07 Nov 2023 03:08:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1699355333; x=1699960133; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qKjIQRa4Pgnao86gnZRcFaCK+xmq8G0JcLNw4ffJuU8=; b=adTpc7CYpuwpyauY0KS3vJIMDb8OHhiJ2+D8ZJqQpXQPqa2JoFACWCIESsifUgKRCY GzrbO/yejO5ehrhm+5lCgQgmd500XEVxTOgh28XUCYt1D/qEbbQ+imp6HhDDrHOV2WnH 9uI4L3/r8NThaQTxtksECh4RZpzE6Yap6A8D4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699355333; x=1699960133; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qKjIQRa4Pgnao86gnZRcFaCK+xmq8G0JcLNw4ffJuU8=; b=jftbCMqyTyBUWMMh8CDGJo0GKbz4VSDGrUCAGB9Ya3DRPpAXgTKS8Ea6waVG2WnxzA I//pTY0JYD39Gfaa0Axcoxo9IbSeNZ95VuTkq+t5/74Q0zpjXwcPQbU615swbkMnUZXj 1/hu4Z/KvClwbdlYdj7QGBQ/9+qFZjRsG/J+Kl+jfqQOWKpKJCRblcTulqr4W+Q+jYKP vJIy4PT9PTxh5hZ1rYetaIjai3UMzU3KHgFg8q1rc1mpu+k4ZdHYj+gHguhYSbtJZESV taXX4AttM9xutkB3Rpgi2+jfgvAyLKWvznm4p3GDz2UQ784R8o6cnGRaTLB670P+X1Xv /a/A== X-Gm-Message-State: AOJu0YyqJEZ3bMCitvgkBOTGGuPIQ6bc1is94FlazEVNn29H4Vku2kO6 7/vvMrr0yIkhT1I6SSn5hisZBtBAf4E2HFjXtro= X-Google-Smtp-Source: AGHT+IHtTTG3VVi368jwKKZhJRPL/bsLlEBLGWX12h5SrYN48+82rAA0lkIP6MD17wytmoqfdLTsXQ== X-Received: by 2002:aa7:cb16:0:b0:526:9cfb:c12 with SMTP id s22-20020aa7cb16000000b005269cfb0c12mr24777446edt.38.1699355333605; Tue, 07 Nov 2023 03:08:53 -0800 (PST) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 29-20020a508e5d000000b0052ffc2e82f1sm5515763edx.4.2023.11.07.03.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 03:08:53 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 4/4] python3-jsonref: Upgrade 1.0.1 -> 1.1.0 Date: Tue, 7 Nov 2023 13:08:48 +0200 Message-Id: <20231107110848.1610779-4-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231107110848.1610779-1-leon.anavi@konsulko.com> References: <20231107110848.1610779-1-leon.anavi@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Nov 2023 11:09:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106449 Upgrade to version 1.1.0: - Fixes documents where the root is a reference object not being cached - Allows a reference object to refer to a fragment within itself - Extra properties of a reference object will now have references resolved License-Update: License remains the same Signed-off-by: Leon Anavi --- .../files/migrate-to-pdm-backend.patch | 27 +++++++++++++++++++ .../python-jsonref/python3-jsonref_1.0.1.bb | 16 ----------- .../python-jsonref/python3-jsonref_1.1.0.bb | 23 ++++++++++++++++ 3 files changed, 50 insertions(+), 16 deletions(-) create mode 100644 meta-python/recipes-devtools/python-jsonref/files/migrate-to-pdm-backend.patch delete mode 100644 meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.0.1.bb create mode 100644 meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.1.0.bb diff --git a/meta-python/recipes-devtools/python-jsonref/files/migrate-to-pdm-backend.patch b/meta-python/recipes-devtools/python-jsonref/files/migrate-to-pdm-backend.patch new file mode 100644 index 000000000..805d9edce --- /dev/null +++ b/meta-python/recipes-devtools/python-jsonref/files/migrate-to-pdm-backend.patch @@ -0,0 +1,27 @@ +From 1b594cf12e5a69aa25f49f532c1201a6b39e280d Mon Sep 17 00:00:00 2001 +From: Leon Anavi +Date: Tue, 7 Nov 2023 10:43:32 +0000 +Subject: [PATCH] Migrate to pdm-backend + +Signed-off-by: Leon Anavi +--- + pyproject.toml | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index f549376..c608213 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -36,7 +36,5 @@ includes = [ + profile = "black" + + [build-system] +-requires = [ +- "pdm-pep517>=1.0.0", +-] +-build-backend = "pdm.pep517.api" ++requires = ["pdm-backend"] ++build-backend = "pdm.backend" +-- +2.39.2 + diff --git a/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.0.1.bb b/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.0.1.bb deleted file mode 100644 index 5b842a462..000000000 --- a/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.0.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python" -HOMEPAGE = "https://github.com/gazpachoking/jsonref" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a34264f25338d41744dca1abfe4eb18f" - -SRC_URI[sha256sum] = "51d3e18b83ca7170ff51286a0e1a6719d8b7fcc7abdb16b189395a8536996b97" - -inherit pypi setuptools3 - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-netclient \ -" diff --git a/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.1.0.bb b/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.1.0.bb new file mode 100644 index 000000000..fae1da268 --- /dev/null +++ b/meta-python/recipes-devtools/python-jsonref/python3-jsonref_1.1.0.bb @@ -0,0 +1,23 @@ +SUMMARY = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python" +HOMEPAGE = "https://github.com/gazpachoking/jsonref" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ac1cccee5d43e11fc4eddcf445be64a" + +SRC_URI[sha256sum] = "32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552" + +SRC_URI += "file://migrate-to-pdm-backend.patch" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native nativesdk" + +DEPENDS += " \ + ${PYTHON_PN}-pdm-native \ + ${PYTHON_PN}-pdm-backend-native \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-netclient \ +"