From patchwork Thu Jun 18 11:02:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 1312011 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=lxBj4lib; 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 49nfDC4rNdz9sRh for ; Thu, 18 Jun 2020 21:02:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 63A2E20366; Thu, 18 Jun 2020 11:02:49 +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 P6AZ+WhViRCI; Thu, 18 Jun 2020 11:02:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id F1EC520397; Thu, 18 Jun 2020 11:02:46 +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 8965B1BF426 for ; Thu, 18 Jun 2020 11:02:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 85EBD88743 for ; Thu, 18 Jun 2020 11:02:45 +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 EqmNO9bvM+mP for ; Thu, 18 Jun 2020 11:02:43 +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 2DA4888736 for ; Thu, 18 Jun 2020 11:02:43 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id q2so3150506wrv.8 for ; Thu, 18 Jun 2020 04:02:43 -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=RRVNRUcCGDN6ResMf2wCTtEnUyTIazG9NMV6k15O5Os=; b=lxBj4libLwzoMZ5J5SRN98lz3yoNNZjPnLXBaDfY88BX5r1Hfk27mDuIfwIuZ/8675 QvefIOhFq3kXtbmboEZWiRpGAD49QluGE7uUbFLQDTCrtBUU9qWL7M0MJt2seKDH0TlF p5P6RWF8geKaM+Z70eMqSlH80bzn2N22cRb+8er02ptB95pVfv+hS4RO3+eSA+BKKjkh Z6n+XnmjU6VWWtxiSW2x+5p1SZ6Nkt/Cx+fcLHRcbiJtb8NxAsFwFi9tNQjoiB2Vx7rY sMWjRFEvyHMYM3mGSojo1FyvpzngxV3vfsTaP7Vz8rn6bYEIMjbiJ+yWOk0FdfkY0mEr TrDQ== 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=RRVNRUcCGDN6ResMf2wCTtEnUyTIazG9NMV6k15O5Os=; b=oevaEJu7opHK+9IU1sMVs+Wuy3SvbQ1n/fXzdevLo+OfR1Qltyv3LVsoFxISs9fSsY PEHWYtRl2XRCQbys8usfR+ufiMhBSLCR01pBAu6IQ32ToB8pfKLv/Kgwzv9itgge+kMS qmoQRPvABTvSSxyi0s2xx1CUb0wZhcY9qtk+oFs3SZbRTK50tEIZSD8huar09S+08mXY T3Vhw45LahncG1ZiIKKbUjMb2FJ/MyDc0rDhf3APEXXp35SFj0Fun1VUYPBkXkZvnlK3 GlHcBTA0nll52/ygmCmika0ceBWrKNGIw1Yi6bNdtcrjObngcBNnhqGgqBcjLPz1J1Qp q7yg== X-Gm-Message-State: AOAM53236gs2UOgRK27UO5A0x3JKIF/tEZB/9QwwbPKkDCor/XWg3FjW EGJtcjJe8PPrE6hs/0QPa1yHRPoE X-Google-Smtp-Source: ABdhPJzLfhV9eM9v3zbiOBYTWXTmLK+F1SUYFVvGowYwDDP37VdmtXP3HKnu0uDWgwl/ZrJNNJx3kQ== X-Received: by 2002:adf:a306:: with SMTP id c6mr4054082wrb.122.1592478161203; Thu, 18 Jun 2020 04:02:41 -0700 (PDT) Received: from lenovoX201.home ([2a01:cb1c:794:2300:8ea9:82ff:fe03:6fc]) by smtp.gmail.com with ESMTPSA id 7sm7675wrc.94.2020.06.18.04.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 04:02:40 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@busybox.net Date: Thu, 18 Jun 2020 13:02:09 +0200 Message-Id: <20200618110209.5750-1-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 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" Signed-off-by: Guillaume W. Bres --- python-pybind only allows C++ -> python bindings at the moment. As pointed by Asaf, we will face issues if we try to activate Python->C++ bindings in the future, because Cmake will search for 'pybind11' as a key word. 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))