From patchwork Tue Feb 22 12:57:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595979 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=bYyH47VK; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K2zjD0qrBz9sGD for ; Tue, 22 Feb 2022 23:57:36 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DCDD8410AF; Tue, 22 Feb 2022 12:57:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xbNfh9_E8DXN; Tue, 22 Feb 2022 12:57:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 368DA410A9; Tue, 22 Feb 2022 12:57:32 +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 13F751BF97F for ; Tue, 22 Feb 2022 12:57:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0FF6C813E6 for ; Tue, 22 Feb 2022 12:57:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oX_k-4wmUV6V for ; Tue, 22 Feb 2022 12:57:30 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by smtp1.osuosl.org (Postfix) with ESMTPS id 39C39813B5 for ; Tue, 22 Feb 2022 12:57:30 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id n29-20020a05600c3b9d00b00380e379bae2so347327wms.3 for ; Tue, 22 Feb 2022 04:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kDc54Qo2umevl8QGadivmSMqjH6X93Tbb+7sGFRNZj4=; b=bYyH47VKa0PruEHk1CuLzd90mOVOWUYjsmRl9M3Xhap2lulXPBR7bpDQl3E+9G8jC5 U00NW55ahyKdQlEm3gVUQHgN6ekgn4N2hZlsDaJ+lIARzyebdTWy/jcOyJcIE+3yfYlr qYHq1DLPZ9KvG+nOnz/aumxT2lbuhvlLDMP+Y74IWMjHEedg3t6Kr89ZRjnPVWn7mwdE aZk9Xqf/5iSiPjmu1dIYIIkLlDueobnYYkeuZa2AmTuAFxCuuYcPowHNosHfJZpRCnFB gDEgXr+iJQZof0AXcaRJDTcjd5KndYjs0tbvG+hGE8NdUyNcbPQZiljDhT+TAJ8e0dx2 ii5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kDc54Qo2umevl8QGadivmSMqjH6X93Tbb+7sGFRNZj4=; b=n7EoT5F7YjbQYKtrVmKTL+O9O9BYkyDlih4xFTvbTvnpqd1dx5bJa1rDWtGpC/jo+4 OApaIaXqO7Fpx1gr3ptFb20qXTCxsaJaIca829GmoClKWpzhjDYFg5fEi//Txu9pJJvx s61cevWS0h3O3Z0GNHMXjY1J1bqK8k8T4E/fh0RdMc9/dQPTaCaSnAh3fRwTzxxU23bq s9SnzALtOOIf2+O0PFXYaRY5hY2o/Qde03ZGJbQYY4KdOUJqpAFudhGrxaIutZckM3ca cgrrvQCRRy2tFBJIIdyp2UNZY0Ri36NyeQc5ryFyNe0vnYem0hTGbfcT5D97c5KIwnYL tZ5g== X-Gm-Message-State: AOAM532NTHLWLBWyyJ1P/wu62PmF+zxheNuLH9ejYcNnRhoIDZ3q9maG O1cxxupb/oUzeETrCa/1fZ8VHrXXyqw= X-Google-Smtp-Source: ABdhPJyrgAIS4zhnLbWIQKWwwwXiwrpVBXsYphz4tbEU1McdPg9zH1QMwG5SzcVp+Vr2BiMmBlXJhw== X-Received: by 2002:a1c:6a16:0:b0:37b:f4b0:65d8 with SMTP id f22-20020a1c6a16000000b0037bf4b065d8mr3270639wmc.80.1645534648357; Tue, 22 Feb 2022 04:57:28 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id ay12sm36702281wrb.73.2022.02.22.04.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:57:28 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:57:21 +0100 Message-Id: <20220222125724.11079-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 1/4] package/python-gast: new host-only 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: gwen@trabucayre.com, "Guillaume W . Bres" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Arnout Vandecappelle (Essensium/Mind)" Generated with scanpypi and converted to host. It is a dependency of python-beniget and python-pythran. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Guillaume W. Bres --- package/python-gast/python-gast.hash | 5 +++++ package/python-gast/python-gast.mk | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/python-gast/python-gast.hash create mode 100644 package/python-gast/python-gast.mk diff --git a/package/python-gast/python-gast.hash b/package/python-gast/python-gast.hash new file mode 100644 index 0000000000..f16d001a6a --- /dev/null +++ b/package/python-gast/python-gast.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/gast/json +md5 fdff900805e03e9dd76d377eb4cbaed7 gast-0.5.3.tar.gz +sha256 cfbea25820e653af9c7d1807f659ce0a0a9c64f2439421a7bba4f0983f532dea gast-0.5.3.tar.gz +# Locally computed sha256 checksums +sha256 6a04bbabd9b48bea6bf7c0bd3f3a062e1476b3c403a746448fd69b0d902e148f LICENSE diff --git a/package/python-gast/python-gast.mk b/package/python-gast/python-gast.mk new file mode 100644 index 0000000000..e02e87fb23 --- /dev/null +++ b/package/python-gast/python-gast.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-gast +# +################################################################################ + +PYTHON_GAST_VERSION = 0.5.3 +PYTHON_GAST_SOURCE = gast-$(PYTHON_GAST_VERSION).tar.gz +PYTHON_GAST_SITE = https://files.pythonhosted.org/packages/48/a3/0bd844c54ae8141642088b7ae09dd38fec2ec7faa9b7d25bb6a23c1f266f +PYTHON_GAST_SETUP_TYPE = setuptools +PYTHON_GAST_LICENSE = BSD-3-Clause +PYTHON_GAST_LICENSE_FILES = LICENSE + +$(eval $(host-python-package)) From patchwork Tue Feb 22 12:57:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595980 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=TGlGzCo7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K2zjT08yHz9sFN for ; Tue, 22 Feb 2022 23:57:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7F6B4410C6; Tue, 22 Feb 2022 12:57:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LurdyjyFl7BP; Tue, 22 Feb 2022 12:57:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id A47D5410BB; Tue, 22 Feb 2022 12:57:44 +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 BAD3D1BF97F for ; Tue, 22 Feb 2022 12:57:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A81248140F for ; Tue, 22 Feb 2022 12:57:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90F8mBdN3Ayt for ; Tue, 22 Feb 2022 12:57:31 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by smtp1.osuosl.org (Postfix) with ESMTPS id A9A59813B5 for ; Tue, 22 Feb 2022 12:57:31 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id l2-20020a7bc342000000b0037fa585de26so921598wmj.1 for ; Tue, 22 Feb 2022 04:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eEE9ZGFLtntVvkas/gQw/A9JkyH+cwgBAvrs+bjumUc=; b=TGlGzCo7jffKeDjUHmnjjiK6Kvlp59J8VXSyKB5OZ4RBDY29CebJX1F2LJyDmovSz0 D8t0Lr2lMMS4LynZ5hRg+tnEyDMyasYXDbrb+aJnBLWeDckAZp0nwYSr+KwSwb3mdIeo 1DYD/sXTDNHQLtcpzmNaPYrO/XNrKeKpcvtYOgqYTsO+4qGnHr+ngydJmBvZfXMeRmis vsGGaLnbfLVk6SKjhcAHJZNMK6ShjBlhyz7dw7burcCqqVg1zA1KYjLQYtWIAkKtzmz9 Mh7QLLGp4rfBB5ItlBZnX50ByirE5aNRMa3m1de56MV+97pZtXZx6aCISr6sUekwQpcz M9yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eEE9ZGFLtntVvkas/gQw/A9JkyH+cwgBAvrs+bjumUc=; b=jTZLXTzOuUs8YdrnAtTC30jRWLzE8ba0lIUwhTYV/Z2RhQPD0pKtc3JXgeVXsENA+M /CCaE87diPOhZ3NAAiUJ+w8FQS7F7bIDB3LyrObDmcoBM1ZRlpHWPaL+VdQxMSEtrQO1 RPFFplhgLONqlYtbMVW1uxpCQZC234xkVBk8nwnLIsgjfB3OnEwVwIjRjNfkhClPx0xW 6KRXxao+oU8+OrvihCDkuq/QUJYs7Al8yE9uJNYIzDYqepw3lftRzHoZ0B0fJx5SoxwU +c5y5lPQLu4WeSvyo/xp2R7dTvKjz3SmdA422TJSkkvcZ3+CJlkJzwTzS4/271miedph b8yg== X-Gm-Message-State: AOAM532/+zCtxy0hhPfpLvKOOsX+FP6EBJ9GRzd9D0ImGesJEUvNOjl6 0T/BuC63lB16WaD42qjaULhuLEB9EUE= X-Google-Smtp-Source: ABdhPJz2cNXKNPeZFhqPaXRWeUrcoeMvtsvCA6ntakB146Fe0t7muZq0po+Q7vZaN1BaSmTUmwYQAQ== X-Received: by 2002:a1c:6a01:0:b0:37f:1b18:6b17 with SMTP id f1-20020a1c6a01000000b0037f1b186b17mr3222321wmc.146.1645534649771; Tue, 22 Feb 2022 04:57:29 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id ay12sm36702281wrb.73.2022.02.22.04.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:57:29 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:57:22 +0100 Message-Id: <20220222125724.11079-2-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222125724.11079-1-guillaume.bressaix@gmail.com> References: <20220222125724.11079-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 2/4] package/python-beniget: new host-only 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: gwen@trabucayre.com, "Guillaume W . Bres" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Arnout Vandecappelle (Essensium/Mind)" Generated with scanpypi and converted to host. It is a dependency of python-pythran. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Guillaume W. Bres --- package/python-beniget/python-beniget.hash | 5 +++++ package/python-beniget/python-beniget.mk | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 package/python-beniget/python-beniget.hash create mode 100644 package/python-beniget/python-beniget.mk diff --git a/package/python-beniget/python-beniget.hash b/package/python-beniget/python-beniget.hash new file mode 100644 index 0000000000..cd4fa7b873 --- /dev/null +++ b/package/python-beniget/python-beniget.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/beniget/json +md5 a2bbe7f17f10f9c127d8ef00692ddc55 beniget-0.4.1.tar.gz +sha256 75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c beniget-0.4.1.tar.gz +# Locally computed sha256 checksums +sha256 64ad3e304e9d2d8731c26ac3e652335a6016e38be2f71fe30350be51c6d500b0 LICENSE diff --git a/package/python-beniget/python-beniget.mk b/package/python-beniget/python-beniget.mk new file mode 100644 index 0000000000..9970546b14 --- /dev/null +++ b/package/python-beniget/python-beniget.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-beniget +# +################################################################################ + +PYTHON_BENIGET_VERSION = 0.4.1 +PYTHON_BENIGET_SOURCE = beniget-$(PYTHON_BENIGET_VERSION).tar.gz +PYTHON_BENIGET_SITE = https://files.pythonhosted.org/packages/14/e7/50cbac38f77eca8efd39516be6651fdb9f3c4c0fab8cf2cf05f612578737 +PYTHON_BENIGET_SETUP_TYPE = setuptools +PYTHON_BENIGET_LICENSE = BSD-3-Clause +PYTHON_BENIGET_LICENSE_FILES = LICENSE +HOST_PYTHON_BENIGET_DEPENDENCIES = host-python-gast + +$(eval $(host-python-package)) From patchwork Tue Feb 22 12:57:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595981 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=o8xfTq6O; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K2zjj3QC2z9sFN for ; Tue, 22 Feb 2022 23:58:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id AB16860EB2; Tue, 22 Feb 2022 12:57:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZgMW0DvlLuUM; Tue, 22 Feb 2022 12:57:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id F3FF760ECB; Tue, 22 Feb 2022 12:57:56 +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 E94C91BF97F for ; Tue, 22 Feb 2022 12:57:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E1D3D81A9C for ; Tue, 22 Feb 2022 12:57:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0DAhEgmtjk0e for ; Tue, 22 Feb 2022 12:57:33 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by smtp1.osuosl.org (Postfix) with ESMTPS id EA3D58140F for ; Tue, 22 Feb 2022 12:57:32 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id u1so33043715wrg.11 for ; Tue, 22 Feb 2022 04:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Dr+eKNNDY+WgQEj9zmec15T7+Z6JXyGpIWZc15nRJUo=; b=o8xfTq6OcvU2R29869zUAgmWLc35xS7GS5S7l/wxY5c1Tz/muwmErpthybWQsfjXTR /of98m83d0a0y5bwzbduMgd6KHe38qKZysyegPX6TqSmGZUM6dfm5zLdLW9Qo36wXMre INYmK6QuDZjLYp96bYN8ObVBk9bOuYDn6WYlkDfFkfECTfUa4BGjnpQA2UUiBHa1fWlM OkQv92LtwrvmRGvjtgHh87xgkQh6sHgLp5C8vVxH8I0gR9ZH6xVJIRUiap5xcZNE3WOD 2CaLD7Pi3/0FDN7b1tkos12ZIGk6jPN4J9/3WDH+2hAFiQHD+vsd3HsrepQzvi/BeCRU UIYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dr+eKNNDY+WgQEj9zmec15T7+Z6JXyGpIWZc15nRJUo=; b=2wnV0TyXOd8tutdo03hEJBUaW+Kx9h+2O3srpE00j89LgFZZ5w8BDRuRYiJvTcgGr/ 8oNjl5hyPsZTjADca2OEvRpqLr+io0ARChlmdj1Hh0s3fntshKCsXyYFl7Bxlx7lon1S a7V5/pIzw4+7mdfRlspTo8LBvaXK0Hs4I62MERViQNwijqk0KMZzSVjuaQ5n0PDw8w8t 0szq0KRGVHYOnRsPIM25HsqHGdhCqKfaT1hm7f8UhgGNPUEfNGtdBE6kIwqnJqwqNtoh bAkoqNI2jSsCkShJHOzs0wX7rPqAe7Ey0d1GOqmKwG3aWWzeUNCl91Vq9oK5OHnXUdG7 R5WA== X-Gm-Message-State: AOAM5316srriWalJWnbAVwXmVWQSrPqJbThC6FmvnQaAvbedhg28i6Zv 5wt6HeHyIRKLS7U4xN81IOsPfWHulMw= X-Google-Smtp-Source: ABdhPJwl4/xEt47NuD+zKgw7xa/RhU//SiK24PpZzylPqTIieLajHtEltiTN31snmolqgo9lJwMgfQ== X-Received: by 2002:a5d:55c1:0:b0:1ea:961e:2ce4 with SMTP id i1-20020a5d55c1000000b001ea961e2ce4mr2107567wrw.45.1645534651085; Tue, 22 Feb 2022 04:57:31 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id ay12sm36702281wrb.73.2022.02.22.04.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:57:30 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:57:23 +0100 Message-Id: <20220222125724.11079-3-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222125724.11079-1-guillaume.bressaix@gmail.com> References: <20220222125724.11079-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 3/4] package/python-pythran: new host-only 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: gwen@trabucayre.com, "Guillaume W . Bres" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: "Arnout Vandecappelle (Essensium/Mind)" Generated with scanpypi and converted to host. It is a dependency of python-scipy. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Guillaume W. Bres --- package/python-pythran/python-pythran.hash | 6 ++++++ package/python-pythran/python-pythran.mk | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 package/python-pythran/python-pythran.hash create mode 100644 package/python-pythran/python-pythran.mk diff --git a/package/python-pythran/python-pythran.hash b/package/python-pythran/python-pythran.hash new file mode 100644 index 0000000000..a24bb4dc4c --- /dev/null +++ b/package/python-pythran/python-pythran.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/pythran/json +md5 e09e90484771937ab499380858bdb18d pythran-0.11.0.tar.gz +sha256 0b2cba712e09f7630879dff69f268460bfe34a6d6000451b47d598558a92a875 pythran-0.11.0.tar.gz +# Locally computed sha256 checksums +sha256 0be9f14c66a9a3cb66d5263a6495437862ce0c9cdf60d4a6c36d1e51b1244c6e LICENSE +sha256 e1c0ed0a99e4462016d79d835f1f479b78c4d4a07fe66598e97f449503ffd178 docs/LICENSE.rst diff --git a/package/python-pythran/python-pythran.mk b/package/python-pythran/python-pythran.mk new file mode 100644 index 0000000000..8234513af3 --- /dev/null +++ b/package/python-pythran/python-pythran.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# python-pythran +# +################################################################################ + +PYTHON_PYTHRAN_VERSION = 0.11.0 +PYTHON_PYTHRAN_SOURCE = pythran-$(PYTHON_PYTHRAN_VERSION).tar.gz +PYTHON_PYTHRAN_SITE = https://files.pythonhosted.org/packages/88/9f/161f08131abf7f23920cee29b691de27f10fd97ac09fb2f3532b3a7f9b96 +PYTHON_PYTHRAN_SETUP_TYPE = setuptools +PYTHON_PYTHRAN_LICENSE = BSD-3-Clause +PYTHON_PYTHRAN_LICENSE_FILES = LICENSE docs/LICENSE.rst +HOST_PYTHON_PYTHRAN_DEPENDENCIES = \ + host-python-beniget \ + host-python-gast \ + host-python-numpy \ + host-python-ply + +$(eval $(host-python-package)) From patchwork Tue Feb 22 12:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595982 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Ov9Ayyx5; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K2zjx2jzBz9sFN for ; Tue, 22 Feb 2022 23:58:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 33D07400C5; Tue, 22 Feb 2022 12:58:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mSuLW9leK7yt; Tue, 22 Feb 2022 12:58:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 46A41402D8; Tue, 22 Feb 2022 12:58:09 +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 6980F1BF97F for ; Tue, 22 Feb 2022 12:57:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 66158813B5 for ; Tue, 22 Feb 2022 12:57:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cLVLQS2KRzZ for ; Tue, 22 Feb 2022 12:57:34 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2A75181A9C for ; Tue, 22 Feb 2022 12:57:34 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id d27so33101259wrb.5 for ; Tue, 22 Feb 2022 04:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=83WKBZ3Pc4t8rpK1eDiNTalQt3YsDvCVIhaPRnDh+FI=; b=Ov9Ayyx5z9kQA93YCF2wCfksLwyCF6HrZOlwcLTdHYsVdKSvVlvIQFktYgeLw+QLCt 1q990pcbPae2iipRaYkfEAqOp/xkavWhlfSxXiLjI+kPvEi2UjOJA7dytOtjJo5zy2bu RF/ndb1/bq5U+i5OisVEDlXyonc0Hv5xg0fcKidn8YqAmaIngd8o1QeMl09PS8nsNGVu ov+1BkcbQOSpeijq3RSAX9fLxfuKU02Yvd8ebU8dBQfw2dtR6nz8Nf8hxSj3YmsPrSRN dF7LG20EWyvyM/cVoRM9kLnNa69xLv62DKnLWKNy5TIFWsLLNEbJ67DbBgsNQUP3Evcn GNTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=83WKBZ3Pc4t8rpK1eDiNTalQt3YsDvCVIhaPRnDh+FI=; b=idDCsbAUFDsCU+AvtahQ7AOMxd8/MBbOOvn93hbWBUTeOqXsUNYCkg0FSEXr7uMns8 FM+EiBNbxljVyNR4smaPI5z3i9JQ/QWDkvY7auKf0w8YJwOFLHhB8eXOD7SX6XLigSMb vr/Obs+gn6Vsl2tguRWJ62X63IKZTQN7b4EPQJHA1rc/jm321dDXBITok58xFN83LCZ+ k+y6zBBXNmmGnf5gciAOGn0VtiQpD+axAJnIQ3ZBNspxpkBQ+dCylR9e3J5O418Ivg9V CJQWUuym94u+mP13BPIfrK0h57hfdfH8GvSN74FSGHM+slGgwhXdB6OQgdI4UEOc97k8 2M3Q== X-Gm-Message-State: AOAM530LPS17fF9DwqLCxDupccmzZbR1NVKUC4aWuHR8RcFEsedYjypW qe77wmM/jcnc8QCHLg7DQ2Oy9/ZkQiRxDA== X-Google-Smtp-Source: ABdhPJyVA+uyowRXVoG8oGmM1sphne2ulp1l5H71HWAv9oM5WgVwi1iO8j5p7qjPGrQz7vm52yj+gQ== X-Received: by 2002:a5d:6790:0:b0:1e3:3ece:3e07 with SMTP id v16-20020a5d6790000000b001e33ece3e07mr19487927wru.182.1645534652203; Tue, 22 Feb 2022 04:57:32 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id ay12sm36702281wrb.73.2022.02.22.04.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:57:31 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:57:24 +0100 Message-Id: <20220222125724.11079-4-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222125724.11079-1-guillaume.bressaix@gmail.com> References: <20220222125724.11079-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 4/4] package/python-scipy: new 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: "Guillaume W . Bres" , gwen@trabucayre.com, Jagan Teki Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Jagan Teki Signed-off-by: Jagan Teki [Arnout: - Indent hash file with two spaces. - Bump to 1.7.3 to fix build failure with recent GCC. - Get from github instead of PyPI. - Add host-meson and host-python-pythran dependencies. - Properly propagate Config.in dependencies. - Correct usage of BR2_INSTALL_LIBSTDCPP symbol. - Remove F77, no longer used. ] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) [Guillaume: - -lnpymath: npymath.ini localization problem - -lnpyrandom resolution problem - fix legal-info for latest version LICENSE.txt - zlib is a scipy::io module runtime requirement ] Signed-off-by: Guillaume W. Bres --- v2: -lnpymath not able to localize npymath.ini -lnpyrandom points to /host/usr instead of /staging/usr v3: - fix legal-info (LICENSE.txt was outdated) - zlib is a scipy::io module runtime requirement v4: - zlib runtime selection missing in Config.in - fixed previous commit format Signed-off-by: Guillaume W. Bres --- DEVELOPERS | 3 ++ package/Config.in | 1 + package/python-scipy/Config.in | 30 ++++++++++++ package/python-scipy/python-scipy.hash | 9 ++++ package/python-scipy/python-scipy.mk | 63 ++++++++++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 package/python-scipy/Config.in create mode 100644 package/python-scipy/python-scipy.hash create mode 100644 package/python-scipy/python-scipy.mk diff --git a/DEVELOPERS b/DEVELOPERS index ac702d8d0f..c8766c872e 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1149,6 +1149,7 @@ F: package/libxcrypt/ F: package/liquid-dsp/ F: package/pixiewps/ F: package/python-pybind/ +F: package/python-scipy/ F: package/reaver/ F: support/testing/tests/package/br2-external/python-pybind F: support/testing/tests/package/sample_python_pybind.py @@ -1280,6 +1281,8 @@ F: configs/orangepi_win_defconfig F: configs/orangepi_zero_plus2_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig +F: package/python-pybind/ +F: package/python-scipy/ N: James Hilliard F: package/apcupsd/ diff --git a/package/Config.in b/package/Config.in index 10209d84d7..0edde1c919 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1209,6 +1209,7 @@ menu "External python modules" source "package/python-scandir/Config.in" source "package/python-scapy/Config.in" source "package/python-schedule/Config.in" + source "package/python-scipy/Config.in" source "package/python-sdnotify/Config.in" source "package/python-secretstorage/Config.in" source "package/python-see/Config.in" diff --git a/package/python-scipy/Config.in b/package/python-scipy/Config.in new file mode 100644 index 0000000000..a016d411af --- /dev/null +++ b/package/python-scipy/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_PYTHON_SCIPY + bool "python-scipy" + depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # openblas + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS # lapack + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + depends on BR2_TOOLCHAIN_HAS_FORTRAN # lapack + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_LAPACK + select BR2_PACKAGE_OPENBLAS + select BR2_PACKAGE_ZLIB # runtime scipy::io + select BR2_PACKAGE_PYTHON_NUMPY # runtime + select BR2_PACKAGE_PYTHON_PYBIND + help + The SciPy library is one of the core packages that make up the + SciPy stack. It provides many user-friendly and efficient + numerical routines such as routines for numerical integration, + interpolation, optimization, linear algebra and statistics. + + https://www.scipy.org/scipylib/ + +comment "python-scipy needs toolchain w/ fortran and c++ and glibc or musl" + depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS + depends on BR2_PACKAGE_PYTHON3 + depends on !BR2_TOOLCHAIN_HAS_FORTRAN || \ + !BR2_INSTALL_LIBSTDCPP || \ + (!BR2_TOOLCHAIN_USES_GLIBC && !BR2_TOOLCHAIN_USES_MUSL) diff --git a/package/python-scipy/python-scipy.hash b/package/python-scipy/python-scipy.hash new file mode 100644 index 0000000000..6f9011516c --- /dev/null +++ b/package/python-scipy/python-scipy.hash @@ -0,0 +1,9 @@ +# Locally generated +sha256 4042211bed8e6c658b9e2a4ca829806f0b33437faa7878c8dc6d6f72845b1694 scipy-1.7.3.tar.xz +sha256 32b2f41fb8c1193a066c1686bb3237e79f918685bf545cb6dfcb68753ac35152 LICENSE.txt +sha256 37e64a498894ac7c3b070023e3689e954a8ecf8a23b90968d09a455f1b4f7b35 scipy/linalg/src/lapack_deprecations/LICENSE +sha256 606209a000716c5f66e33e180ce08434b96ed17db4975ab9723c6b5fbcc89609 scipy/ndimage/LICENSE.txt +sha256 3df9207af2fdb861af0ae3b22026f163b9bcfab4e525dc4943afe2ffa3f77624 scipy/optimize/tnc/LICENSE +sha256 f0cedf52503b2d42b83411a0a16e6fefac346dfad8fddc66f50050150123470c scipy/sparse/linalg/dsolve/SuperLU/License.txt +sha256 0926566f9f406178d1214f8cc796e166b1213dd7c05e0c5b461a8b8ac9e50bbe scipy/sparse/linalg/eigen/arpack/ARPACK/COPYING +sha256 34db0c0c4f931861d720555c9cd7a2e228d1290ba29af0f2ee80c41bb2038afb scipy/spatial/qhull_src/COPYING.txt diff --git a/package/python-scipy/python-scipy.mk b/package/python-scipy/python-scipy.mk new file mode 100644 index 0000000000..0491a73753 --- /dev/null +++ b/package/python-scipy/python-scipy.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# python-scipy +# +################################################################################ + +PYTHON_SCIPY_VERSION = 1.7.3 +PYTHON_SCIPY_SOURCE = scipy-$(PYTHON_SCIPY_VERSION).tar.xz +PYTHON_SCIPY_SITE = https://github.com/scipy/scipy/releases/download/v$(PYTHON_SCIPY_VERSION) +PYTHON_SCIPY_LICENSE = \ + BSD-3-Clause, \ + BSD-2-Clause, \ + BSD, \ + BSD-Style, \ + Apache-2.0, \ + MIT +PYTHON_SCIPY_LICENSE_FILES = \ + LICENSE.txt \ + scipy/linalg/src/lapack_deprecations/LICENSE \ + scipy/ndimage/LICENSE.txt \ + scipy/optimize/tnc/LICENSE \ + scipy/sparse/linalg/dsolve/SuperLU/License.txt \ + scipy/sparse/linalg/eigen/arpack/ARPACK/COPYING \ + scipy/spatial/qhull_src/COPYING.txt +PYTHON_SCIPY_DEPENDENCIES += \ + host-meson \ + host-python-numpy \ + host-python-pythran \ + zlib \ + lapack \ + openblas \ + python-numpy \ + python-pybind +PYTHON_SCIPY_INSTALL_STAGING = YES + +PYTHON_SCIPY_SETUP_TYPE = setuptools +PYTHON_SCIPY_BUILD_OPTS = config_fc --fcompiler=gnu95 + +# -lnpymath npymath.ini localization +PYTHON_SCIPY_NPY_PKG_CONFIG_PATH = \ + $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/lib/npy-pkg-config + +PYTHON_SCIPY_LDFLAGS = $(TARGET_LDFLAGS) -shared \ + -L$(PYTHON3_PATH)/site-packages/numpy/core/lib +# -lnpyrandom localization +PYTHON_SCIPY_LDFLAGS += \ + -L$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/random/lib + +PYTHON_SCIPY_ENV = \ + F90=$(TARGET_FC) \ + NPY_PKG_CONFIG_PATH=$(PYTHON_SCIPY_NPY_PKG_CONFIG_PATH) \ + LDFLAGS="$(PYTHON_SCIPY_LDFLAGS)" + +# Provide system configuration options to numpy distutils extenions, telling +# to find all include files and libraries in staging directory. +define PYTHON_SCIPY_CONFIGURE_CMDS + -rm -f $(@D)/site.cfg + echo "[DEFAULT]" >> $(@D)/site.cfg + echo "library_dirs = $(STAGING_DIR)/usr/lib" >> $(@D)/site.cfg + echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg +endef + +$(eval $(python-package))