From patchwork Sun Mar 31 00:41:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918131 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b1z6v7bz1yY0 for ; Sun, 31 Mar 2024 11:41:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6D935820D0; Sun, 31 Mar 2024 00:41:55 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id TPEQakCTJviX; Sun, 31 Mar 2024 00:41:54 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6E5D6820D6 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 6E5D6820D6; Sun, 31 Mar 2024 00:41:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 39A2E1BF947 for ; Sun, 31 Mar 2024 00:41:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1FF9C401FE for ; Sun, 31 Mar 2024 00:41:52 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id x_znfii9x7As for ; Sun, 31 Mar 2024 00:41:51 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::12a; helo=mail-il1-x12a.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 106C3401CE DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 106C3401CE Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by smtp2.osuosl.org (Postfix) with ESMTPS id 106C3401CE for ; Sun, 31 Mar 2024 00:41:50 +0000 (UTC) Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-368cd5ddb65so6954855ab.0 for ; Sat, 30 Mar 2024 17:41:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845709; x=1712450509; 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=mF7KsER05OOi19D1svOWGm9Xtcbm/xShv3epkFsEfiU=; b=xCU1jaFRRfaCiW3ocnhqaD5QoleqEmXqv9s7Zwo2dhNUFyuaYxBacYJAIbxmV0BNIn CLfO+ciUahO3IYtS9mqSBi9dn2XbUdPpZh2Tn8CtJHTicOrIlfjMX0iT/WQJk8YlDFDT 7JbKV39r8xOTBeTicBRWV12VCDyUrKZXSmC6AKsMbUo8QXnNWlvWVf6nUC5v8Ud60X1+ D9Gz5iyP/F/iTzqAm2SuIS3jwFn6yg6cGOESfdrkhkO7Kifd5XaPtdoVYXlG9l7H/7Dg KwC//YAvQ083m3AUuEOXkfSKd/k9kPshSzFGfVaLSw+ovGFML5xSY6B1+3dEuRspYFJU pl7A== X-Gm-Message-State: AOJu0YzdtCKE/VMdE7Q6bK0kcJEA79Yu57bhePXC1fpM3bvCU4jHVXNC kO5wV56EuPx6qkC1Rc0xlD7UKQIBJIRTHK6DrHuy2pEDgpndSpSXpA0/BWDjW7RZWw== X-Google-Smtp-Source: AGHT+IH97gkM/aqPWiNjo/F7EGPPOAKil+IquZhWRo0eurImi6sYiKxm6wMCPRiuQyNoQu9flj4TpQ== X-Received: by 2002:a05:6e02:1aa8:b0:366:97e9:c9c1 with SMTP id l8-20020a056e021aa800b0036697e9c9c1mr6365946ilv.8.1711845709569; Sat, 30 Mar 2024 17:41:49 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:48 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:16 -0600 Message-Id: <20240331004133.636618-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845709; x=1712450509; darn=buildroot.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mF7KsER05OOi19D1svOWGm9Xtcbm/xShv3epkFsEfiU=; b=YseTzYjAKocEnloez6tziDgFevPFvGUPIN2CRR+/69Ufag4aoFB1ZkjDJaLEsTthh4 wUJ3LaxslBoYQ2ON9B7cj0KL4jfQeGxj+MzggPnLQILBiXSLrxDm4dD2+aD2lyPoODG2 tzz+3choBD++NlVn1YN+0PR7ilcM6vdyeCx0ND3BBbq3Ea9tRITXZPuOCO2gGEcS8HcE YgtlqvAaxvsFoNwXUvKDgjslsp+H0TV63fFo7IUvXCkiBl8DuBz0jDQHvQ3G2M+TiOrX nlXI3CPI4GkE3xmCOQxcoPo7swAq5rWrmsBxMlr+Zg0SZXx+XjUl52xe8kaEPZRfookb Dqkw== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=YseTzYjA Subject: [Buildroot] [PATCH v9 01/18] package/python-canopen: add setuptools-scm build dependency X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The host-python-setuptools-scm dependency needs to be added prior to migrating setuptools to pep517 as this dependency is listed as a build requirement in the pyproject.toml. Signed-off-by: James Hilliard --- package/python-canopen/python-canopen.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-canopen/python-canopen.mk b/package/python-canopen/python-canopen.mk index 963c4ab801..09ec595ec6 100644 --- a/package/python-canopen/python-canopen.mk +++ b/package/python-canopen/python-canopen.mk @@ -10,5 +10,6 @@ PYTHON_CANOPEN_SITE = https://files.pythonhosted.org/packages/49/55/67e555f6f4ea PYTHON_CANOPEN_SETUP_TYPE = setuptools PYTHON_CANOPEN_LICENSE = MIT PYTHON_CANOPEN_LICENSE_FILES = LICENSE.txt +PYTHON_CANOPEN_DEPENDENCIES = host-python-setuptools-scm $(eval $(python-package)) From patchwork Sun Mar 31 00:41:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918132 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b226yhYz1yY0 for ; Sun, 31 Mar 2024 11:42:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B23D3820D7; Sun, 31 Mar 2024 00:41:59 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id wpLNJKGNuqwu; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 9DFFC820EC Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 9DFFC820EC; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9FB361BF947 for ; Sun, 31 Mar 2024 00:41:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8D4EE401FE for ; Sun, 31 Mar 2024 00:41:53 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YaRkp3mmeNsQ for ; Sun, 31 Mar 2024 00:41:52 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2d; helo=mail-io1-xd2d.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 964B2401CE DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 964B2401CE Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by smtp2.osuosl.org (Postfix) with ESMTPS id 964B2401CE for ; Sun, 31 Mar 2024 00:41:52 +0000 (UTC) Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-7cc77c19a19so139054639f.2 for ; Sat, 30 Mar 2024 17:41:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845711; x=1712450511; 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=RKxDZ8E8GRKQgtKDTIZszqOBrq3ponHAuaLEAQUpU28=; b=ZWUnZsVELkyxrnSurvXtrMFwGXfVAzJDBTA/7prqS6hacgVpcnnRhL8wiyBlbXu5Y+ y4pfZ54Q52DibuJKfiZzdkAqtaxhCEh8+yuN4bIbeB4eVdXtqCpotKtyYZUK++tqyXTl NGHLEgtFROH0+lznHl5zuISIK4VhDng6gFaCGUOcKwDf5hPHE9JRZgKi7/wGOzGlKMcA AiG/IdksGRzO4E58oYVaB1DPoLJ4WmyFqc5kZBSS9Q/fqAcmzUl96AFISxzO1w8VlO// qMxXoRq7fHJmp1j4j4+nbgfI2T6lPyalwFWrgiWxW8FEp6S1S+ISpIuNSMKC3dwQ/xoS QDIg== X-Gm-Message-State: AOJu0Yy9tXVBZ+HT6WXyaPXv5QWYKaVvgi0L4gLiRBV1PBwPKyZbvgFt cJ67OlNLlkqbsWZMxP7tfRApAX2E25DRYeAOpp+mDgmgbgkx06RuZxHgbrkagbx2Qg== X-Google-Smtp-Source: AGHT+IH0HRig3LNqrxiqGhxEqVllEpI9C/dAHqX6h5yRKTDC37TuPMCw5mla+kTMGswh6BQYqrl21Q== X-Received: by 2002:a05:6602:5c7:b0:7d0:1f49:b546 with SMTP id w7-20020a05660205c700b007d01f49b546mr6200245iox.16.1711845711115; Sat, 30 Mar 2024 17:41:51 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:50 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:17 -0600 Message-Id: <20240331004133.636618-2-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845711; x=1712450511; darn=buildroot.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=RKxDZ8E8GRKQgtKDTIZszqOBrq3ponHAuaLEAQUpU28=; b=TC41JyPcN0cFezV0l53PoZ/LgWUn4RAskLdnz5XRLAovTEm1H0sAHqnFkjI6mPFyUd foN94MPq743+Te/UYkSvY0JN1mNsyyW83dOecHQUpeCTm7xBhvXCyiiOqlZD1tsJMNOP ZidXG7+j6oHRyTg0uC3BFHTA722bg1eaDXAWsJRmKUhqcNOs9js0Wkyz/kCPO3Dvej1f UrGHFHcyVn55XC2KZPplYY9HCRJorwOBX0pH9fS11RdCY02neL5qvFgQpI6X40ZvS1Pt FSHR9Z15cQlAtWjBn10lpOUGyg3iut0hFE8rzxEbfYotkaAcOImoWeutYL/heGOP6Pzr hU4Q== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=TC41JyPc Subject: [Buildroot] [PATCH v9 02/18] package/python-dbus-fast: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-dbus-fast to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. We do need to additinally keep a dependency on host-python-setuptools as that is specified as an additional build requirement. Signed-off-by: James Hilliard --- package/python-dbus-fast/python-dbus-fast.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/python-dbus-fast/python-dbus-fast.mk b/package/python-dbus-fast/python-dbus-fast.mk index b890177c74..1456ce5e4c 100644 --- a/package/python-dbus-fast/python-dbus-fast.mk +++ b/package/python-dbus-fast/python-dbus-fast.mk @@ -7,10 +7,13 @@ PYTHON_DBUS_FAST_VERSION = 2.12.0 PYTHON_DBUS_FAST_SOURCE = dbus_fast-$(PYTHON_DBUS_FAST_VERSION).tar.gz PYTHON_DBUS_FAST_SITE = https://files.pythonhosted.org/packages/f5/8c/220fcbe4337b842d730d5752f207fc8efd3a02405c71c329e61218e947b8 -PYTHON_DBUS_FAST_SETUP_TYPE = setuptools +PYTHON_DBUS_FAST_SETUP_TYPE = pep517 PYTHON_DBUS_FAST_LICENSE = MIT PYTHON_DBUS_FAST_LICENSE_FILES = LICENSE PYTHON_DBUS_FAST_ENV = REQUIRE_CYTHON=1 -PYTHON_DBUS_FAST_DEPENDENCIES = host-python-cython +PYTHON_DBUS_FAST_DEPENDENCIES = \ + host-python-cython \ + host-python-poetry-core \ + host-python-setuptools $(eval $(python-package)) From patchwork Sun Mar 31 00:41:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918133 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b263D12z1yY0 for ; Sun, 31 Mar 2024 11:42:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 581BB8212D; Sun, 31 Mar 2024 00:42:04 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 14wyiWhR9Ujd; Sun, 31 Mar 2024 00:42:01 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 370588211C Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 370588211C; Sun, 31 Mar 2024 00:42:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E72B01BF947 for ; Sun, 31 Mar 2024 00:41:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E18B460622 for ; Sun, 31 Mar 2024 00:41:54 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id wggaSnnT2Rbt for ; Sun, 31 Mar 2024 00:41:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2c; helo=mail-io1-xd2c.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org E149660611 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E149660611 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by smtp3.osuosl.org (Postfix) with ESMTPS id E149660611 for ; Sun, 31 Mar 2024 00:41:53 +0000 (UTC) Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7d03a6a11a2so140606339f.2 for ; Sat, 30 Mar 2024 17:41:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845712; x=1712450512; 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=UVg5JY1ebdCq6lejFie0ZDqbit07RK1GfiuF4dLYxnU=; b=ijK5qrHTC5ii4cQTtn1Dk421l1qD0cWk5Ge25j3eqWbbNEAwG1XU5sDFBGdFMySnzS 3U7oWQci9uXIpwFtP5Herppc/aBqNEs6MoT1YvqWAMpu8M20KH5caqpuJcld9kZo3PUt 8MZf5MrT89vOGJxLFgTrRSXpAWTcOyKsbEO/JpbzE6KL2/hfCZFUNjLcY0aDSAhSajSQ 1lZjI6EDOySK1d37C8wUGx7k+S+LJ3TQF2rUxcfzgLH5waqSmibvlLcNlGUebbN0tai/ 0noz4QR2qR03Xi//J8CjZs8npzFdC5aWF18y4VLkCJ/SYmy20F3rpQalkGYXOKrPThdW uAHQ== X-Gm-Message-State: AOJu0Yx/FRVur+c1UKYkwNB4z8/wFyYdA1EIqilK4q97ILtQJ3H8H0la r/g7D7J+8QdKSWSNWVz/URFpyOnHFsFk6Mm+R2EfcvmXTIxVNPtYhVjHcUyllIjx1Q== X-Google-Smtp-Source: AGHT+IFvXzRjefqHY5aDJRu9ycBKVfZGuaXPwmg1ZDA7S8GAvY/71SuR/pkpXh2nxIyXU7/PhvEwLA== X-Received: by 2002:a5e:c707:0:b0:7d0:acec:491b with SMTP id f7-20020a5ec707000000b007d0acec491bmr3263187iop.9.1711845712535; Sat, 30 Mar 2024 17:41:52 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:51 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:18 -0600 Message-Id: <20240331004133.636618-3-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845712; x=1712450512; darn=buildroot.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=UVg5JY1ebdCq6lejFie0ZDqbit07RK1GfiuF4dLYxnU=; b=IDZpIOzzSBgu8nRut10Mw8vUBP99AesLkTpunYo6tBrm2yrfYmuK3WoYZwHG0Y/7mf NgIPBzfKHh2xK6OCXmZkSttgo9t8y6Cz/uhryaBe+MVs+QO65JyLIUZ2KHm+0V9p2FVw 0+y1s8/A0u+oPXVAEwxBjESGDAq5Fb+JU6/tfLJnWU/WgKAIWfGrGNEcH8cCPajSCF9+ PM91XyI+kiWTLN9tfp/Ql8rBL/7aMUmhvdvBzPJqV9CpCTPFkbH9opPjC4l0RH6vs4q7 7zFVMIraHGBfSxqzqa86SDLCGkaU0Av8efssb0nVSgf4tpPwh+kTcbORtZAGV6swtPQY 8vIA== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=IDZpIOzz Subject: [Buildroot] [PATCH v9 03/18] package/python-dnspython: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-dnspython to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-dnspython/python-dnspython.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/python-dnspython/python-dnspython.mk b/package/python-dnspython/python-dnspython.mk index 1459ec8881..f0df733143 100644 --- a/package/python-dnspython/python-dnspython.mk +++ b/package/python-dnspython/python-dnspython.mk @@ -9,9 +9,9 @@ PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).tar.gz PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/65/2d/372a20e52a87b2ba0160997575809806111a72e18aa92738daccceb8d2b9 PYTHON_DNSPYTHON_LICENSE = ISC PYTHON_DNSPYTHON_LICENSE_FILES = LICENSE -PYTHON_DNSPYTHON_SETUP_TYPE = setuptools -PYTHON_DNSPYTHON_DEPENDENCIES = host-python-setuptools-scm -HOST_PYTHON_DNSPYTHON_DEPENDENCIES = host-python-setuptools-scm +PYTHON_DNSPYTHON_SETUP_TYPE = pep517 +PYTHON_DNSPYTHON_DEPENDENCIES = host-python-poetry-core +HOST_PYTHON_DNSPYTHON_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) $(eval $(host-python-package)) From patchwork Sun Mar 31 00:41:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918134 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b283kH2z1yY0 for ; Sun, 31 Mar 2024 11:42:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id F3025820FC; Sun, 31 Mar 2024 00:42:05 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RV8SFL_xEsy9; Sun, 31 Mar 2024 00:42:05 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org CD0A78213E Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id CD0A78213E; Sun, 31 Mar 2024 00:42:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 829501BF947 for ; Sun, 31 Mar 2024 00:41:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7CA42401FE for ; Sun, 31 Mar 2024 00:41:56 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 2woIT76lBV9x for ; Sun, 31 Mar 2024 00:41:55 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d36; helo=mail-io1-xd36.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 9A391401CE DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9A391401CE Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9A391401CE for ; Sun, 31 Mar 2024 00:41:55 +0000 (UTC) Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7d0262036afso155849039f.3 for ; Sat, 30 Mar 2024 17:41:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845714; x=1712450514; 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=2GSA/0V7R8HeIqRgMBuN4ZVqyFxVFuI5r0HKomM7wL8=; b=X2d/lWJmTTESPB3Vsgh4j3Pgc1cukyBjLFv9scqoBwfKq0e7G2zJHtjWsQQjg2j3XO sVdnYyn42lkOtz8KELGwtv/QHXdZYgkihKjZqUzMDTY/pQwgYZzEwiYSWQn+4ifCU1P8 hWTXi23Fb0EBbUs+Fe5vK7KJvOsVUSa3Nj5q5vJacO6cqTIc/a4LmCk1BPZC/Szqq27Q zWLZJuLgrevA/yXtmDJrGjklKbBJbMpTGUNU0PXVoiEqb3hPKw21w6LpO8RilN7QcLTT ywSFyicgt7gLJGwCeQh0O4GpwgEFKZUtNUmFuv4kE1U4hJwWek6pxxSMd/da0PmHnidX X4vQ== X-Gm-Message-State: AOJu0YwvCFp//AbpINRPTe9CSDEF7dbKwYHioYiTaVVr7wQtYVqiRZhJ URgfXJ4FnClqvZ61+Z5tDRARYMKP2Wk98LrgKVu2iqAzVKJKQRU44fBhNeQWTqI5aQ== X-Google-Smtp-Source: AGHT+IFb5uOwBqhpLevrzCzbslnlWwynvb97owW8xNbkAuY7wTQTxyp2mxHTkvPLax9LKu9W4yaCvg== X-Received: by 2002:a5e:8709:0:b0:7d0:772b:3f88 with SMTP id y9-20020a5e8709000000b007d0772b3f88mr6528591ioj.2.1711845713941; Sat, 30 Mar 2024 17:41:53 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:52 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:19 -0600 Message-Id: <20240331004133.636618-4-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845714; x=1712450514; darn=buildroot.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=2GSA/0V7R8HeIqRgMBuN4ZVqyFxVFuI5r0HKomM7wL8=; b=mRhsMEpsKV7O8Bxvc82w0MmiX9K8XPQJy5GuTbKh71DTfnLxglJ2m0d7GDsA2aLR8Z KxbOuepMMTBxMEVq22LEmRtZX/WXEmKTE1Z/LBcFLyNdfu42WTu0b3+RzxOFDIWYtYPm Nke+vlp4f8hlZQLIzXmw3Lek2aJnA9e9KX3z3tlOt9a+sufrTdUDYfI4Q4wV2xKiXCbl RlobLOngc6Fb/2s/X5smzulbr5x/THOG9QaM/7O8lhB4nxAaOEZ9BXyHGZcvQRP6Nk5g 8GD/+AyoQJqqjHc52rjXOlbhbdA12rbXqXC11DjNtDX+tUs0vZiJTXA/U0/ZEoJCF7gC 2mXQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mRhsMEps Subject: [Buildroot] [PATCH v9 04/18] package/python-flask-babel: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-flask-babel to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-flask-babel/python-flask-babel.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-flask-babel/python-flask-babel.mk b/package/python-flask-babel/python-flask-babel.mk index b3ecdf6cf6..3970a14db1 100644 --- a/package/python-flask-babel/python-flask-babel.mk +++ b/package/python-flask-babel/python-flask-babel.mk @@ -8,7 +8,8 @@ PYTHON_FLASK_BABEL_VERSION = 4.0.0 PYTHON_FLASK_BABEL_SOURCE = flask_babel-$(PYTHON_FLASK_BABEL_VERSION).tar.gz PYTHON_FLASK_BABEL_SITE = https://files.pythonhosted.org/packages/58/1a/4c65e3b90bda699a637bfb7fb96818b0a9bbff7636ea91aade67f6020a31 PYTHON_FLASK_BABEL_LICENSE = BSD-3-Clause -PYTHON_FLASK_BABEL_SETUP_TYPE = setuptools +PYTHON_FLASK_BABEL_SETUP_TYPE = pep517 PYTHON_FLASK_BABEL_LICENSE_FILES = LICENSE +PYTHON_FLASK_BABEL_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) From patchwork Sun Mar 31 00:41:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918135 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2C1glfz1yY0 for ; Sun, 31 Mar 2024 11:42:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id AFE5C8212B; Sun, 31 Mar 2024 00:42:09 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id fpDa8H-r7Yjv; Sun, 31 Mar 2024 00:42:08 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 48E7382169 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 48E7382169; Sun, 31 Mar 2024 00:42:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 53FFC1BF947 for ; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4B650820D7 for ; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5TvhTy9TY_wl for ; Sun, 31 Mar 2024 00:41:57 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2d; helo=mail-io1-xd2d.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 53F49820FC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 53F49820FC Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 53F49820FC for ; Sun, 31 Mar 2024 00:41:56 +0000 (UTC) Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-7c8b777ff8bso97951339f.0 for ; Sat, 30 Mar 2024 17:41:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845715; x=1712450515; 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=m9Uvf3YCdQZMR0m8rqQTcdsOE8MnxR3ZR2K3rmL+rdw=; b=Dn995RbF3jHdxO5Fo6SlBTHYG8W0jwD/P5QFtTqkP0h007EswGWN1q7NnpBaBDgM0Z G8BSUW48Nhr0Alig4P1yc1zsm4ITe+2a7HQz7kuKYZ/Gt74LZlpfkACkXIjkaM63FEDS JK90uW7RWk/sgDFM1Zeyi9QQObIwf31hNiLAceX2wWODhgoAzDDJJTpY9vAbksb0/zZE baJxV2+TV/L0A0yNbAqoarYFfXKQasb+8yZaLyvpapRm8tNEUyrolbCAn3CxpbUUo7by boWHxbXjd29VRnUEMdEv5CdyHJY6C3c4DuEVnT3IOkfaeWyOKafRwhUZ3o0LWV1tCO6z Oppw== X-Gm-Message-State: AOJu0YxUvuIfvA2DFBRbTsgu3IDIcE71zV+GmO6wFPMzMvq0AtysoaQs R+3XqsVaGcdLYgioAmj9wwUX2nSInNJUTlvoJ9gmbuf9v/55Ew4RMz0joMkeNsUdkA== X-Google-Smtp-Source: AGHT+IHj4uQcg6xcv63qBOmzYAGLJDYSs6h+PfOw3pA0ruaYo9ZXgrjqUB/TINI8zx4n30/34DDxuw== X-Received: by 2002:a6b:c897:0:b0:7d0:8760:a4e3 with SMTP id y145-20020a6bc897000000b007d08760a4e3mr6493836iof.2.1711845715415; Sat, 30 Mar 2024 17:41:55 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:54 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:20 -0600 Message-Id: <20240331004133.636618-5-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845715; x=1712450515; darn=buildroot.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=m9Uvf3YCdQZMR0m8rqQTcdsOE8MnxR3ZR2K3rmL+rdw=; b=UX4G3BA2G/h/NhVwgLI94m8qaFnk45KCsUjoz7GkC9sr0n/IhKDgAkwnEcmkRTw7fX xMMQreeKClsxYhBWZkelSXvekUrinjMjF3OLYw7803tb7xdPHiQKk2LlM2VFcPnCepBu UXp/3qQia8juu0NumrhfzaskNVTmL4Qqa/GMKZcZb1g7QBRelO3GwFhsh5DYDBCe4fAq ctCb07XPX+AMZXAtqOAazu//45SezMbkccz3QSOX2o2lSZVm1mq7sLjLc1urs4HA9+dY evPfg3vY37W3Qeh/Xw7VlfNhoJk9Q2bBnDMkfs8GXixHGGiYiHT987v0dgtIpv3wcw50 54YA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=UX4G3BA2 Subject: [Buildroot] [PATCH v9 05/18] package/python-flask-wtf: migrate to hatching pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" When building with a pep517 frontend we need to use the specified build backend as opposed to the fallback setuptools build which only works when not building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is hatchling and not setuptools. Signed-off-by: James Hilliard --- package/python-flask-wtf/python-flask-wtf.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-flask-wtf/python-flask-wtf.mk b/package/python-flask-wtf/python-flask-wtf.mk index 8274585ad3..bb32d55e25 100644 --- a/package/python-flask-wtf/python-flask-wtf.mk +++ b/package/python-flask-wtf/python-flask-wtf.mk @@ -9,6 +9,7 @@ PYTHON_FLASK_WTF_SOURCE = flask_wtf-$(PYTHON_FLASK_WTF_VERSION).tar.gz PYTHON_FLASK_WTF_SITE = https://files.pythonhosted.org/packages/9b/ef/b6ec35e02f479f6e76e02ede14594c9cfa5e6dcbab6ea0e82fa413993a2a PYTHON_FLASK_WTF_LICENSE = BSD-3-Clause PYTHON_FLASK_WTF_LICENSE_FILES = LICENSE.rst -PYTHON_FLASK_WTF_SETUP_TYPE = setuptools +PYTHON_FLASK_WTF_SETUP_TYPE = pep517 +PYTHON_FLASK_WTF_DEPENDENCIES = host-python-hatchling $(eval $(python-package)) From patchwork Sun Mar 31 00:41:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918136 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2G2ScQz1yY0 for ; Sun, 31 Mar 2024 11:42:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D09CC82124; Sun, 31 Mar 2024 00:42:12 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id sVoYlnNcwtcB; Sun, 31 Mar 2024 00:42:12 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org AB69382173 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id AB69382173; Sun, 31 Mar 2024 00:42:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 9CEFD1BF947 for ; Sun, 31 Mar 2024 00:41:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 843A44064C for ; Sun, 31 Mar 2024 00:41:59 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RTCtzEMsA8-w for ; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d36; helo=mail-io1-xd36.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 4ACB440643 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4ACB440643 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4ACB440643 for ; Sun, 31 Mar 2024 00:41:58 +0000 (UTC) Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7c8b95f7f73so71166939f.1 for ; Sat, 30 Mar 2024 17:41:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845717; x=1712450517; 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=KnbhPrY13WjsvxSNbDdvbSpvZVXn2QZQERjvF9bT180=; b=YI8Kxb/ii3lXLNKTMSbuew2b51ENI2/OVHJ+qyq9IPPgVP6w68xn2YiD3O/sslkvO1 nAC94+/ZBvXHXCtRmAdHAJ7ECCDvA51wvospckqBnLDybYWZo2LEccNU4zP2Jsk9Bv18 JymvKm44067yS/3AYdLyTX7v8Cl8ioCSgvtWBqOQw5zh1UjTvDeD9Cb620E0nvw8qbdW KINFC0DdhUXotH47UM7vA/XGLQetqrfLc1plThvA0MBdRLMrgMKw++Jl9tjuhuX/JJ7f P6jm3CwGRoDNOdNAzW1kTTE8kHsUKiHKpvlzFUc/puL3eVnt0BwpohmecXOvlnkKHFKA oWtQ== X-Gm-Message-State: AOJu0YzPnAiU+Iu8V4TNmwIh5rOMRfFRM/D1Vy2KAOHmS8uYHqe5wqpS qIcjwNzyN7cY6Dr2faPfqXzVshglrHJWOPO6TBPvbxDYd2G0msZZtkn0m2tSRPNTFQ== X-Google-Smtp-Source: AGHT+IEP1XFKqGEt+2tlVCvX4FFn8g47UTxf4ceaE6jFuW4FPrCnr22cwan4sY/WVVAnDIaBTyqF3A== X-Received: by 2002:a6b:4e18:0:b0:7d0:9c2b:e6fd with SMTP id c24-20020a6b4e18000000b007d09c2be6fdmr4011477iob.7.1711845716840; Sat, 30 Mar 2024 17:41:56 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:55 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:21 -0600 Message-Id: <20240331004133.636618-6-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845717; x=1712450517; darn=buildroot.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=KnbhPrY13WjsvxSNbDdvbSpvZVXn2QZQERjvF9bT180=; b=kTDCYL3EXVJhZjgY+JHEfoa5oub+cGtNRQ6pPE+2PWKn/OBcTE+FNrUyJy8bhX0RpQ r+v6SnWADH9+h1SAQbEGbV9nk9h3WZe2IYydlpSXQdFU1tbBZR3TCqDdeGR26cMzuKvi JZNGTcCawCIun0x4OlFdOAM6N8Z/LSokqaJk58BbR3e3IPrmTuycESx+5GDJCA9Q+3Gb QOLZs1zTHV5EH2TY1mIfsC7ScuFC95HQIlXubQo6+DBOPcKEJmDm6MP7d8kTNWJJM+Qv TFcrmBk8xWAAqPMWLEW/3iIQZnohoMDP76Mu8XaApu2+eEX46iJW1MaqUqfIaQrLJI+W 3KJQ== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=kTDCYL3E Subject: [Buildroot] [PATCH v9 06/18] package/python-expandvars: new host package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: James Hilliard --- package/python-expandvars/python-expandvars.hash | 5 +++++ package/python-expandvars/python-expandvars.mk | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 package/python-expandvars/python-expandvars.hash create mode 100644 package/python-expandvars/python-expandvars.mk diff --git a/package/python-expandvars/python-expandvars.hash b/package/python-expandvars/python-expandvars.hash new file mode 100644 index 0000000000..0123ed5420 --- /dev/null +++ b/package/python-expandvars/python-expandvars.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/expandvars/json +md5 8091f578a547e2b4b9df59100a179266 expandvars-0.12.0.tar.gz +sha256 7d1adfa55728cf4b5d812ece3d087703faea953e0c0a1a78415de9df5024d844 expandvars-0.12.0.tar.gz +# Locally computed sha256 checksums +sha256 b8a43c35080fc5855e4f8171e4d0d002f6ff1633d8cfc0b5dee0ac4ced2deac7 LICENSE diff --git a/package/python-expandvars/python-expandvars.mk b/package/python-expandvars/python-expandvars.mk new file mode 100644 index 0000000000..5c9a7249b3 --- /dev/null +++ b/package/python-expandvars/python-expandvars.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-expandvars +# +################################################################################ + +PYTHON_EXPANDVARS_VERSION = 0.12.0 +PYTHON_EXPANDVARS_SOURCE = expandvars-$(PYTHON_EXPANDVARS_VERSION).tar.gz +PYTHON_EXPANDVARS_SITE = https://files.pythonhosted.org/packages/2b/a5/46d1f58edcae1d632fafdfee313e378240e002ae45d26502bac938bd8751 +PYTHON_EXPANDVARS_SETUP_TYPE = pep517 +PYTHON_EXPANDVARS_LICENSE = MIT +PYTHON_EXPANDVARS_LICENSE_FILES = LICENSE +HOST_PYTHON_EXPANDVARS_DEPENDENCIES = host-python-hatchling + +$(eval $(host-python-package)) From patchwork Sun Mar 31 00:41:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918137 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2L23ksz1yY0 for ; Sun, 31 Mar 2024 11:42:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B8E5582183; Sun, 31 Mar 2024 00:42:16 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YsKL74G9J0RY; Sun, 31 Mar 2024 00:42:15 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 40EB58219C Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 40EB58219C; Sun, 31 Mar 2024 00:42:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id F35071BF947 for ; Sun, 31 Mar 2024 00:42:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E01E360622 for ; Sun, 31 Mar 2024 00:42:00 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id HCVsB_CBboaW for ; Sun, 31 Mar 2024 00:42:00 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2d; helo=mail-io1-xd2d.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org CE93660611 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CE93660611 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by smtp3.osuosl.org (Postfix) with ESMTPS id CE93660611 for ; Sun, 31 Mar 2024 00:41:59 +0000 (UTC) Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-7c8b777ff8bso97951939f.0 for ; Sat, 30 Mar 2024 17:41:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845718; x=1712450518; 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=yAQovp2pP9uWY1RKgs/JXJhJZs6eU+yRrbQmJYY1xY4=; b=JjJw61ZcvxEkiE/IqbiRaW0N59he9X5RyUOzWSALBNAfZNf06sKTJfiO5WJGBDmY+v 1mIn4FHo5MMWAF3J24iIGZEXYBc3LTylbfSFB19LGiSPm0cKJrmjBc7qUzD5nuVAsvWJ oHciaRPKx5kv+ARfkJCpzDVVfQruX9iV07k08JwEXW/ep7Bdn6A48Il2uLHogp67fyr+ be9A6Xu7ckPA1hEUcqWisbvBzfA59SaXXe1G0OuOnOeNaVxjdFaXZcqXMVyrECY1+w7z LeaRiXXJLjGpghPNoHh0zA2qvJ1Mz6nR15A2uEmmvJ0j1xxNYvb6Sgjy5OuahGB8yM1w mFMA== X-Gm-Message-State: AOJu0YxcAuPKn23+XYdV2/832MGUEpxXMaE10jz+AHNQugEz4oWHxYMi uTrhvS/T4ntYnRCJ5uJM+6MDPTb4WiIlZ25v9zLFLwcCDdZHwd2P5IpJYFuJkbpPtA== X-Google-Smtp-Source: AGHT+IFDQ6qWvQftRhTHnmKXZcY9iIgkqmGvg7+UP3oJSqbV5A2VCqZyJXchsWgYbyERmuNFOAJ4xA== X-Received: by 2002:a5d:8786:0:b0:7cc:fbd:270f with SMTP id f6-20020a5d8786000000b007cc0fbd270fmr5564810ion.6.1711845718329; Sat, 30 Mar 2024 17:41:58 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:57 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:22 -0600 Message-Id: <20240331004133.636618-7-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845718; x=1712450518; darn=buildroot.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=yAQovp2pP9uWY1RKgs/JXJhJZs6eU+yRrbQmJYY1xY4=; b=asA8Qy93OzH2bcvmf4GHZ7FqFmx4j2Si7bneSOSX1kt/mooTKFcYtUowTzhPFnGurn kRKGdRWdR12dXnmq93/s9J0jpvMtHUEgGx927m6Dynfi+R+8DvZ5mlHNPhR90372qAjT H0Advq9qmy2o/33iCfPZdTEiFu8U91He739TVzX+0gL6kenwTSR8mlXUfaCp+fNR+SYo F2SL36Gxqx2W7oo5fLnjx37Qfl+ndAmKIqi76nc4+3WdhpglJnvc/cT21206qUqRtYsa taW06IgtVgnLKFSepFqtZSyPLAfCNi50T3mRIIZLCS/dIkU9RLMCwCsqSTfW7DMp3hsY 55HA== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=asA8Qy93 Subject: [Buildroot] [PATCH v9 07/18] package/python-frozenlist: migrate to in-tree pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" When building with a pep517 frontend we need to use the specified build backend as opposed to the fallback setuptools build which only works when not building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is hatchling and not setuptools. The custom in tree backend depends on setuptools and expandvars, additionally it depends on cython 3 unless disabled. As we do not currently support cython 3 lets use the pure python build instead. Signed-off-by: James Hilliard --- package/python-frozenlist/python-frozenlist.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/python-frozenlist/python-frozenlist.mk b/package/python-frozenlist/python-frozenlist.mk index 9333598808..92670b3cbd 100644 --- a/package/python-frozenlist/python-frozenlist.mk +++ b/package/python-frozenlist/python-frozenlist.mk @@ -7,8 +7,12 @@ PYTHON_FROZENLIST_VERSION = 1.4.1 PYTHON_FROZENLIST_SOURCE = frozenlist-$(PYTHON_FROZENLIST_VERSION).tar.gz PYTHON_FROZENLIST_SITE = https://files.pythonhosted.org/packages/cf/3d/2102257e7acad73efc4a0c306ad3953f68c504c16982bbdfee3ad75d8085 -PYTHON_FROZENLIST_SETUP_TYPE = setuptools +PYTHON_FROZENLIST_SETUP_TYPE = pep517 PYTHON_FROZENLIST_LICENSE = Apache-2.0 PYTHON_FROZENLIST_LICENSE_FILES = LICENSE +PYTHON_FROZENLIST_DEPENDENCIES = \ + host-python-expandvars \ + host-python-setuptools +PYTHON_FROZENLIST_BUILD_OPTS = -C=pure-python=true $(eval $(python-package)) From patchwork Sun Mar 31 00:41:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918138 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2R2JRyz1yY0 for ; Sun, 31 Mar 2024 11:42:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7051D8214E; Sun, 31 Mar 2024 00:42:21 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XaqD_KJ31UPf; Sun, 31 Mar 2024 00:42:19 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 18D1D821B5 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 18D1D821B5; Sun, 31 Mar 2024 00:42:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 23A0B1BF947 for ; Sun, 31 Mar 2024 00:42:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 10CAA40655 for ; Sun, 31 Mar 2024 00:42:03 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 0vURPPTSIWWq for ; Sun, 31 Mar 2024 00:42:02 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2c; helo=mail-io1-xd2c.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org ECE1A40643 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org ECE1A40643 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by smtp4.osuosl.org (Postfix) with ESMTPS id ECE1A40643 for ; Sun, 31 Mar 2024 00:42:01 +0000 (UTC) Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7cc0e0dba0fso108299039f.3 for ; Sat, 30 Mar 2024 17:42:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845720; x=1712450520; 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=+LPAHWhrLQaKaP7YHCPv6geOS8iZt9ojpppCT07+Wdg=; b=mYDMx2JVl+TC+UsF+il+ez3SFldfNiFed19CozBuHmxPSJfOa52q7OHX6UWlW3JpH3 IvNBbF3P9RHcnaHae8zKtjSdYWLRvb5Gv4IOntRZcfxenpUSmB2+STjEwy+z0rWvImzm d6fXmtg4+4ZIkK8S0MbEVS990gA5k8G8XRb9M4PrsN83D7va1E6os6FdGwaw1/S/xtUm mx3I86AQy1cAKwXZh1wk+ASlamqsRGle82+o2AQdu4u6ejv1Lq2Ye3G87+tTEMazM4w/ I3EKklatPK7KS5Xtdah/qsUnw4WKvTauL0xmg4GlxKz8vyyfSTvUFf2MPXdmrFngr6Qk OXfA== X-Gm-Message-State: AOJu0YyXpbWoXyxhIwVdOvpKhkSc4Lsy+ZCcEwvf8f49RM/GVbU6+U3/ yQMsRBLFQyXGgGADEDulcmTMZ6mpsHk9E8XkAEsrzcZ9VZeDjAqyyBRkyqYfVDv9xA== X-Google-Smtp-Source: AGHT+IECH5D17msWa50PpTIn1hk4JKvjryBVoeRc+FY5W12X5SvqoB80gEENzPuki+bvMD0IJ+Mwqw== X-Received: by 2002:a05:6602:19d9:b0:7d0:3c9f:2a32 with SMTP id ba25-20020a05660219d900b007d03c9f2a32mr5852847iob.1.1711845719838; Sat, 30 Mar 2024 17:41:59 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:41:58 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:23 -0600 Message-Id: <20240331004133.636618-8-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845720; x=1712450520; darn=buildroot.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=+LPAHWhrLQaKaP7YHCPv6geOS8iZt9ojpppCT07+Wdg=; b=cAXrUOWoMwvrW5dmJwx6A78vZ6fV54mKeMp1s1yZHGWj1IcQ2++2vBFQl3k8qGk+3z zXVwcDPD7n0eiS4FJA5pxe7G5ZvxTHa3xWVu3fMwmxxyBuXkvakxbwEcvrIYqJlAVz9m KFFtsrigdXRzoQu7n+dDn6VJn8x0CesW9WnO03X8NXa6xk3dNwXLopQtrEFlLZKgoHY4 JoWErdREp+A7oD9/zoZ72e2dLnWKgy+ER7j63fwbIRS1SNeexIVYIE09sDnQodw9T+MH RqfZH3n/obe/gTwkaQkycDbGW0QE88b1xl/uNkJNAwyO7D+xmobLomOW4L0kmqKlO+vJ Zs/Q== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=cAXrUOWo Subject: [Buildroot] [PATCH v9 08/18] package/python-humanize: add setuptools-scm build dependency X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The host-python-setuptools-scm will be enforced once we migrate setuptools to use a pep517 build frontend. Signed-off-by: James Hilliard --- package/python-humanize/python-humanize.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-humanize/python-humanize.mk b/package/python-humanize/python-humanize.mk index 04cb0713fc..6155954b82 100644 --- a/package/python-humanize/python-humanize.mk +++ b/package/python-humanize/python-humanize.mk @@ -10,5 +10,6 @@ PYTHON_HUMANIZE_SITE = https://files.pythonhosted.org/packages/51/19/3e1adf0e7a8 PYTHON_HUMANIZE_SETUP_TYPE = setuptools PYTHON_HUMANIZE_LICENSE = MIT PYTHON_HUMANIZE_LICENSE_FILES = LICENCE +PYTHON_HUMANIZE_DEPENDENCIES = host-python-setuptools-scm $(eval $(python-package)) From patchwork Sun Mar 31 00:41:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918139 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2T3fkrz1yY0 for ; Sun, 31 Mar 2024 11:42:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A11A48219C; Sun, 31 Mar 2024 00:42:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DDzDKy2ah0IA; Sun, 31 Mar 2024 00:42:22 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 90BEA821CB Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 90BEA821CB; Sun, 31 Mar 2024 00:42:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 92AEF1BF947 for ; Sun, 31 Mar 2024 00:42:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A7D8260611 for ; Sun, 31 Mar 2024 00:42:03 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id eeeyJ9l6A1_o for ; Sun, 31 Mar 2024 00:42:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2e; helo=mail-io1-xd2e.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org B43FF60622 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org B43FF60622 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by smtp3.osuosl.org (Postfix) with ESMTPS id B43FF60622 for ; Sun, 31 Mar 2024 00:42:02 +0000 (UTC) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7c8b95f7f73so71167639f.1 for ; Sat, 30 Mar 2024 17:42:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845721; x=1712450521; 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=cui12cYZUDQtQ8YaQrMt0Ei4PYCEecCA06FpUmltf9s=; b=wlqeFz48ox4jjDHfkqlwLsh7DUX4OODwGfsTJY+puFE+91brrL6dPwSEYhkSNcHQni EQZZkpS9/sHybwEdLFkzub8ZTxV9aCTGwDsfZuSU84tJBOvlFdAy3i0lABRIl6yQg+80 pPHhAJC/tVV3xG4N0kT5Y8E1jvzcnrZKxaLl1TR3oJqTzbNe7wdFaHCdGkcp0Bigb8nh sM516jRxANwYf3ry2i6tSK4/eA04jiYdiyf79BPuFGh2Perx0y0KHCPNto2N4AOVf+V+ o6qOLNQO6i/0IJL18kR4sdM+2nGdinzr7f/9xxsOLyFtg77smpMF7uo25z6mGvv1UgyR QytQ== X-Gm-Message-State: AOJu0YyY6nBZrs/EVD52rCuerezm9ktcl6CUGPZhL4tk5Tq4aFiIw8bJ KPhMjjhZoMZ9Oq39ROvijbcufvUTEmKlFBUqAcnStUcEGOPXjd+8PMEe6ZXMQjSHdQ== X-Google-Smtp-Source: AGHT+IHIDx1xCpLnpNvlPzEQ3JmXnf4uCYebIwr45As5mXIijy4tu54eaZ4/AG84BHzzJRLK9G4AVg== X-Received: by 2002:a6b:7c08:0:b0:7d0:858c:e0f with SMTP id m8-20020a6b7c08000000b007d0858c0e0fmr4217059iok.0.1711845721240; Sat, 30 Mar 2024 17:42:01 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.41.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:00 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:24 -0600 Message-Id: <20240331004133.636618-9-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845721; x=1712450521; darn=buildroot.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=cui12cYZUDQtQ8YaQrMt0Ei4PYCEecCA06FpUmltf9s=; b=INnbSK1XVMz9Ldxjye66byk/oevyIpBG43GSawasDyXonvzXuwt7sPY49x2x0wmf4i C/t960Yhz9AFbXyJQhkdTmRT8sLf2ND6dGXuaGteqanWeE+eR7p4WaYc2gh63r4NqfW3 f+6NH6yqM2Rxg+AdMIURW/ToX7l7u8X4WVOtlewWjgkDYJmA4ZeLVG/LE/s841VJEzox S0ckp9zVdfSexLSehrdlbPbqy8TxtR2RzowXTTPXQyvjmtKpdOVvk0sE3IX2nSu8oNtv eZyfrPdm0xyfEUPkAePd6a2ghlP7IXdnZIEC+yXaNr2ozaVNaS0hTHqCcf3byyT9r/+o /SvA== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=INnbSK1X Subject: [Buildroot] [PATCH v9 09/18] package/python-iso8601: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-iso8601 to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-iso8601/python-iso8601.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-iso8601/python-iso8601.mk b/package/python-iso8601/python-iso8601.mk index ce25a2fb28..080daa4693 100644 --- a/package/python-iso8601/python-iso8601.mk +++ b/package/python-iso8601/python-iso8601.mk @@ -7,8 +7,9 @@ PYTHON_ISO8601_VERSION = 2.1.0 PYTHON_ISO8601_SOURCE = iso8601-$(PYTHON_ISO8601_VERSION).tar.gz PYTHON_ISO8601_SITE = https://files.pythonhosted.org/packages/b9/f3/ef59cee614d5e0accf6fd0cbba025b93b272e626ca89fb70a3e9187c5d15 -PYTHON_ISO8601_SETUP_TYPE = setuptools +PYTHON_ISO8601_SETUP_TYPE = pep517 PYTHON_ISO8601_LICENSE = MIT PYTHON_ISO8601_LICENSE_FILES = LICENSE +PYTHON_ISO8601_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) From patchwork Sun Mar 31 00:41:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918140 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2Y3P3Qz1yY0 for ; Sun, 31 Mar 2024 11:42:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B139E82116; Sun, 31 Mar 2024 00:42:27 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ShQtXPm0d6MN; Sun, 31 Mar 2024 00:42:26 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 79A2F821D9 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 79A2F821D9; Sun, 31 Mar 2024 00:42:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9D7501BF95D for ; Sun, 31 Mar 2024 00:42:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 88E548213E for ; Sun, 31 Mar 2024 00:42:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id UwSEsJMq4Kgn for ; Sun, 31 Mar 2024 00:42:04 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2e; helo=mail-io1-xd2e.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 6C10482134 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 6C10482134 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by smtp1.osuosl.org (Postfix) with ESMTPS id 6C10482134 for ; Sun, 31 Mar 2024 00:42:04 +0000 (UTC) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7d031abe8f8so104683339f.0 for ; Sat, 30 Mar 2024 17:42:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845723; x=1712450523; 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=wFqLdS2ksMucS5DUd2QwheVDdQ2OnV0IjRWjOgrRFKw=; b=sMzWHtg3BxHLj8Z2LOG6pupAVA3/zF5Gw7sHzvmn4c+TycD4SsUccRbbfRkoPtVyz0 WdJVlIXJfvTvtqhI2WL+LUKAOBpGziBpwFJZu53au4+GrV7v/4MjimLobGkzjNKIjlYr Q+rWcnt0xOAR8WlB9HgkNf9F1eaVilR+8b55oUpcmn+WjXIR8oZjgmrf8ck6DI6ji3hq Fh93RvuyIROArEJheY7QC6XqLxRbLMr0XVZ0yeR0V2HJLv/YIhSlZwTgeZa3Vf7WsW9x vAguW1vhlH35e7c+pi7VzVRPoha1EPm4fZzZXbQtFIETdUy57SLyXUCTUh196oLuWlN/ SOWQ== X-Gm-Message-State: AOJu0YytTahlRACXdZCpiG32P1JMw+MYMX32DuiXWPwg6eqmnD0sQpCs Z+6HKZVj6CBQfOuSkRSiqogDWwHKw6L8pIdtcu5WnII77zLhqlULj53gCK+7UNnhdg== X-Google-Smtp-Source: AGHT+IGvonPRoJ2lPoH//cFA2EdSZ+tDVCCGQQmAodoDbFnuqLoxexIjUgMtYCiyzTW4Ni4ZYDmCVw== X-Received: by 2002:a5d:9045:0:b0:7d0:605d:1625 with SMTP id v5-20020a5d9045000000b007d0605d1625mr4392196ioq.9.1711845722778; Sat, 30 Mar 2024 17:42:02 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:01 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:25 -0600 Message-Id: <20240331004133.636618-10-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845723; x=1712450523; darn=buildroot.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=wFqLdS2ksMucS5DUd2QwheVDdQ2OnV0IjRWjOgrRFKw=; b=N4ECoMbYNa6wFny3eJxoZ8gg2HNNWWzQ4her1uUTdQPyN7MGtpMQCoxUUoki/HaxY2 lGOXk4SU28uzbZtega/Sqa8CupQpPP1bLIyMqCob2lawrpGHVgTAOG7Ynh7rRp5qMd1Z G9QEy91fSro90MO184bw5dTjca7mPTz8VgV+BPdDRXXLvXdDCNTOmo/7fhiLHSCI2+Fi 58ra2zBsSX2t1zN0lmci2POpNkO4Lx8+VsJsilIEhvqh78DosgYtSLxlpAQIk4qDe/4T CzSq2iaHPTjWr+V0lRNDHatAYGu2x7pONor8MtEms9sVVV8HVg2sdh6/aORXKKqOnvCJ eSUg== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=N4ECoMbY Subject: [Buildroot] [PATCH v9 10/18] package/python-cppy: add setuptools-scm build dependency X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The host-python-setuptools-scm dependency needs to be added prior to migrating setuptools to pep517 as this dependency is listed as a build requirement in the pyproject.toml. Signed-off-by: James Hilliard --- package/python-cppy/python-cppy.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-cppy/python-cppy.mk b/package/python-cppy/python-cppy.mk index adadc352d3..5bfd5a0f16 100644 --- a/package/python-cppy/python-cppy.mk +++ b/package/python-cppy/python-cppy.mk @@ -10,5 +10,6 @@ PYTHON_CPPY_SITE = https://files.pythonhosted.org/packages/c5/7e/6cc5acd93752ee5 PYTHON_CPPY_LICENSE = BSD-3-Clause PYTHON_CPPY_LICENSE_FILES = LICENSE PYTHON_CPPY_SETUP_TYPE = setuptools +HOST_PYTHON_CPPY_DEPENDENCIES = host-python-setuptools-scm $(eval $(host-python-package)) From patchwork Sun Mar 31 00:41:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918141 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2c0kFrz1yY0 for ; Sun, 31 Mar 2024 11:42:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 87BB7821FA; Sun, 31 Mar 2024 00:42:30 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id CX83pyNbhD35; Sun, 31 Mar 2024 00:42:29 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1206182231 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 1206182231; Sun, 31 Mar 2024 00:42:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1993E1BF947 for ; Sun, 31 Mar 2024 00:42:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B502882134 for ; Sun, 31 Mar 2024 00:42:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id orgI_Wxab8yP for ; Sun, 31 Mar 2024 00:42:05 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d35; helo=mail-io1-xd35.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org B8B9F82142 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B8B9F82142 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by smtp1.osuosl.org (Postfix) with ESMTPS id B8B9F82142 for ; Sun, 31 Mar 2024 00:42:05 +0000 (UTC) Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-7cc864215caso125618139f.3 for ; Sat, 30 Mar 2024 17:42:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845724; x=1712450524; 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=u79JFBpWVn0SMYXp5QMDJkAweI2x/wPR46GtRSk2hus=; b=sTim56omvoQRfN+ZYwCGMZRWZ5zx1CxinhnZH3rKMEmRkcfrG5S1JybJ4KU1ksNq83 J0Kw7xXnAnieGiMNWWM3K9tzwvHV5p8BJIia9Ai+HjRXpIJ/CoBPnXy+kMA4X/t9mGw6 yMFg9au5yvMJfbmEv2FxxbHuHUKMtbqy0q+eQTvQhnPiaxfl6Y/PZq8H7MtnkqiVIbZY fVRaehdEp9LClsdLWH8AwiB1ARzoNESN5kVa+go6rZBFNjRX6I7CyVFtB2xi/1bJJ3VC Qt0h+ceRdWVj9AadnZnSR/z6WatuJzMwckshy7o9WI6tKZixnUSarZaZMfKwO/fyLTQ8 nnMg== X-Gm-Message-State: AOJu0YxPlceZs/Pez07JJFExVNP/jtY737m60681WcNF9ZPg88s1hA+9 KK0pvtaed5IhA9SQ4n+f9rSox4ExNLJQMKN8WYvDGjh8YNV7+8Pf/R50MN1XDdEEsQ== X-Google-Smtp-Source: AGHT+IEO13BJKaw7nUAuqqxge5gQo+FkvMbJ/ItXNt988E23l8yrtB9IlnTelNsqGFAstaMUilkxHg== X-Received: by 2002:a6b:2a87:0:b0:7d0:b61d:3311 with SMTP id q129-20020a6b2a87000000b007d0b61d3311mr2449582ioq.4.1711845724246; Sat, 30 Mar 2024 17:42:04 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:03 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:26 -0600 Message-Id: <20240331004133.636618-11-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845724; x=1712450524; darn=buildroot.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=u79JFBpWVn0SMYXp5QMDJkAweI2x/wPR46GtRSk2hus=; b=GLTQnwH1rtnu4d1RflFIKSqDGVtUm7FWmvfHl/l3jXnWJgIJ4miQzXIjHeYKLWIRoQ 3e/2LFZhY2vC7AdHGFIdLpHU+rW+Xe0ZdyYR1a9Pe3qhlzB8oMVI5zUh3Z8XPonhTd2h xlCZNebb2BTGAFN2/UcMh/7iyQc2b/gPHCRRyNtZFtw1BqVQLP/btGYDYuRONwdltj16 buo3BjalkjTrjoW3Jlw8kIWKwxyUDIsvXais8dFQQ1YgCvXWjZEqYy1jOkZwSkw/mp8s lqEjDEs3rwDIM9GJM//s624Zuwn9KTis8cpPIB9BtClJ7menlz85XxMuYJYNpcLB0wOA SvBA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=GLTQnwH1 Subject: [Buildroot] [PATCH v9 11/18] package/python-pylibftdi: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-pylibftdi to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-pylibftdi/python-pylibftdi.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/python-pylibftdi/python-pylibftdi.mk b/package/python-pylibftdi/python-pylibftdi.mk index 7dca37e416..7607c90d4a 100644 --- a/package/python-pylibftdi/python-pylibftdi.mk +++ b/package/python-pylibftdi/python-pylibftdi.mk @@ -9,7 +9,9 @@ PYTHON_PYLIBFTDI_SOURCE = pylibftdi-$(PYTHON_PYLIBFTDI_VERSION).tar.gz PYTHON_PYLIBFTDI_SITE = https://files.pythonhosted.org/packages/d2/ce/ff3e83f3a14eb5b7950ff3657f07cdc3033dd0ded5c8ed093db515e1de33 PYTHON_PYLIBFTDI_LICENSE = MIT PYTHON_PYLIBFTDI_LICENSE_FILES = LICENSE.txt -PYTHON_PYLIBFTDI_DEPENDENCIES = libftdi -PYTHON_PYLIBFTDI_SETUP_TYPE = setuptools +PYTHON_PYLIBFTDI_SETUP_TYPE = pep517 +PYTHON_PYLIBFTDI_DEPENDENCIES = \ + host-python-poetry-core \ + libftdi $(eval $(python-package)) From patchwork Sun Mar 31 00:41:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918142 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2g2smFz1yY0 for ; Sun, 31 Mar 2024 11:42:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C2F4D82234; Sun, 31 Mar 2024 00:42:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id sTyQ7BKpbOeJ; Sun, 31 Mar 2024 00:42:32 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4BFDE82235 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 4BFDE82235; Sun, 31 Mar 2024 00:42:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 622011BF947 for ; Sun, 31 Mar 2024 00:42:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E119E4064C for ; Sun, 31 Mar 2024 00:42:07 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5Wl8WhduJHhn for ; Sun, 31 Mar 2024 00:42:07 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2f; helo=mail-io1-xd2f.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org DB12740643 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DB12740643 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by smtp4.osuosl.org (Postfix) with ESMTPS id DB12740643 for ; Sun, 31 Mar 2024 00:42:06 +0000 (UTC) Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7d031abe8f8so104684339f.0 for ; Sat, 30 Mar 2024 17:42:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845725; x=1712450525; 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=L/ea4G80Bn+tzKw2w6IunQDRqdrtOFXuuAAC6fXvp7M=; b=Tesum6Otx8r/guKZBPQWVlHSHUFpmqvG5TLIHbPh9mR9a8mmwd2k6MoyFPPAm6TF4/ bhfqMvO5lobfD8BMvBWVt22TtwZhXNpc/4ZiRtF4iC74Ks0KvSbdh8gTLoRS10XxrNVU zYF6m/BBPzM5JqT9RsS+D6+QvwGJKKREAnUQ+6WN7Ac+nn0FHl1tT4jRWPKWxrzW8jC2 prTMzzV0/rgtqtylv2Z7wYWBw5GKvcmGA9QYJca5LwDtMJcfRivXOUJ1gKePnvHvI6oe UrMISQk6Zm0dvOJejODPGrFriZr5SJAev9WJsXsoEiJkwP0xOUwpfz8FDebLBLdDfCLt oeOQ== X-Gm-Message-State: AOJu0YyuDv1PuZgtpB+lPch22F7Rvf06oQvvXyH0snSW2Zas4hay2YNe B/8GvOQwYfVSU8CFDe+9uEtg6S3jny9qgCTST4i68dmPSBP5is0dwkp53tCegmYkQA== X-Google-Smtp-Source: AGHT+IHogajFGy39+18KoMJmojmZTWvYG8EuoAlRW59079dkH5AzPURCsNoxzy0loUfKCX7uTwnELQ== X-Received: by 2002:a05:6602:3282:b0:7d0:665e:9af6 with SMTP id d2-20020a056602328200b007d0665e9af6mr6451264ioz.9.1711845725583; Sat, 30 Mar 2024 17:42:05 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:04 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:27 -0600 Message-Id: <20240331004133.636618-12-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845725; x=1712450525; darn=buildroot.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=L/ea4G80Bn+tzKw2w6IunQDRqdrtOFXuuAAC6fXvp7M=; b=g15DzqCeKtPDSOC/jsyn/ToH1g40l0xFP6RYqWm86ZR4js+SNWnc6TOhQEyMqCF9uo EZbd9fXZrCcf8A7FWulJNC6g2V3/P7P2bUyKTbXo4BaM+qbGifjATlPfovYmQf+qWxs3 WuwclL883Ma5Pfh4Eh7oEz0Vu6Xf5+arFjN31I9pIuy5vxUareYnmDVzNsZAmjuuU6XA dsCEAQFFgUsDAATrDdTEIQuqMjGIv/4wyanL6xYlhu/slDDQ53Efkm+EYhGjdusVmj7q NBb7FZeCP6CdlXbdWqhde/MbBKmPJdzSIe9b5xeP12ZNc7nqVLfcWBahEBEJvenbLrNY 9gQA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=g15DzqCe Subject: [Buildroot] [PATCH v9 12/18] package/python-sip: add missing setuptools dependency X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The python-sip package requires distutils which is no longer included with python but is now part of setuptools. Signed-off-by: James Hilliard --- package/python-sip/python-sip.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/python-sip/python-sip.mk b/package/python-sip/python-sip.mk index 3e015fa16c..392928f01e 100644 --- a/package/python-sip/python-sip.mk +++ b/package/python-sip/python-sip.mk @@ -9,8 +9,8 @@ PYTHON_SIP_SOURCE = sip-$(PYTHON_SIP_VERSION).tar.gz PYTHON_SIP_SITE = https://www.riverbankcomputing.com/static/Downloads/sip/$(PYTHON_SIP_VERSION) PYTHON_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0 PYTHON_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3 -PYTHON_SIP_DEPENDENCIES = python3 qt5base -HOST_PYTHON_SIP_DEPENDENCIES = host-python3 +PYTHON_SIP_DEPENDENCIES = host-python-setuptools python3 qt5base +HOST_PYTHON_SIP_DEPENDENCIES = host-python3 host-python-setuptools define HOST_PYTHON_SIP_CONFIGURE_CMDS (cd $(@D); \ From patchwork Sun Mar 31 00:41:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918143 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2k4xldz1yY0 for ; Sun, 31 Mar 2024 11:42:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 224828224D; Sun, 31 Mar 2024 00:42:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id n4kRvkNcHGog; Sun, 31 Mar 2024 00:42:36 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EE1AE82254 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id EE1AE82254; Sun, 31 Mar 2024 00:42:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 362881BF954 for ; Sun, 31 Mar 2024 00:42:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2205E40658 for ; Sun, 31 Mar 2024 00:42:09 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id G2-CPKFqJdo8 for ; Sun, 31 Mar 2024 00:42:08 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d33; helo=mail-io1-xd33.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 19D4840643 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 19D4840643 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by smtp4.osuosl.org (Postfix) with ESMTPS id 19D4840643 for ; Sun, 31 Mar 2024 00:42:07 +0000 (UTC) Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-7cc864215caso125620139f.3 for ; Sat, 30 Mar 2024 17:42:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845727; x=1712450527; 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=j8Mb4XX+60xDT6FnCIIuqVAkuW+CIQKQTlAVj+IWPZw=; b=XjQBUKVLc6Deif/fez79O9lUpBMmllJBouerltY7EAZjHSClB+DzwL1KJmzby7gdz8 bR4mMJmRUUIo0Xjr5PVUQIRfluWmhPXqPfc//bZ00wXbG3pnqehzashHMT9Z0Ii9C/DM w8fNnBr+QIICl9mHIEIuLysaf4cg9I06o2zohGkWGoHnAwx4TxObChwvNbeFgiO22aMO iLTdqzuxcwMBVY7hFFhy2Rwem41KeZsFd/VjTTHyY0tJmWsBFVfGkXcsMi34vt6FVz4T lC4YEDze7W3fK9bA2tcROciIm6Gw7L5PqqnkVDoz55O6SRBxqvz07uRHt8KXZvbB63xj muNA== X-Gm-Message-State: AOJu0YwaqF0RC+DLCq3jBfsUGfPJm33kci4tw3vM8fylF5fgoNnszarU mWauK/Tf0XJP5rCuwR7lsxh2Cb88wHbMMa/zHjcRK11HtNgBFCAQaMCh0occ75TgWw== X-Google-Smtp-Source: AGHT+IE3zPzKbBBo5TSPgdVn8Gfx4s7fc5DuI8kXl4qqD7AJWquMAOQkqzZBa18438InS4GwQ5osMA== X-Received: by 2002:a05:6602:1d4e:b0:7d0:8880:e49b with SMTP id hi14-20020a0566021d4e00b007d08880e49bmr6712383iob.15.1711845726813; Sat, 30 Mar 2024 17:42:06 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:06 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:28 -0600 Message-Id: <20240331004133.636618-13-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845727; x=1712450527; darn=buildroot.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=j8Mb4XX+60xDT6FnCIIuqVAkuW+CIQKQTlAVj+IWPZw=; b=jcz3krakgsaYMPA3jgkERqh5p7d1xanRYy1vk08WkNlJgR+ljP0SExw41DbHlVFapl Y+SuFD0KZK8W0+XWZzw8PLCPuccdvQhnExDfXUZ6ZjLEiW4xz/mH1re0b2yKYBzWfXjd 7zBmpoTDrI62ViX6emOJ+1iQZB/z51aBzG4k430Pw/WEDTZ7DJ8bBMTyBkDsTqw3cvYU s7uHFjB08r/Kly2mvdV6FqTTOQZutBx4Qn6AK2h6whm98JU/c3b7l7XZtoCD2lZ7IMF0 JsK/EfpvIvW2TGhPaLmKR+yCV5iTRLAj7TurpGQcJu7dKGADyp6KhIB96a6z8nleegIT QpZQ== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=jcz3krak Subject: [Buildroot] [PATCH v9 13/18] package/python-rsa: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-rsa to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-rsa/python-rsa.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-rsa/python-rsa.mk b/package/python-rsa/python-rsa.mk index d84ba8b431..69a6309b19 100644 --- a/package/python-rsa/python-rsa.mk +++ b/package/python-rsa/python-rsa.mk @@ -7,9 +7,10 @@ PYTHON_RSA_VERSION = 4.9 PYTHON_RSA_SOURCE = rsa-$(PYTHON_RSA_VERSION).tar.gz PYTHON_RSA_SITE = https://files.pythonhosted.org/packages/aa/65/7d973b89c4d2351d7fb232c2e452547ddfa243e93131e7cfa766da627b52 -PYTHON_RSA_SETUP_TYPE = setuptools +PYTHON_RSA_SETUP_TYPE = pep517 PYTHON_RSA_LICENSE = Apache-2.0 PYTHON_RSA_LICENSE_FILES = LICENSE PYTHON_RSA_CPE_ID_VALID = YES +PYTHON_RSA_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) From patchwork Sun Mar 31 00:41:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918144 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2s3dFdz1yY0 for ; Sun, 31 Mar 2024 11:42:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CDF2682102; Sun, 31 Mar 2024 00:42:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id zB_6dSYvjFwk; Sun, 31 Mar 2024 00:42:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 04D2982271 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 04D2982271; Sun, 31 Mar 2024 00:42:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 20D721BF947 for ; Sun, 31 Mar 2024 00:42:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7A78A60611 for ; Sun, 31 Mar 2024 00:42:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id J7TjRt4k8AFj for ; Sun, 31 Mar 2024 00:42:09 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d36; helo=mail-io1-xd36.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 8426260622 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8426260622 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by smtp3.osuosl.org (Postfix) with ESMTPS id 8426260622 for ; Sun, 31 Mar 2024 00:42:09 +0000 (UTC) Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7c8060a8489so97113739f.0 for ; Sat, 30 Mar 2024 17:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845728; x=1712450528; 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=gCZfjHW0T2bUUUkhl9aCq1nvXak6BP50PQnGOePk+V8=; b=w6pyJI9R0dpEyq4NEuXfzNQi2sdP00U45Vj7qJAYP3VX02i5LYz7IB1LOnxdTXRZU3 UyDi+KSlBKaeHubDSIPuz3gkwJpXGZxMx8Cg2qW2sOfeJO8T+nGOX25cD0PZFQwP/k40 Wb6IkoBIOeYBxxlFjn4tIpTNDkjypJR5BRxGXAe4uAk7kOsxW5sI+dpPhyPz2zqsYAvU GaDoJ0B1UuV70H2HE2ojCQ0u8V1gBrKhQ0AGDbOhaEdiWmafnB28iX0u8ihJfeQmek8+ /VyXsCMqYtAsJ/pW96e7DjI4Jfl53q2K+/WlU1o/cF3gSY5yHGHvtCWa0LMlp+oio78z kMCg== X-Gm-Message-State: AOJu0YzPcVsT5BcdXD03+uqddjnxcYrc0vRL/Z0+dGtZ5U2Wnu9stukN QaAf9gTXIiQ/z8770yawVXFzKbl+LoDiPNNzY2wYQdTtG8dBEw/rPX+Bohw2f0kWAg== X-Google-Smtp-Source: AGHT+IECTKHDVFLgNr10DGWWkf4bh6gN3qTfJUaPCsNRj7X2NL6BW3nJGeK2z2uPBmy9fhyUd4pv4g== X-Received: by 2002:a05:6602:8c3:b0:7d0:7cd3:fe71 with SMTP id h3-20020a05660208c300b007d07cd3fe71mr6413128ioz.18.1711845728128; Sat, 30 Mar 2024 17:42:08 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:07 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:29 -0600 Message-Id: <20240331004133.636618-14-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845728; x=1712450528; darn=buildroot.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=gCZfjHW0T2bUUUkhl9aCq1nvXak6BP50PQnGOePk+V8=; b=UBuD7FKQLE2junEJPJmaRirwG5uPHKm2FByAmVFYv57Px5ZZKY4csWlFmIrimlMt4j epLmbB8dehRvVt4WFNE3POz6ZjPK2OufpUrqknq3QnmRtEG1tEzmzb1j2WPzJh9vp9AO 1GKHBi/KnvwR+5XiAeEIr/FSUruc49NMrJXPL9EONkz3iNl+N7I2ZqZSvGa9oD1P4COS QvXPL+D2vlpNaKmIQuxHXuWs1xi0regH3Z0o9cwq3k3Na3VZEUSDcllQQHe+ZqOwQ/iK EGzFAdoF7/gkplx6YGENnMHzc5FHNxc3o+aBCb2gAILFZRsDfr/iCUSLxwEGhUTSKexm qN6g== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=UBuD7FKQ Subject: [Buildroot] [PATCH v9 14/18] package/python-sh: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate python-sh to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. Signed-off-by: James Hilliard --- package/python-sh/python-sh.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/python-sh/python-sh.mk b/package/python-sh/python-sh.mk index af4da3f6c9..29843d645b 100644 --- a/package/python-sh/python-sh.mk +++ b/package/python-sh/python-sh.mk @@ -7,8 +7,9 @@ PYTHON_SH_VERSION = 2.0.6 PYTHON_SH_SOURCE = sh-$(PYTHON_SH_VERSION).tar.gz PYTHON_SH_SITE = https://files.pythonhosted.org/packages/cd/51/7355831d8e1cee8348157d769ccda8a31ca9fa0548e7f93d87837d83866d -PYTHON_SH_SETUP_TYPE = setuptools +PYTHON_SH_SETUP_TYPE = pep517 PYTHON_SH_LICENSE = MIT PYTHON_SH_LICENSE_FILES = LICENSE.txt +PYTHON_SH_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) From patchwork Sun Mar 31 00:41:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918146 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2y05dRz1yY0 for ; Sun, 31 Mar 2024 11:42:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 77D9D822B3; Sun, 31 Mar 2024 00:42:48 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id A3pmCETWK_b2; Sun, 31 Mar 2024 00:42:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org EA2BE822AC Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id EA2BE822AC; Sun, 31 Mar 2024 00:42:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 83C4C1BF947 for ; Sun, 31 Mar 2024 00:42:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id AC5E5606E9 for ; Sun, 31 Mar 2024 00:42:12 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id baJt0jbdYGVI for ; Sun, 31 Mar 2024 00:42:11 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d31; helo=mail-io1-xd31.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 1814860622 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 1814860622 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by smtp3.osuosl.org (Postfix) with ESMTPS id 1814860622 for ; Sun, 31 Mar 2024 00:42:10 +0000 (UTC) Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-7d0ace5dcf4so39024339f.0 for ; Sat, 30 Mar 2024 17:42:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845729; x=1712450529; 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=d0JY1tuDy+qUGJ8M6k85sDVJLP9m22vfaI4+s+KDCbA=; b=lS8geXdessZiBpAzhTn5dxLCyW76IL2ANnWgaNJe8MStR1cFMev5tctbC0BhT7hg/o c0po+gIGaM/U0hv0f1sBPcfRzjNV68ogFmKAyiRLk5ytVE8zyf+vNpUjoWQRKYNI43Zf KQSCr3GLm6aUGaF+3KO8k7O77A32GWf2Gp2QYbMmkpPqepDgaPGBWrDlWacaCEle0jwU 6qnCYbl0XYlcmO6/n9A0ld3e6cQ2WBDE9iun15bo0Gr51L3E4ABz01zBL9dxKOVaC3K5 HoRx+mcnPpKTfElfcDoxfNe6UXZlTdNmeVlLr23rkn42/v27g55BlYRuaOekhoood+gS KEmA== X-Gm-Message-State: AOJu0Yz65ZjakPtrT4qUuhSwwe94B5BnRde4wo8NZAtSGpN5fPB9byIw 5vGBEMoi4kzG+2vSDeyaDNcLK6zIDoGLdrdT6KYPTJO9DbJpRNn5In5oX5L4YEEKIA== X-Google-Smtp-Source: AGHT+IH6AijhgzPGzsgh3JPr4bl/PZsbD8jzgala8PspaOyyMW+o67Q0TB4wyNou8j7KqFsjL04eOQ== X-Received: by 2002:a5e:de0d:0:b0:7d0:8868:b454 with SMTP id e13-20020a5ede0d000000b007d08868b454mr5868058iok.21.1711845729661; Sat, 30 Mar 2024 17:42:09 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:08 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:30 -0600 Message-Id: <20240331004133.636618-15-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845729; x=1712450529; darn=buildroot.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=d0JY1tuDy+qUGJ8M6k85sDVJLP9m22vfaI4+s+KDCbA=; b=g2yPvwPbbId8zMUH3rVBVoHnB/ipEADz6NWJ73W7xgzZh6iDlhxkVCxtPJtN64cuIi AQdrZQl6Vg0vchRVHyNt9kmPSRsaM4Mz3FY4tvCti3/WEVP6iXmzH3JVYTTPnSkS9k8U 7Z4KYv1cYQGGLJgnua8OHkRKzmZlW1gRJgI03Tvbzdf8a51rE9R5912616ECz7c/1z2e TsRcQsoYHtmWu6vyuzPdmGhgp8JlZLVpibnTdPBhLEvSnU6yre3AIjKQdui0rR025Yr4 m4xiJPCwTCZSp8AnMGZrgTv4E06I6qyVZwR0NHBuEL6xKAew1SSsXoMo0yGtewB7sd2/ RrzA== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=g2yPvwPb Subject: [Buildroot] [PATCH v9 15/18] package/python-simplelogging: migrate to poetry core pep517 build backend X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" We need to migrate package/python-simplelogging to the pep517 poetry-core backend as setuptools is not supported when building with a pep517 frontend. This package currently builds using setuptools as we do not yet use setuptools with a pep517 build frontend. The package contains a setuptools fallback which only can be used when using setuptools without a pep517 frontend as the pep517 frontend will only use the build backend specified in the package pyproject.toml which is poetry-core and not setuptools. We also need to add a patch which switches from poetry to poetry core as we do not support the full poetry package. Signed-off-by: James Hilliard --- ...-Switch-build-backend-to-poetry-core.patch | 31 +++++++++++++++++++ .../python-simplelogging.mk | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 package/python-simplelogging/0001-Switch-build-backend-to-poetry-core.patch diff --git a/package/python-simplelogging/0001-Switch-build-backend-to-poetry-core.patch b/package/python-simplelogging/0001-Switch-build-backend-to-poetry-core.patch new file mode 100644 index 0000000000..2c345fe268 --- /dev/null +++ b/package/python-simplelogging/0001-Switch-build-backend-to-poetry-core.patch @@ -0,0 +1,31 @@ +From 76c1c545bad28f592405ca1e5bcf6081051c946a Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 13 Feb 2024 13:37:00 -0700 +Subject: [PATCH] Switch build-backend to poetry-core + +poetry-core is the lightweight counterpart of poetry that is intended +to be used as a build-backend. Unlike poetry, it does not require +installing all the dependencies of the package manager, making +the builds much faster. The generated artifacts are the same. + +Signed-off-by: James Hilliard +Upstream: https://github.com/vpoulailleau/simplelogging/pull/230 +--- + pyproject.toml | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index a89ab64..79403cb 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -55,5 +55,5 @@ commands = + """ + + [build-system] +-requires = ["poetry>=0.12"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=1.0.0"] ++build-backend = "poetry.core.masonry.api" +-- +2.34.1 + diff --git a/package/python-simplelogging/python-simplelogging.mk b/package/python-simplelogging/python-simplelogging.mk index 556628613b..dbd9ce3ae3 100644 --- a/package/python-simplelogging/python-simplelogging.mk +++ b/package/python-simplelogging/python-simplelogging.mk @@ -7,8 +7,9 @@ PYTHON_SIMPLELOGGING_VERSION = 0.11.0 PYTHON_SIMPLELOGGING_SOURCE = simplelogging-$(PYTHON_SIMPLELOGGING_VERSION).tar.gz PYTHON_SIMPLELOGGING_SITE = https://files.pythonhosted.org/packages/73/d6/4c06aa7f2c3b9fc09429a1196fd357357cc555de5e16c09b2d12e9db1ebb -PYTHON_SIMPLELOGGING_SETUP_TYPE = setuptools +PYTHON_SIMPLELOGGING_SETUP_TYPE = pep517 PYTHON_SIMPLELOGGING_LICENSE = BSD-3-Clause PYTHON_SIMPLELOGGING_LICENSE_FILES = LICENSE +PYTHON_SIMPLELOGGING_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) From patchwork Sun Mar 31 00:41:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918145 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b2v40kjz1yY0 for ; Sun, 31 Mar 2024 11:42:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3B7208213E; Sun, 31 Mar 2024 00:42:45 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id vaqzciVfWIT9; Sun, 31 Mar 2024 00:42:44 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org F173B822A1 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id F173B822A1; Sun, 31 Mar 2024 00:42:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 55A9F1BF95D for ; Sun, 31 Mar 2024 00:42:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4251882173 for ; Sun, 31 Mar 2024 00:42:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id mFrxBSNnP5In for ; Sun, 31 Mar 2024 00:42:12 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d29; helo=mail-io1-xd29.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 8AED482182 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8AED482182 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by smtp1.osuosl.org (Postfix) with ESMTPS id 8AED482182 for ; Sun, 31 Mar 2024 00:42:12 +0000 (UTC) Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-7cf092f6bb7so138980839f.3 for ; Sat, 30 Mar 2024 17:42:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845731; x=1712450531; 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=YSxsfW/ITZwEKemOsvncEHOXicRO2tKX6wy8sM6y8Rs=; b=JILpMAWn3PrKDfdMOGLwA15KUR3vf0ZWO4h8aP/12kDE6hrC0Dh+FA4F76wDhCXsgQ TSfMfLhvrufZHtsuYA80gWeLSXa+HTN4GFT+Vyy+vjFQWHqzCqmpLkXely6iYj7/evdd LTa5ZJgF/9poadts8OkWqSUxGRqhic3CYEfjpYBtLUJA6Jy6PArzw2X0i30pzOpBXcQG 1y2ckJg1ozcaCRmT1ZQyWhprfkXfalJ3fZDaFSX/ZvMZ9eMXFNpytzyqmmZUuzAoed3C pKkxhu42s4UEg2rim8KUv9UrFtGWrVkghTfuNAUPcMl0GyjDlNKgEmJqPGxiGthCS1b0 ASkQ== X-Gm-Message-State: AOJu0Yyc10wjF/Zwk5naJ8V8+Oq/MUsceRyb/URDsValMlsW5MUlhVhE cplBtZZchf3TLfoAZ7wbuWZLGgTRATYJqJ93fo70OVdTsDLOkicFV4LYbReSzQf48g== X-Google-Smtp-Source: AGHT+IFohOmQYNWf9LpRH7hYAmwjYNl3BwiDZWBxjHQXi+G8zj9wd/+GWLjkIRHqMfwBVy3GLs8Smw== X-Received: by 2002:a6b:6d16:0:b0:7d0:87d3:c471 with SMTP id a22-20020a6b6d16000000b007d087d3c471mr6640236iod.11.1711845731108; Sat, 30 Mar 2024 17:42:11 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:10 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:31 -0600 Message-Id: <20240331004133.636618-16-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845731; x=1712450531; darn=buildroot.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=YSxsfW/ITZwEKemOsvncEHOXicRO2tKX6wy8sM6y8Rs=; b=OsH807EJImkKtPcQKTQygzHraHoNVetd8tvqx/pKX8A7vWpYRST5bUIcp2mzc3Lxvm 578cA/mkkO2Oz6rKgc1/YsquxUI3UEJhMgmdT48cHwI2rcF/BVcC3kz9qPozpsYVLECb 4leT2HKWo5bej6aJdrr2RVoD2CH5X2e3o+ety27Heq2zuZSmiVZ2NSDo6qs+CtnFApji z8EGLfBrTIzrKdEKgnmZuWXRjk4WdcB083vvfgIEpC0/5gbUx1RhtIG0zeKnGYL+DBMK Brqk166wXBiUD5ZoXNcD9CITSGIlT7qCVFP++29A4RE/eDHhemdySqSC65k8Eqm2YorF hgQw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=OsH807EJ Subject: [Buildroot] [PATCH v9 16/18] package/python-pyzmq: add cython for python-pyzmq X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" When migrating to setuptools with pep517 support we need to add host-python-cython which is a pep517 build dependency for python-pyzmq. Signed-off-by: James Hilliard --- package/python-pyzmq/python-pyzmq.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk index 1d9a7d01cb..f1444b9124 100644 --- a/package/python-pyzmq/python-pyzmq.mk +++ b/package/python-pyzmq/python-pyzmq.mk @@ -13,6 +13,7 @@ PYTHON_PYZMQ_LICENSE_FILES = LICENSE.LESSER LICENSE.BSD PYTHON_PYZMQ_SETUP_TYPE = setuptools PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr PYTHON_PYZMQ_DEPENDENCIES = \ + host-python-cython \ host-python-packaging \ host-python-setuptools-scm \ zeromq From patchwork Sun Mar 31 00:41:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918147 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b311DWnz1yY0 for ; Sun, 31 Mar 2024 11:42:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9C40C82245; Sun, 31 Mar 2024 00:42:51 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id lOTVqD4gObCp; Sun, 31 Mar 2024 00:42:50 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3865982106 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 3865982106; Sun, 31 Mar 2024 00:42:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7C38C1BF947 for ; Sun, 31 Mar 2024 00:42:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 58B4D8218F for ; Sun, 31 Mar 2024 00:42:15 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 13TfPaMu8ekS for ; Sun, 31 Mar 2024 00:42:14 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2c; helo=mail-io1-xd2c.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 06FBA82130 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 06FBA82130 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by smtp1.osuosl.org (Postfix) with ESMTPS id 06FBA82130 for ; Sun, 31 Mar 2024 00:42:13 +0000 (UTC) Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7c8bb3c2494so114550639f.0 for ; Sat, 30 Mar 2024 17:42:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845732; x=1712450532; 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=IA0I+8qxBnxbYs2gDs/miqYRyXPzYFdLqGSwFDNPCHU=; b=fmjPO+w9tsnvFFP/JUkTcVsZgfE+uK57JxHOe3RXKrr8u4/XFLfkatlXgHLR6IwUb0 AOWOopZ5grNAhNlZwYAdsWzzsxw6riqwqO4ndR91eI6WkMjsSShLSWpG0pp5NbeqG93x XzEC4crNblb95wYoBRppkb+CJlaZrpeen1EM+4fCu0k1MRJAHfR+ushdKSp3hMSM7Wu2 08CoFdR5vb2iHQ3i7376hdXirj5T+flln7vtj/4uz4rpFnfld2a/FTbV68bEed0LLZ2S CyqCrTWUdAN9v+72o25tUj5ZsCLiAoDPKkBzZ2iuI+NXyFD2m1f8yDjZdmp4NaXqTTpz 84qg== X-Gm-Message-State: AOJu0YwszUQ9hRrbT3UurNB//UOhyPHW2d3vL6jPc6BSv2Bq/d82psjV tYAJZPjTYQ+s8dbbc6w21fXfl7MCSQEK3XXPzxRNVZPfipXLQn1Yozqj5jiYkJs83Q== X-Google-Smtp-Source: AGHT+IFMfnc79DawVgIN95shpDemFuA1TtEYvcUBa0F1/NNGEXgUyDIKIqiWAVT+5aHTfVyMtR7EvQ== X-Received: by 2002:a05:6602:184:b0:7cf:7207:a6d2 with SMTP id m4-20020a056602018400b007cf7207a6d2mr3587057ioo.10.1711845732547; Sat, 30 Mar 2024 17:42:12 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:11 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:32 -0600 Message-Id: <20240331004133.636618-17-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845732; x=1712450532; darn=buildroot.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=IA0I+8qxBnxbYs2gDs/miqYRyXPzYFdLqGSwFDNPCHU=; b=WV3CTvaeQV5FknDo52HZZnPyQW2ZB81mIE16/OmFxlotWx5Vh1a1jxVm3WMSuSnbn0 XCixaax8U0561JrhTqJpYIYP7AsLoO5FwY8lW3LeRiiAXxSWCV3OdDKaET4B3ifrWhC2 01vzlnbnZIt0Pm9cMaz1HfwVEisk2DXC+FZbZBWsaBnj61WC8pu8PO3NmF9rVmoffEgb P0LhT2rl8V0NbqtOViJbbLmVer7KRtkhJP5fsEdRByeorrrdVh4YNiWs/jo5+DwqGqaL wiXB4xtyqETXMsmOlHRePpHSq9z7XACJmQTWCyrOC/XEulKUhBEWnHPcvxsYjJifMF/j 100w== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=WV3CTvae Subject: [Buildroot] [PATCH v9 17/18] package/python-setuptools: bump to version 69.2.0 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: James Hilliard --- package/python-setuptools/python-setuptools.hash | 4 ++-- package/python-setuptools/python-setuptools.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/python-setuptools/python-setuptools.hash b/package/python-setuptools/python-setuptools.hash index 7f13ac3896..123c9a1455 100644 --- a/package/python-setuptools/python-setuptools.hash +++ b/package/python-setuptools/python-setuptools.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/setuptools/json -md5 b82de45aaa6b9bb911226660212ebb83 setuptools-69.0.3.tar.gz -sha256 be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78 setuptools-69.0.3.tar.gz +md5 940ffdb3a2ce4f6a5ee80032aa115fc7 setuptools-69.2.0.tar.gz +sha256 0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e setuptools-69.2.0.tar.gz # Locally computed sha256 checksums sha256 86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE diff --git a/package/python-setuptools/python-setuptools.mk b/package/python-setuptools/python-setuptools.mk index 0aea3c6cfa..afc7348eb2 100644 --- a/package/python-setuptools/python-setuptools.mk +++ b/package/python-setuptools/python-setuptools.mk @@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_SETUPTOOLS_VERSION = 69.0.3 +PYTHON_SETUPTOOLS_VERSION = 69.2.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/fc/c9/b146ca195403e0182a374e0ea4dbc69136bad3cd55bc293df496d625d0f7 +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/4d/5b/dc575711b6b8f2f866131a40d053e30e962e633b332acf7cd2c24843d83d PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python From patchwork Sun Mar 31 00:41:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1918148 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V6b384VRxz1yY0 for ; Sun, 31 Mar 2024 11:43:00 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E2FED82309; Sun, 31 Mar 2024 00:42:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Dme-4zIApvUF; Sun, 31 Mar 2024 00:42:54 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org DB8C4821D9 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id DB8C4821D9; Sun, 31 Mar 2024 00:42:52 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 51E231BF947 for ; Sun, 31 Mar 2024 00:42:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0083960611 for ; Sun, 31 Mar 2024 00:42:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5miAnvDKtroI for ; Sun, 31 Mar 2024 00:42:15 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d2b; helo=mail-io1-xd2b.google.com; envelope-from=james.hilliard1@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 2904660627 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2904660627 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2904660627 for ; Sun, 31 Mar 2024 00:42:14 +0000 (UTC) Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-7d0c0e3d675so3686939f.2 for ; Sat, 30 Mar 2024 17:42:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711845734; x=1712450534; 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=ZDyLsR9SWredvpMnlj9xNwO1Fw0heCHnTt5vwPV92WM=; b=W3JEx4H6gKWmR4A3nKWkTA+GdzBi8CpGu1UbqrrNtoYQ2Gsu2FrRSkfZMdo5XMOH+0 xOAJ7SkGzDxJ2L1YXQnjkMfQbJPGX5KIbTLtsCVnhCK50de4hMuget6YGEAO0lIF5mpA ThxgyTBN5s5tjLfmhADKNX4JsIPxJuHF5nqT8Q4UKDntekVVRdzJfxgkEFHhwCd3SgwZ taX8BfnT9KzJlsYQdKkYfCsWHj+za1YwpcMYNw2rTAmpjGUHFMEWDyJRDvmgmcxS2iM0 HEItZBxkbZUsP2pFqtU33y7nHgdfPino0bODQF1CNSeggFD41jA3PEmaQr8zcuaXe3eM eJCA== X-Gm-Message-State: AOJu0Yyp6r+77NyYBX4okRJmPCcpuAYMwo3tKpIVtnADioJhLzvu6jv6 ko9Ud34X79L40SQuUo/KrF5gJlPSxmPZ9RNy7inC+t1QpjvzPy3xqF8+N0VRWKDxmw== X-Google-Smtp-Source: AGHT+IHRdcBhiNPQi36w1DZZDwJCJ7fjk8FoLmYYDO+p4xlt3Tbax4Gi+7VE46vfxjH8D5J5p4yi5A== X-Received: by 2002:a05:6602:1dc1:b0:7c8:55c2:63dc with SMTP id hk1-20020a0566021dc100b007c855c263dcmr6838350iob.9.1711845733695; Sat, 30 Mar 2024 17:42:13 -0700 (PDT) Received: from james-x399.localdomain (71-218-245-145.hlrn.qwest.net. [71.218.245.145]) by smtp.gmail.com with ESMTPSA id q1-20020a5ea601000000b007d05927cb31sm1851053ioi.45.2024.03.30.17.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 17:42:13 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sat, 30 Mar 2024 18:41:33 -0600 Message-Id: <20240331004133.636618-18-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331004133.636618-1-james.hilliard1@gmail.com> References: <20240331004133.636618-1-james.hilliard1@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711845734; x=1712450534; darn=buildroot.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=ZDyLsR9SWredvpMnlj9xNwO1Fw0heCHnTt5vwPV92WM=; b=bpZ8sJLWrO8HwPXAsGMuexAOFmcAXeK7fQ1zUCb3/wB30ZRIgmQhEi7OzpMPReapJQ upadln9L52JgE2nCugSjLrAmQl1RhuuRxe8OPwaG+O4DqkEnk8Gh2q7Sx1MuWqudDZlk UGX6lz23VR2mNtjiic09HaF/r8o3U+JIuPrO32C8nkjWssueoRQMQPdMT0zjtkxBxtBo lkaan0p5h9CqDjItPSEL9N9hDUWvh+2XUDHQWXP1FRAgaXWZy6zFuZvADznNVHvXdj97 fU/oYGdO3L3CNFLKzdV2B+a/P/3RdNF8/SbgwkKcRUqAbkNMAp3CW6oFbpWQ/SHZN6iQ rvIQ== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=bpZ8sJLW Subject: [Buildroot] [PATCH v9 18/18] package/pkg-python.mk: migrate setuptools to pep517 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jugurtha BELKALEM , Gustavo Heinz , =?utf-8?b?UmFwaGHDq2wgTcOpbG90dGU=?= , Attila Wagner , Gwenhael Goavec-Merou , Louis Aussedat , Angelo Compagnucci , Asaf Kahlon , "Wojciech M . Zabolotny" , Joris Offouga , James Hilliard , Marcin Niestroj , Christian Kellermann , Thomas Petazzoni , Giulio Benetti , Mauro Condarelli , Lionel Flandrin Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that setuptools and its dependencies are using pep517 we can migrate the setuptools infrastructure itself to use the pep517 build frontend. As part of this we need to migrate the all python packages using _BUILD_OPTS to the new config settings format used by the pep517 build frontend. We need to use a setup.cfg file to pass the pg_config path when building python-psycopg2 as this package needs the pg_config path for all internal build stages while -C--build-option= only passes the flag to the internal bdist_wheel stage. Use new setup type variables to define setup type specific dependencies instead of using the conditional block. We also need to set --skip-dependency-check for the following packages which specify build dependencies that are not actually required: - python-lxml - python-matplotlib - python-msgpack - python-pymupdf - python-uvloop - python-wsaccel Signed-off-by: James Hilliard Reviewed-by: Yegor Yefremov --- Changes v8 -> v9: - use setup.cfg for python-psycopg2 to pass pg_config path Changes v7 -> v8: - disable dependency enforcement for more packages Changes v6 -> v7: - just disable dependency enforcement for msgpack - rebase Changes v5 -> v6: - use setup type variables for dependencies Changes v4 -> v5: - rebase on next Changes v1 -> v3: - rebase on master - combine setuptools-rust and maturin env variables - drop patch which is now upstream --- package/pkg-python.mk | 160 +++++++++--------- package/python-evdev/python-evdev.mk | 4 +- package/python-lxml/python-lxml.mk | 10 +- package/python-m2crypto/python-m2crypto.mk | 4 +- .../python-matplotlib/python-matplotlib.mk | 1 + package/python-msgpack/python-msgpack.mk | 1 + package/python-pillow/python-pillow.mk | 35 ++-- package/python-psycopg2/python-psycopg2.mk | 7 +- package/python-pymupdf/python-pymupdf.mk | 1 + package/python-pyzmq/python-pyzmq.mk | 4 +- package/python-uvloop/python-uvloop.mk | 7 +- package/python-wsaccel/python-wsaccel.mk | 1 + 12 files changed, 122 insertions(+), 113 deletions(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 94f28ff841..839f728e2f 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -52,15 +52,62 @@ HOST_PKG_PYTHON_ENV = \ PYTHONNOUSERSITE=1 \ $(HOST_CONFIGURE_OPTS) -# Target setuptools-based packages -PKG_PYTHON_SETUPTOOLS_ENV = \ +# Target pep517-based packages +PKG_PYTHON_PEP517_ENV = \ $(PKG_PYTHON_ENV) -PKG_PYTHON_SETUPTOOLS_CMD = \ - $(if $(wildcard $($(PKG)_BUILDDIR)/setup.py),setup.py,-c 'from setuptools import setup;setup()') +PKG_PYTHON_PEP517_BUILD_CMD = \ + -m build -n -w + +PKG_PYTHON_PEP517_INSTALL_OPTS = \ + --interpreter=/usr/bin/python \ + --script-kind=posix + +PKG_PYTHON_PEP517_INSTALL_TARGET_CMD = \ + $(TOPDIR)/support/scripts/pyinstaller.py \ + dist/* \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ + --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --scripts=$(TARGET_DIR)/usr/bin \ + --data=$(TARGET_DIR)/usr + +PKG_PYTHON_PEP517_INSTALL_STAGING_CMD = \ + $(TOPDIR)/support/scripts/pyinstaller.py \ + dist/* \ + $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ + --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --scripts=$(STAGING_DIR)/usr/bin \ + --data=$(STAGING_DIR)/usr + +PKG_PYTHON_PEP517_DEPENDENCIES = \ + host-python-pypa-build \ + host-python-installer + +# Host pep517-based packages +HOST_PKG_PYTHON_PEP517_ENV = \ + $(HOST_PKG_PYTHON_ENV) + +HOST_PKG_PYTHON_PEP517_BUILD_CMD = \ + -m build -n -w + +HOST_PKG_PYTHON_PEP517_INSTALL_CMD = \ + $(TOPDIR)/support/scripts/pyinstaller.py \ + dist/* \ + --interpreter=$(HOST_DIR)/bin/python \ + --script-kind=posix \ + --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ + --scripts=$(HOST_DIR)/bin \ + --data=$(HOST_DIR) + +# Target setuptools-based packages +PKG_PYTHON_SETUPTOOLS_ENV = \ + $(PKG_PYTHON_PEP517_ENV) PKG_PYTHON_SETUPTOOLS_BUILD_CMD = \ - $(PKG_PYTHON_SETUPTOOLS_CMD) build + $(PKG_PYTHON_PEP517_BUILD_CMD) PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ @@ -69,30 +116,24 @@ PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ --single-version-externally-managed PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_CMD = \ - $(PKG_PYTHON_SETUPTOOLS_CMD) \ - install --no-compile \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(TARGET_DIR) + $(PKG_PYTHON_PEP517_INSTALL_TARGET_CMD) PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_CMD = \ - $(PKG_PYTHON_SETUPTOOLS_CMD) \ - install \ - $(PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) \ - --root=$(STAGING_DIR) + $(PKG_PYTHON_PEP517_INSTALL_STAGING_CMD) + +PKG_PYTHON_SETUPTOOLS_DEPENDENCIES = \ + $(PKG_PYTHON_PEP517_DEPENDENCIES) \ + host-python-setuptools # Host setuptools-based packages HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - $(HOST_PKG_PYTHON_ENV) + $(HOST_PKG_PYTHON_PEP517_ENV) HOST_PKG_PYTHON_SETUPTOOLS_BUILD_CMD = \ - $(PKG_PYTHON_SETUPTOOLS_CMD) build + $(HOST_PKG_PYTHON_PEP517_BUILD_CMD) HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_CMD = \ - $(PKG_PYTHON_SETUPTOOLS_CMD) \ - install \ - --prefix=$(HOST_DIR) \ - --root=/ \ - --single-version-externally-managed + $(HOST_PKG_PYTHON_PEP517_INSTALL_CMD) # Target setuptools-rust-based packages PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ @@ -109,6 +150,10 @@ PKG_PYTHON_SETUPTOOLS_RUST_INSTALL_TARGET_CMD = \ PKG_PYTHON_SETUPTOOLS_RUST_INSTALL_STAGING_CMD = \ $(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_CMD) +PKG_PYTHON_SETUPTOOLS_RUST_DEPENDENCIES = \ + $(PKG_PYTHON_SETUPTOOLS_DEPENDENCIES) \ + host-python-setuptools-rust + # Host setuptools-rust-based packages HOST_PKG_PYTHON_SETUPTOOLS_RUST_ENV = \ $(HOST_PKG_PYTHON_SETUPTOOLS_ENV) \ @@ -121,52 +166,6 @@ HOST_PKG_PYTHON_SETUPTOOLS_RUST_BUILD_CMD = \ HOST_PKG_PYTHON_SETUPTOOLS_RUST_INSTALL_CMD = \ $(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_CMD) -# Target pep517-based packages -PKG_PYTHON_PEP517_ENV = \ - $(PKG_PYTHON_ENV) - -PKG_PYTHON_PEP517_BUILD_CMD = \ - -m build -n -w - -PKG_PYTHON_PEP517_INSTALL_OPTS = \ - --interpreter=/usr/bin/python \ - --script-kind=posix - -PKG_PYTHON_PEP517_INSTALL_TARGET_CMD = \ - $(TOPDIR)/support/scripts/pyinstaller.py \ - dist/* \ - $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ - --purelib=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(TARGET_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(TARGET_DIR)/usr/bin \ - --data=$(TARGET_DIR)/usr - -PKG_PYTHON_PEP517_INSTALL_STAGING_CMD = \ - $(TOPDIR)/support/scripts/pyinstaller.py \ - dist/* \ - $(PKG_PYTHON_PEP517_INSTALL_OPTS) \ - --purelib=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(STAGING_DIR)/usr/bin \ - --data=$(STAGING_DIR)/usr - -# Host pep517-based packages -HOST_PKG_PYTHON_PEP517_ENV = \ - $(HOST_PKG_PYTHON_ENV) - -HOST_PKG_PYTHON_PEP517_BUILD_CMD = \ - -m build -n -w - -HOST_PKG_PYTHON_PEP517_INSTALL_CMD = \ - $(TOPDIR)/support/scripts/pyinstaller.py \ - dist/* \ - --interpreter=$(HOST_DIR)/bin/python \ - --script-kind=posix \ - --purelib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - --headers=$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR) \ - --scripts=$(HOST_DIR)/bin \ - --data=$(HOST_DIR) - # Target flit packages PKG_PYTHON_FLIT_ENV = \ $(PKG_PYTHON_PEP517_ENV) @@ -180,6 +179,10 @@ PKG_PYTHON_FLIT_INSTALL_TARGET_CMD = \ PKG_PYTHON_FLIT_INSTALL_STAGING_CMD = \ $(PKG_PYTHON_PEP517_INSTALL_STAGING_CMD) +PKG_PYTHON_FLIT_DEPENDENCIES = \ + $(PKG_PYTHON_PEP517_DEPENDENCIES) \ + host-python-flit-core + # Host flit packages HOST_PKG_PYTHON_FLIT_ENV = \ $(HOST_PKG_PYTHON_PEP517_ENV) @@ -215,6 +218,10 @@ PKG_PYTHON_MATURIN_INSTALL_TARGET_CMD = \ PKG_PYTHON_MATURIN_INSTALL_STAGING_CMD = \ $(PKG_PYTHON_PEP517_INSTALL_STAGING_CMD) +PKG_PYTHON_MATURIN_DEPENDENCIES = \ + $(PKG_PYTHON_PEP517_DEPENDENCIES) \ + host-python-maturin + # Host maturin packages HOST_PKG_PYTHON_MATURIN_ENV = \ $(HOST_PKG_PYTHON_PEP517_ENV) \ @@ -293,28 +300,17 @@ else $(2)_DEPENDENCIES += host-python3 endif # ($(4),target) -# Setuptools based packages will need setuptools for the host Python -# interpreter (both host and target). +# Setup type specific dependencies are the same whether we are +# building for the host or the target. # -ifneq ($$(filter setuptools setuptools-rust,$$($(2)_SETUP_TYPE)),) -$(2)_DEPENDENCIES += host-python-setuptools -ifeq ($$($(2)_SETUP_TYPE),setuptools-rust) -$(2)_DEPENDENCIES += host-python-setuptools-rust -endif -else ifneq ($$(filter flit maturin pep517,$$($(2)_SETUP_TYPE)),) -$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer -ifeq ($$($(2)_SETUP_TYPE),flit) -$(2)_DEPENDENCIES += host-python-flit-core -endif -ifeq ($$($(2)_SETUP_TYPE),maturin) -$(2)_DEPENDENCIES += host-python-maturin -endif -else ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) +ifeq ($$($(2)_SETUP_TYPE),flit-bootstrap) # Don't add dependency on host-python-installer for # host-python-installer itself, and its dependencies. ifeq ($$(filter host-python-flit-core host-python-installer,$(1)),) $(2)_DEPENDENCIES += host-python-installer endif +else +$(2)_DEPENDENCIES += $$(PKG_PYTHON_$$($(2)_SETUP_TYPE_UPPER)_DEPENDENCIES) endif # Pyo3 based packages(setuptools-rust and maturin) will need rust diff --git a/package/python-evdev/python-evdev.mk b/package/python-evdev/python-evdev.mk index 5cf62b5160..b509b43e8a 100644 --- a/package/python-evdev/python-evdev.mk +++ b/package/python-evdev/python-evdev.mk @@ -12,7 +12,7 @@ PYTHON_EVDEV_LICENSE = Revised BSD License PYTHON_EVDEV_LICENSE_FILES = LICENSE PYTHON_EVDEV_BUILD_OPTS = \ - build_ecodes \ - --evdev-headers $(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h + -C--build-option=build_ecodes \ + -C--build-option=--evdev-headers=$(STAGING_DIR)/usr/include/linux/input.h:$(STAGING_DIR)/usr/include/linux/input-event-codes.h:$(STAGING_DIR)/usr/include/linux/uinput.h $(eval $(python-package)) diff --git a/package/python-lxml/python-lxml.mk b/package/python-lxml/python-lxml.mk index 519a9a77ac..336f954775 100644 --- a/package/python-lxml/python-lxml.mk +++ b/package/python-lxml/python-lxml.mk @@ -28,11 +28,13 @@ HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib # python-lxml needs these scripts in order to properly detect libxml2 and # libxslt compiler and linker flags PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config + --skip-dependency-check + -C--build-option=--xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ + -C--build-option=--xml2-config=$(STAGING_DIR)/usr/bin/xml2-config HOST_PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(HOST_DIR)/bin/xslt-config \ - --xml2-config=$(HOST_DIR)/bin/xml2-config + --skip-dependency-check + -C--build-option=--xslt-config=$(HOST_DIR)/bin/xslt-config \ + -C--build-option=--xml2-config=$(HOST_DIR)/bin/xml2-config $(eval $(python-package)) $(eval $(host-python-package)) diff --git a/package/python-m2crypto/python-m2crypto.mk b/package/python-m2crypto/python-m2crypto.mk index 69a0c28df5..6c07f42d06 100644 --- a/package/python-m2crypto/python-m2crypto.mk +++ b/package/python-m2crypto/python-m2crypto.mk @@ -13,6 +13,8 @@ PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr +PYTHON_M2CRYPTO_BUILD_OPTS = \ + -C--build-option=build_ext \ + -C--build-option=--openssl=$(STAGING_DIR)/usr $(eval $(python-package)) diff --git a/package/python-matplotlib/python-matplotlib.mk b/package/python-matplotlib/python-matplotlib.mk index 4fd2b5f432..5f5d53172e 100644 --- a/package/python-matplotlib/python-matplotlib.mk +++ b/package/python-matplotlib/python-matplotlib.mk @@ -20,6 +20,7 @@ PYTHON_MATPLOTLIB_DEPENDENCIES = \ python-pybind \ qhull PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools +PYTHON_MATPLOTLIB_BUILD_OPTS = --skip-dependency-check ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y) PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5 diff --git a/package/python-msgpack/python-msgpack.mk b/package/python-msgpack/python-msgpack.mk index 3ee7c54ce1..9cdf5263de 100644 --- a/package/python-msgpack/python-msgpack.mk +++ b/package/python-msgpack/python-msgpack.mk @@ -10,6 +10,7 @@ PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/c2/d5/5662032db157 PYTHON_MSGPACK_LICENSE = Apache-2.0 PYTHON_MSGPACK_LICENSE_FILES = COPYING PYTHON_MSGPACK_SETUP_TYPE = setuptools +PYTHON_MSGPACK_BUILD_OPTS = --skip-dependency-check # When set in the environment, whatever the value, MSGPACK_PUREPYTHON drives # using the pure python implementation rather than rely on the C++ native code. diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk index 10939d8467..7f5b4dd0f9 100644 --- a/package/python-pillow/python-pillow.mk +++ b/package/python-pillow/python-pillow.mk @@ -14,61 +14,60 @@ PYTHON_PILLOW_CPE_ID_PRODUCT = pillow PYTHON_PILLOW_SETUP_TYPE = setuptools PYTHON_PILLOW_DEPENDENCIES = host-pkgconf -PYTHON_PILLOW_BUILD_OPTS = build_ext --disable-platform-guessing -PYTHON_PILLOW_INSTALL_TARGET_OPTS = $(PYTHON_PILLOW_BUILD_OPTS) +PYTHON_PILLOW_BUILD_OPTS = -C--build-option=build_ext -C--build-option=--disable-platform-guessing ifeq ($(BR2_PACKAGE_FREETYPE),y) PYTHON_PILLOW_DEPENDENCIES += freetype -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-freetype else -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-freetype endif ifeq ($(BR2_PACKAGE_JPEG),y) PYTHON_PILLOW_DEPENDENCIES += jpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg endif ifeq ($(BR2_PACKAGE_LCMS2),y) PYTHON_PILLOW_DEPENDENCIES += lcms2 -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-lcms else -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-lcms endif ifeq ($(BR2_PACKAGE_LIBXCB),y) PYTHON_PILLOW_DEPENDENCIES += libxcb -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-xcb else -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-xcb endif ifeq ($(BR2_PACKAGE_OPENJPEG),y) PYTHON_PILLOW_DEPENDENCIES += openjpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-jpeg2000 else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-jpeg2000 endif ifeq ($(BR2_PACKAGE_TIFF),y) PYTHON_PILLOW_DEPENDENCIES += tiff -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-tiff else -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-tiff endif ifeq ($(BR2_PACKAGE_WEBP),y) PYTHON_PILLOW_DEPENDENCIES += webp -PYTHON_PILLOW_BUILD_OPTS += --enable-webp +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webp ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--enable-webpmux else -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webpmux endif else -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux +PYTHON_PILLOW_BUILD_OPTS += -C--build-option=--disable-webp -C--build-option=--disable-webpmux endif $(eval $(python-package)) diff --git a/package/python-psycopg2/python-psycopg2.mk b/package/python-psycopg2/python-psycopg2.mk index 0149b8d185..59a3190ae1 100644 --- a/package/python-psycopg2/python-psycopg2.mk +++ b/package/python-psycopg2/python-psycopg2.mk @@ -11,9 +11,12 @@ PYTHON_PSYCOPG2_SETUP_TYPE = setuptools PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+ PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE PYTHON_PSYCOPG2_DEPENDENCIES = postgresql + # Force psycopg2 to use the Buildroot provided postgresql version # instead of the one from the host machine -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config +define PYTHON_PSYCOPG2_CREATE_SETUP_CFG + printf "[build_ext]\ndefine=\npg_config=$(STAGING_DIR)/usr/bin/pg_config\n" > $(@D)/setup.cfg +endef +PYTHON_PSYCOPG2_PRE_CONFIGURE_HOOKS += PYTHON_PSYCOPG2_CREATE_SETUP_CFG $(eval $(python-package)) diff --git a/package/python-pymupdf/python-pymupdf.mk b/package/python-pymupdf/python-pymupdf.mk index 639ce0e00e..8825868fb5 100644 --- a/package/python-pymupdf/python-pymupdf.mk +++ b/package/python-pymupdf/python-pymupdf.mk @@ -13,6 +13,7 @@ PYTHON_PYMUPDF_LICENSE = AGPL-3.0+ PYTHON_PYMUPDF_LICENSE_FILES = COPYING # No license file included in pip, but it's present on github PYTHON_PYMUPDF_DEPENDENCIES = freetype host-swig mupdf zlib +PYTHON_PYMUPDF_BUILD_OPTS = --skip-dependency-check PYTHON_PYMUPDF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/mupdf -I$(STAGING_DIR)/usr/include/freetype2" diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk index f1444b9124..48a298b221 100644 --- a/package/python-pyzmq/python-pyzmq.mk +++ b/package/python-pyzmq/python-pyzmq.mk @@ -11,7 +11,7 @@ PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0 # Apache license only online: http://www.apache.org/licenses/LICENSE-2.0 PYTHON_PYZMQ_LICENSE_FILES = LICENSE.LESSER LICENSE.BSD PYTHON_PYZMQ_SETUP_TYPE = setuptools -PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr +PYTHON_PYZMQ_BUILD_OPTS = -C--build-option=--zmq=$(STAGING_DIR)/usr PYTHON_PYZMQ_DEPENDENCIES = \ host-python-cython \ host-python-packaging \ @@ -27,7 +27,7 @@ endef PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y) -PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts +PYTHON_PYZMQ_BUILD_OPTS += -C--build-option=--enable-drafts endif $(eval $(python-package)) diff --git a/package/python-uvloop/python-uvloop.mk b/package/python-uvloop/python-uvloop.mk index 285884a2bb..aaeab2805f 100644 --- a/package/python-uvloop/python-uvloop.mk +++ b/package/python-uvloop/python-uvloop.mk @@ -10,8 +10,11 @@ PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/9c/16/728cc5dde368e PYTHON_UVLOOP_SETUP_TYPE = setuptools PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv PYTHON_UVLOOP_DEPENDENCIES = libuv +PYTHON_UVLOOP_BUILD_OPTS = \ + --skip-dependency-check \ + -C--build-option=build_ext \ + -C--build-option=--inplace \ + -C--build-option=--use-system-libuv $(eval $(python-package)) diff --git a/package/python-wsaccel/python-wsaccel.mk b/package/python-wsaccel/python-wsaccel.mk index 1f63aa5c40..7ccb033256 100644 --- a/package/python-wsaccel/python-wsaccel.mk +++ b/package/python-wsaccel/python-wsaccel.mk @@ -10,5 +10,6 @@ PYTHON_WSACCEL_SITE = https://files.pythonhosted.org/packages/94/28/41c0e711b538 PYTHON_WSACCEL_LICENSE = Apache-2.0 PYTHON_WSACCEL_LICENSE_FILES = LICENSE PYTHON_WSACCEL_SETUP_TYPE = setuptools +PYTHON_WSACCEL_BUILD_OPTS = --skip-dependency-check $(eval $(python-package))