From patchwork Tue Feb 22 12:48:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595975 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=lYLP1eVS; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4K2zWZ3yNZz9sGC for ; Tue, 22 Feb 2022 23:49:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 96AAF60EDB; Tue, 22 Feb 2022 12:49:10 +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 baq-g3sTx-8M; Tue, 22 Feb 2022 12:49:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 991F560EE0; Tue, 22 Feb 2022 12:49:07 +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 A66921BF97F for ; Tue, 22 Feb 2022 12:49:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8EF5081375 for ; Tue, 22 Feb 2022 12:49:06 +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 NYPia2284Iuq for ; Tue, 22 Feb 2022 12:49:05 +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 B4EC48136F for ; Tue, 22 Feb 2022 12:49:04 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id j22so6928558wrb.13 for ; Tue, 22 Feb 2022 04:49:04 -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=lYLP1eVSeE+NzuHSKzwGVo32IgXqlQu6KIn2ddCkNhP2l1/b/5KSRUSX0KsNmxTBB2 JEgdYteZYh06KDImtF9QE2ak/DzftXXMW0AOCDzeIjIHjb80nMFLra4gJEPokDZ2RIPZ rnCgbdzxC5XS5TJpAZJAp8RU902tLyPhvNdDsE0+dqJotglJPBoGsWyO2bSHNZYAdWBO 3M0mgbF7lrjkCNICtkdCHdIoBSMkMu28wZWzUZ0oEDGceFgwv5rK9J/yTdRQSqKK2KtA xNO1WP6cpGiI5z8VhjyOI0Pf5nINaplWe67SDOCxUazWWXNJXMBA+bTVfRo9ReJV7pIe cuFg== 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=NbAur7AvFn02Zk0pnEAwy7e54Y1LK6xWiVyYXmCRQT7rj85l0ttegvURAFwOijtg7V nR/6GlihAgmly8NAJFmqQxzCZTLxVvKqNqMDfxD70A/eTfk37txT61XsKzh7OKpCZ0XL dpbmBg6JvVhgEyefXV6BquX8ZaSrSXaXMBSiK6g7dY3jHeeMqiZANn93x+WOarBvZZ9U exlpKNsGtuXB3xVhqfS0pHM9E1hErDkb3pCeIhSGnn+YYHzJQVMwy8OYtDsOpw2kkxOM vOzcSiAIgQocQxJ89BXEz/D3JWJVDJsfegOSksXvRebcwLXM5Q3Uic5p93tjRk+HWLxF Eb9g== X-Gm-Message-State: AOAM532SYnK6FVWfNx8M6Dwo+ogslRj1uJhCAAwfmNr44+iiJsWUijTr vtKamVlYcdlDUm6Wzh//aQ302mwAlxc= X-Google-Smtp-Source: ABdhPJwZWwRgDuZ19Hdm96KYtnZdGxmJv8AEt3N4V3T4izQwRrb+byrdnkOJ0TzB9MIyFLVW4jzu+w== X-Received: by 2002:a5d:47a1:0:b0:1e8:f787:b7bf with SMTP id 1-20020a5d47a1000000b001e8f787b7bfmr18961513wrb.101.1645534142533; Tue, 22 Feb 2022 04:49:02 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id bg31sm1428840wmb.1.2022.02.22.04.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:49:02 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:48:47 +0100 Message-Id: <20220222124850.6050-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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:48:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595976 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=n8CKeEib; 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 4K2zWp0FFxz9sGC for ; Tue, 22 Feb 2022 23:49:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 15609410A0; Tue, 22 Feb 2022 12:49:24 +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 hZWHgyh1zHXI; Tue, 22 Feb 2022 12:49:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 094FE40350; Tue, 22 Feb 2022 12:49:22 +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 ADC711BF97F for ; Tue, 22 Feb 2022 12:49:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A7E118134E for ; Tue, 22 Feb 2022 12:49:09 +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 ASOqfB8o1x3v for ; Tue, 22 Feb 2022 12:49:08 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 67125813E6 for ; Tue, 22 Feb 2022 12:49:08 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id y6-20020a7bc186000000b0037bdc5a531eso1109236wmi.0 for ; Tue, 22 Feb 2022 04:49:08 -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=n8CKeEibN+blrNBZbp4xbMPqHfLjaYJ0OiwIcBnnO1g4tnn5mxcviZTexVgCvF05cB NMOIrbm4H2E2SI91AoqGg3FspHw84ePnZ7SWgHnRf8lcDonpvq1PDZBrdazQNXbfDsMk dcdAEWkDRRL1WAnVW3R7VDgB+zm8o9D4co+Umg6M6UwJVXVEqhcmnQThUfe0zB3k9IMj uuEV5OPjBoJfpsxKuxECbH8l9u5ftDIkrupvdPv8j4PgDtK49aYXnyTd3ogyf3sVMGkE mw3r9wx0UXj4EP/wQRmB4lsD3+cvKZ6BSkV7ItUC4PVcWAx5h3mwkFsLMngKVkzp4DIA bOtg== 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=AG55KRmnm8T9LvireTMgDGwnemT+ajtCyDvSyZsjKkcqSeqc13u1E9AMrzkI4huV63 9AwdS4RGz5cz90ar9iT1uvJLJPmfPmsKCtTZ4aZelAcuycXBeR7P2B6xEoD39PnDyh8i IUo+rKIKU+sNzxDTYyGpFM6B4VrAXgJ9fTN2hnOBDCrZgbQkozYXG5XW4dI+JnAicIRr /+t5YHy2QnBKq71ZmGLHaXEvJvCUUZz+cIpJmJCLexx02HbTWi0ZqWRJOpxI3YeAY1sU tJ2zYBW//gqvAYj5FCHFLfP3s96s9we4ndUuT+YnBrUJszAWgTg80jNbNBlbmUHUZeGh hf5w== X-Gm-Message-State: AOAM530W5LvxPS89VL3RRgNYiUw3A140FTpzs4ZsqiaUaO55zBSiceDo bkWx6Fb7vqcPKRiM3zZo9Nvx7TZBjik= X-Google-Smtp-Source: ABdhPJxXZ4hNkYFl9wDj0k8+njwkQlkGBLUbVRCWva4Q2u76BLGjiqrOvyosqMb10C9jWuZkVHHXtA== X-Received: by 2002:a05:600c:a4b:b0:37b:ea2b:5583 with SMTP id c11-20020a05600c0a4b00b0037bea2b5583mr3316729wmq.139.1645534146548; Tue, 22 Feb 2022 04:49:06 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id bg31sm1428840wmb.1.2022.02.22.04.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:49:06 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:48:48 +0100 Message-Id: <20220222124850.6050-2-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222124850.6050-1-guillaume.bressaix@gmail.com> References: <20220222124850.6050-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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:48:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595977 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=ano+FC3e; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 4K2zX30zm6z9sGC for ; Tue, 22 Feb 2022 23:49:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AAA9940160; Tue, 22 Feb 2022 12:49:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LftPpvw2r1u2; Tue, 22 Feb 2022 12:49:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 8C72240155; Tue, 22 Feb 2022 12:49:34 +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 4B5601BF97F for ; Tue, 22 Feb 2022 12:49:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 47D86812C6 for ; Tue, 22 Feb 2022 12:49:11 +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 Ot4WUBSMNHhh for ; Tue, 22 Feb 2022 12:49:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by smtp1.osuosl.org (Postfix) with ESMTPS id 48D828134E for ; Tue, 22 Feb 2022 12:49:10 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id j9-20020a05600c190900b0037bff8a24ebso1729227wmq.4 for ; Tue, 22 Feb 2022 04:49:10 -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=ano+FC3ech5m5qLMH9K7m40wmt5p/Zxv58ZylFCm9hsBehKVMcO/uN43tEHfZYWEhq 6k8pAnUD6QINamIJEoK4lR4NqDO7qPMd2De+11/zzvtH09NFHxPwEwabgrv5vjTF5vUE mh5ktXCJGoJDcoMjp52gW0QxP616cD9gk3cgLveLKRWcPP0V+zr1Zfv0ZBVHMeEebbNu PgswHGkY/oNs44y7g+ZDiAlG3Og5/z7DXUcBYLo13bpQ5prowgPpHHlB3EHDagUgcM99 coAATPRJ2RoS1uTGuhLoFZwhQ3LVhRsZili1SQ1ZirgupShBGHluJzMQc83fR8bPc9x6 odTQ== 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=AEvzNTLhBJDbfWuEYYH/1X1YLYNtGL6mp8PqhBycb3Wd9UO6ZET1czXhT4I57aOevk opKV/AHxARyEIdg6yI/3a13IyN8qXDse7/6QG9IQJ0R5bF+v+31ffsxoU0zAGrQIA3lm UVnmrq+XII+oqUcWC0AoKILKk3KHpP64Vt9uvLfcCC0Qn3HSo/i2QleSmCl6BYaz2qHc vnHdQOIFHZsv+ED4wE/dLsP9mi3fjjzAOnuOJ4wqJHZtIrEq/wuUNTJhgI1BYOj9GP+o IuTX7CZbX8Jji8XuXi7YPurcgyICdAbye/DT3TduhMdYxWB0h5hSzdGDXCSVeoxCfE0h 5byw== X-Gm-Message-State: AOAM530hbo8NCTPii95Bz5+YgUXJpOfYAy43wUthQTUB9Mwq9nD2fXId N7X87dd9XABfGeuerr3AlfM55H40lug= X-Google-Smtp-Source: ABdhPJwIwj+xRvNeCP0o9jjyl5dp8B3F0Q5ryxJo5xuuD2uxEkFaCtZjaM6QeO1fOxFHZ9sBW9Tu9g== X-Received: by 2002:a05:600c:4f46:b0:37c:8fba:4054 with SMTP id m6-20020a05600c4f4600b0037c8fba4054mr3186278wmq.101.1645534148342; Tue, 22 Feb 2022 04:49:08 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id bg31sm1428840wmb.1.2022.02.22.04.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:49:08 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:48:49 +0100 Message-Id: <20220222124850.6050-3-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222124850.6050-1-guillaume.bressaix@gmail.com> References: <20220222124850.6050-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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:48:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1595978 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=ChgBbYLh; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.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 4K2zXH46lXz9sGC for ; Tue, 22 Feb 2022 23:49:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D104660EC9; Tue, 22 Feb 2022 12:49:49 +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 Y2oo_OKALlMU; Tue, 22 Feb 2022 12:49:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id BFB7A60EB2; Tue, 22 Feb 2022 12:49:47 +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 821A81BF97F for ; Tue, 22 Feb 2022 12:49:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7DB1F8134C for ; Tue, 22 Feb 2022 12:49:22 +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 AAQ6U9A5jZYu for ; Tue, 22 Feb 2022 12:49:20 +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 4E9BB812C6 for ; Tue, 22 Feb 2022 12:49:20 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id k1so33021683wrd.8 for ; Tue, 22 Feb 2022 04:49:20 -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=n2CAfR6RbWpt6Vt6cWEPL4uRfgJDNTG8M1WmGkUR2pU=; b=ChgBbYLhY1nDAS347Dn3hQh73QDiyJzoMr2Z+/Qp6e6aONVmyrDC2VZBXxRTQ1xQPJ vW7p/zfsOEptOB8byBxJUR0exA2fQovLrNq/dUGktswCKXzHn6g12A5YESrDA5mT+re8 FMcQQsBLv0DWeVQJCYGcv1wc49FVs1bapPZfUoUx+pIcSdysV3HJqthsjsPvd+Xm24vP 4rLRqydFPJZLIbvrOZcHjxA0MpXUnpFkj2mVT7gbJM80HXKhA6hu7qklrkPAfX1LbCIn MKOKWVlnR7lWGv9gTOhJUKQdVnR4CzMdwnvOOOTaWXV2GIve8HwK4w9FNCWSN0Zmki4+ 206g== 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=n2CAfR6RbWpt6Vt6cWEPL4uRfgJDNTG8M1WmGkUR2pU=; b=nmwF4fmv90wiz3rQMj9ao2/j2zHdsVidAQfljVCgKwqEG1wxt403xgUXVO3CIUsgdT +F+6+i3PQD+GDlIFhSSFlBtrINKh38bJxgjlkmnCylaS/64FBRea6JbD/Z8WvRU+vLdV 0/xYknw2B4bB9wvWvNctz2SKqp6xL6+ICygU3Z1tsRkeYY2c+YEqfkvXDWgAmknXTKdO jzrKHetUEvHqlK/zVxkwaGt15niViNrhkcMFShs2tcgP5VkhqQdKGICEenPhz2FB33c9 KIBnRGyBxU1pyuDLYIS4m7cEmHDQ0elMwKuIIe26WAX/p/7LeFRf35DogOJoTDNtGzwU 543w== X-Gm-Message-State: AOAM532pjKa2XI7jQndnboUEXTdStM/l8tA9INIyD7wTpvvaLkh/cBVY pNl7akQLb+TQ6wYJaRngPmJlFdy6VaI4bA== X-Google-Smtp-Source: ABdhPJyxh3GHXSulMf0FNoiq+fA1JhLpQbXrWCqrkVAgMI59bUA9qwhBDsMUdE5c0HpuQrSKnT/eVw== X-Received: by 2002:adf:f6cf:0:b0:1ea:974c:5872 with SMTP id y15-20020adff6cf000000b001ea974c5872mr1821106wrp.137.1645534158126; Tue, 22 Feb 2022 04:49:18 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81e5:ad00:7afb:407b:e9ac:7e79]) by smtp.gmail.com with ESMTPSA id bg31sm1428840wmb.1.2022.02.22.04.49.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 04:49:17 -0800 (PST) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Tue, 22 Feb 2022 13:48:50 +0100 Message-Id: <20220222124850.6050-4-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220222124850.6050-1-guillaume.bressaix@gmail.com> References: <20220222124850.6050-1-guillaume.bressaix@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 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 ] --- v2: -lnpymath is not able to locate npymath.ini, I 'fix' it with an -L flag. -lnpyrandom seems to point to host/usr and not staging/usr I 'fix' it with an -L flag. v3: fix legal-info zlib is a scipy::io module runtime requirement run "python -c 'import scipy; scipy.test();'" to test this package Signed-off-by: Guillaume W. Bres --- DEVELOPERS | 3 ++ package/Config.in | 1 + package/python-scipy/Config.in | 29 ++++++++++++ package/python-scipy/python-scipy.hash | 9 ++++ package/python-scipy/python-scipy.mk | 63 ++++++++++++++++++++++++++ 5 files changed, 105 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..98d02b28a8 --- /dev/null +++ b/package/python-scipy/Config.in @@ -0,0 +1,29 @@ +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_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))