From patchwork Thu Jun 18 13:40:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1312127 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=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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=k1M2NqC4; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49njkL0xQcz9sRR for ; Thu, 18 Jun 2020 23:40:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A01E5265E8; Thu, 18 Jun 2020 13:40:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CX6C3v91DbaT; Thu, 18 Jun 2020 13:40:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8E49E25868; Thu, 18 Jun 2020 13:40:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BF86C1BF29C for ; Thu, 18 Jun 2020 13:40:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BC50188649 for ; Thu, 18 Jun 2020 13:40:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B3qMi2vu1ZBm for ; Thu, 18 Jun 2020 13:40:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id B28B188647 for ; Thu, 18 Jun 2020 13:40:35 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id b6so6090304wrs.11 for ; Thu, 18 Jun 2020 06:40:35 -0700 (PDT) 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=TTVoD3lhWjq5EhXabXeX49DLuqCfBxcGW2lDGiDoahc=; b=k1M2NqC4kK1lYhKQgWM0EADCKTLdAChwGEZJM9CosAEhpB0VEP2t4pT9Y6Jp4XEuOW +ReYlSieF7/xVcrFaBvPb1t3aaD9z/hlM4RhPN0uUwAMzEN+4aKe1il2cdhp7za1EXNu X3hkltrjqVvPfSZ9iUIkc48rPef8Vdx+SJPyVHzFv9ykML/rllxuDN36lppSuOlmb3YB /8TgG3GWc5W6nFI34cp1urh3h+YDMWVr762WrutT2v+BaH5DVK8t6RbW+HPYinaWefUk Be8UBYBcUbIS+iQaTs5x0THduPw1SClKzok7oMEUqKOkWX5kmSsTsquRS97TWpk+NPBq 3+ew== 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=TTVoD3lhWjq5EhXabXeX49DLuqCfBxcGW2lDGiDoahc=; b=kq/TXli0aTpGVZAZrjmVHMT5scEs3as98ajUb4jRg4ToiIFGZ3xpa4kEMrcpBywaa8 RcJcmXy4fcSGUtmSNUapL8EEtyZetWpK+y8MV/+jHzWmc/s0UgyLp/9+5Bhrr5Ldwrio yeJZr+SJje3DivLSGZLj0rqkaGMk8Gmbdu8WjKXjcMUZuE/VIIUTNZoFoReAd63VVHys ytqJQPmEOCITRmSJLeOQ1R+ytHFSybTz6GFXSHxs1C1yPsGAS+EBMQDoY5CohAcuXvXd Me1+a5s6buAdFNODfRLN7NclJ1IDkEFWyHIgM1J82Xw+xTp56TzROJH6y8ve9QywUZ4d fjhg== X-Gm-Message-State: AOAM5324b8ZH3sFosAuc77KWwWDdCGSZRQMBd6mL50Wuzn7byziqmd54 PV3CDQAYAtQ30pE2LjYQBQ64dfZ7 X-Google-Smtp-Source: ABdhPJwQnAZF6M1PpGfuUnyTx1mLxhRHPmOlm61ldePJOsEhyKQzmCk0a8OCizuti+FjNjlRqwWqsA== X-Received: by 2002:adf:9d8f:: with SMTP id p15mr4750857wre.421.1592487633858; Thu, 18 Jun 2020 06:40:33 -0700 (PDT) Received: from lenovoX201.home ([2a01:cb1c:794:2300:8ea9:82ff:fe03:6fc]) by smtp.gmail.com with ESMTPSA id f9sm3528541wre.65.2020.06.18.06.40.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 06:40:33 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Thu, 18 Jun 2020 15:40:17 +0200 Message-Id: <20200618134017.18704-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/1] package/python-pybind: rename package to python-pybind11 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" Renaming this package because the current name might be misleading in the future Signed-off-by: Guillaume W. Bres --- Please note that this package only allows C++->python bindings at the moment, Asaf's related work must be merged for python->c++ bindings Signed-off-by: Guillaume W. Bres --- DEVELOPERS | 2 +- package/Config.in | 2 +- package/python-pybind/python-pybind.mk | 13 ------------- .../{python-pybind => python-pybind11}/Config.in | 6 +++--- .../python-pybind11.hash} | 2 +- package/python-pybind11/python-pybind11.mk | 13 +++++++++++++ 6 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 package/python-pybind/python-pybind.mk rename package/{python-pybind => python-pybind11}/Config.in (53%) rename package/{python-pybind/python-pybind.hash => python-pybind11/python-pybind11.hash} (83%) create mode 100644 package/python-pybind11/python-pybind11.mk diff --git a/DEVELOPERS b/DEVELOPERS index cbe6bc1856..147381bf0b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1053,7 +1053,7 @@ F: package/sdl2/ N: Guillaume William Brs F: package/liquid-dsp/ F: package/pixiewps/ -F: package/python-pybind/ +F: package/python-pybind11/ F: package/reaver/ N: Guo Ren diff --git a/package/Config.in b/package/Config.in index 1f44fe7ca9..36e9c606c7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1070,7 +1070,7 @@ menu "External python modules" source "package/python-pyalsa/Config.in" source "package/python-pyasn1/Config.in" source "package/python-pyasn1-modules/Config.in" - source "package/python-pybind/Config.in" + source "package/python-pybind11/Config.in" source "package/python-pycairo/Config.in" source "package/python-pycares/Config.in" source "package/python-pycli/Config.in" diff --git a/package/python-pybind/python-pybind.mk b/package/python-pybind/python-pybind.mk deleted file mode 100644 index 634e869e40..0000000000 --- a/package/python-pybind/python-pybind.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-pybind -# -################################################################################ - -PYTHON_PYBIND_VERSION = 2.5.0 -PYTHON_PYBIND_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND_VERSION)) -PYTHON_PYBIND_LICENSE = BSD-3-Clause -PYTHON_PYBIND_LICENSE_FILES = LICENSE -PYTHON_PYBIND_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/package/python-pybind/Config.in b/package/python-pybind11/Config.in similarity index 53% rename from package/python-pybind/Config.in rename to package/python-pybind11/Config.in index 604cb9ee67..714c37f13c 100644 --- a/package/python-pybind/Config.in +++ b/package/python-pybind11/Config.in @@ -1,7 +1,7 @@ -config BR2_PACKAGE_PYTHON_PYBIND - bool "python-pybind" +config BR2_PACKAGE_PYTHON_PYBIND11 + bool "python-pybind11" help - PyBind is a lightweight header-only library that exposes C++ + PyBind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code. diff --git a/package/python-pybind/python-pybind.hash b/package/python-pybind11/python-pybind11.hash similarity index 83% rename from package/python-pybind/python-pybind.hash rename to package/python-pybind11/python-pybind11.hash index 751b0bdf6e..2cdcbee8b2 100644 --- a/package/python-pybind/python-pybind.hash +++ b/package/python-pybind11/python-pybind11.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504 python-pybind-2.5.0.tar.gz +sha256 97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504 python-pybind11-2.5.0.tar.gz # License files, locally calculated sha256 9a37ea54aa3cf12c7f3292799f20822ffd4b9b7142b36a7a9997b28c39264dc9 LICENSE diff --git a/package/python-pybind11/python-pybind11.mk b/package/python-pybind11/python-pybind11.mk new file mode 100644 index 0000000000..c4fc578894 --- /dev/null +++ b/package/python-pybind11/python-pybind11.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-pybind11 +# +################################################################################ + +PYTHON_PYBIND11_VERSION = 2.5.0 +PYTHON_PYBIND11_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND11_VERSION)) +PYTHON_PYBIND11_LICENSE = BSD-3-Clause +PYTHON_PYBIND11_LICENSE_FILES = LICENSE +PYTHON_PYBIND11_SETUP_TYPE = setuptools + +$(eval $(python-package))