From patchwork Sat Feb 27 10:45:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1445158 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: 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=20161025 header.b=Q2JLzWRD; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4Dnjpj5bLxz9sCD for ; Sat, 27 Feb 2021 21:45:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id F11DC6F51C; Sat, 27 Feb 2021 10:45:14 +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 V09co2AppSpb; Sat, 27 Feb 2021 10:45:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 308EC6F48A; Sat, 27 Feb 2021 10:45:13 +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 754821BF5A5 for ; Sat, 27 Feb 2021 10:45:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7174F842CC for ; Sat, 27 Feb 2021 10:45: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 Pq2SJGUE0_WT for ; Sat, 27 Feb 2021 10:45:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by smtp1.osuosl.org (Postfix) with ESMTPS id 5357584239 for ; Sat, 27 Feb 2021 10:45:10 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id h98so10996154wrh.11 for ; Sat, 27 Feb 2021 02:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SbXw33+dVSi9v0hZ2AZLhyIK9W3Yc81avbydQbLOClI=; b=Q2JLzWRDNWDNsL9YJjjEodP3/IvqkmMDX35jggPE4G8DXcDEp/JJbg/u/WzHznECfK VpWCVI7HG1ucnKARSFuZ4VJStoVN7AA5tTn9A28YNA39IzTWuY4/0OBbg0t2OS2ugb49 kvauRMGLQnss2bhpKov26VZpw0IVazzgv7eIhrvDQYeEB61HPYdGaDOktlrgH5YwryyE F4EQYexj+aOetbI/2j0Kd+L0dcc715WOT9Q3G16J30syAYourKKLeufYSwKyZUWc3FDv ZkuuhgYcAXDZiZXaG+6sLp7K/v7dF9D7ZVkVZHQKCPvh86ASA1BEMxD2ahqXuDRLjT6o 4Cdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SbXw33+dVSi9v0hZ2AZLhyIK9W3Yc81avbydQbLOClI=; b=XgceTmHvzE8zmEkgPPE1oP96YaFQHp9L+dfx212Hz+u6F8UWxfDpSysZFqjRzHF8z+ jIXsKAG+YeQl3qMgndMugCMm8vBOL2EYxhYNqePqNzjymC062nE0ivTf/Gqz6exHERmY QyShYCZRa2CGi7UfAzOYUFCUejr21mkxmdhGApm/8QYcSPffwSffnYomL5z54tsLBvsi kV6nInzv7lnebLGw+XkeX4UD+HhePnh5gyO87DHvtX4fHvxRmWCq7LtAPB9NvLuLGhYZ ITml2pmEI+iIEqgrhEJJqK/RZ4TFmCKeCehvJX62Ixc8KL241W057yoyx3pmMaTQUlyk 2ldQ== X-Gm-Message-State: AOAM533iNWfnHG85FpG4H8fPFTZiAew/qtWbKVxrLpt8XASWovf2lKSp PgZDDvVmTu7T1dwjpOFmwLIsee/PLJg= X-Google-Smtp-Source: ABdhPJxBU2jufnWD7VCjRWpO6SqApXASPsaw6OIRdItX8tHMDdkij1bfa4XNNHH+xh85H/vQVl5Bzw== X-Received: by 2002:a5d:628c:: with SMTP id k12mr7456306wru.316.1614422708319; Sat, 27 Feb 2021 02:45:08 -0800 (PST) Received: from pc-140.home ([2a01:cb15:81d3:300:7285:c2ff:fea6:cc85]) by smtp.gmail.com with ESMTPSA id j16sm17790866wra.17.2021.02.27.02.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Feb 2021 02:45:07 -0800 (PST) From: guillaume.bressaix@gmail.com To: buildroot@busybox.net Date: Sat, 27 Feb 2021 11:45:03 +0100 Message-Id: <20210227104503.14434-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH RESEND] package/python-pyext: new package X-BeenThere: buildroot@busybox.net 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" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: "Guillaume W. Bres" Python-pyext is a set of scripts to enhance python. This includes features such as function overloading and the "switch" statement. Signed-off-by: Guillaume W. Bres --- No license file is currently delivered with the package sources. You can see on "pypi.org" that it is under MIT license though. I asked confirmation to the author though, here's a copy of that email: Hello, I just pushed a contribution to "Buildroot", a tool to generate embedded linux image easily, to have your package available in the general interface. I saw on "pypi.org" that your package is under MIT license, that is what I declared in Buildroot. However, since no license file is provided, the license verification is turned off. * Can you confirm your package is under MIT license? * Do you plan on delivering a license file in the next release Thank you Signed-off-by: Guillaume W. Bres --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyext/Config.in | 8 ++++++++ package/python-pyext/python-pyext.hash | 2 ++ package/python-pyext/python-pyext.mk | 17 +++++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-pyext/Config.in create mode 100644 package/python-pyext/python-pyext.hash create mode 100644 package/python-pyext/python-pyext.mk diff --git a/DEVELOPERS b/DEVELOPERS index b019fe04d5..17fc951805 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1057,6 +1057,7 @@ N: Guillaume William Brs F: package/libnids/ F: package/liquid-dsp/ F: package/pixiewps/ +F: package/pyext/ F: package/python-pybind/ F: package/reaver/ diff --git a/package/Config.in b/package/Config.in index 5304ab141c..bc72708d1d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1117,6 +1117,7 @@ menu "External python modules" source "package/python-pydal/Config.in" source "package/python-pydantic/Config.in" source "package/python-pyelftools/Config.in" + source "package/python-pyext/Config.in" source "package/python-pyftpdlib/Config.in" source "package/python-pygame/Config.in" source "package/python-pygments/Config.in" diff --git a/package/python-pyext/Config.in b/package/python-pyext/Config.in new file mode 100644 index 0000000000..4290d3899a --- /dev/null +++ b/package/python-pyext/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYEXT + bool "python-pyext" + help + python-pyext is a set of extensions to enhance python. + This includes features such as function overloading, + the 'switch' statement, python2 safe tuple unpacking. + + https://pypi.org/project/pyext/ diff --git a/package/python-pyext/python-pyext.hash b/package/python-pyext/python-pyext.hash new file mode 100644 index 0000000000..55ecee1317 --- /dev/null +++ b/package/python-pyext/python-pyext.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 e618a635be4e8c4a84b443cc27186601ad052efe35f01839815f2a2cf3947cdf pyext-0.7.tar.gz diff --git a/package/python-pyext/python-pyext.mk b/package/python-pyext/python-pyext.mk new file mode 100644 index 0000000000..cc01cc9ac7 --- /dev/null +++ b/package/python-pyext/python-pyext.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-pyext +# +################################################################################ + +PYTHON_PYEXT_VERSION = 0.7 +PYTHON_PYEXT_SOURCE = pyext-$(PYTHON_PYEXT_VERSION).tar.gz +PYTHON_PYEXT_SITE = https://files.pythonhosted.org/packages/b0/be/9b6005ac644aaef022527ce49617263379e49dbdbd433d1d3dd66d71f570 + +# A license file is not delivered with pyext, however, +# pypi.org clearly says this package is under MIT license. +# I asked confirmation to package authors +PYTHON_PYEXT_LICENSE = Unknown (clarification has been asked to authors) +PYTHON_PYEXT_SETUP_TYPE = setuptools + +$(eval $(python-package))