From patchwork Tue Apr 7 11:15:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1267371 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=EBGzSYMD; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48xPwd434bz9sSr for ; Tue, 7 Apr 2020 21:16:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7FE3688484; Tue, 7 Apr 2020 11:15:59 +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 fUV6Nax8tdX9; Tue, 7 Apr 2020 11:15:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D468A87BE0; Tue, 7 Apr 2020 11:15:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A6D441BF844 for ; Tue, 7 Apr 2020 11:15:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A1CE287ED2 for ; Tue, 7 Apr 2020 11:15:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jVgtL3B5V7Lp for ; Tue, 7 Apr 2020 11:15:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id A126F87EBA for ; Tue, 7 Apr 2020 11:15:53 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id c21so658944pfo.5 for ; Tue, 07 Apr 2020 04:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pEuvRRR8JgzrINrD8BS+AaLopDetLY6OT+UFrqUtIT0=; b=EBGzSYMDJswqZd5zaFpn2djG58CM/IHKYl7S0W/p3j8AfX1JFbQ+0wjs4CNuCNOKxY UoZFo3JrCodhv7DSSl5iEBNzSMOQH9YU6PYU+vSLgJEfcPQN50VmBCSMB4UE/KA+9beN 52r8jNUMqBt0T9/MbJPowgtH5x/NXEsZEstRI= 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:in-reply-to :references; bh=pEuvRRR8JgzrINrD8BS+AaLopDetLY6OT+UFrqUtIT0=; b=AyMRmu68rQJIkzTf3fYP2CtA4h8Bds3pYWG6lCYJ6eIaFbnub/t2trVVQHBsKhQB4Q QQGCBwOd8ILSiNovqt00aRtxIKE0lcZjymOkdVLziyt8gTx2xR5T7Dh/KNTQLrM2MwlI KojauinN7ZlnU/jFuT0cYICScmYCQsd9BC5GxGqVSn5dZffh55hYb0/5a8dznOwh3I5A OILSdfB0LiixWE8M1k2HKbjqwAqRpNIrCu/BavxwyPEhQgeahVGtZwebUFzxSqys5E5+ AUAF1jEbWxvmXaZplcSdbxx/5IBvZjx0GL4N8kEyPoaqTDQp0IVuO7pr+GomeSwRa20M Z8ow== X-Gm-Message-State: AGi0Pubcq8M5STOuaEvi3gqS/KUhgU/gnyNrGr8Uztx/N2MfY30jQyVX yRKvM/pGpqyelyKSQTHBCC3S/29qCOk= X-Google-Smtp-Source: APiQypJlwnPCZSyscRROvGAciwW7KGKp0WMubGBG7niNiMskFhJzJ7Y2XkZTYbzDWON1HXArUJITFQ== X-Received: by 2002:a62:648f:: with SMTP id y137mr2133818pfb.199.1586258152879; Tue, 07 Apr 2020 04:15:52 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:79b0:3a91:34a5:abd7]) by smtp.gmail.com with ESMTPSA id e187sm13788802pfe.50.2020.04.07.04.15.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 04:15:52 -0700 (PDT) From: Jagan Teki To: buildroot@buildroot.org Date: Tue, 7 Apr 2020 16:45:13 +0530 Message-Id: <20200407111515.21131-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200407111515.21131-1-jagan@amarulasolutions.com> References: <20200407111515.21131-1-jagan@amarulasolutions.com> Subject: [Buildroot] [PATCH v8 3/5] package/python-pybind11: new host 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: Esben Haabendal , Jagan Teki , Suniel Mahesh , linux-amarula@amarulasolutions.com, "Yann E . MORIN" , Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add python-pybind11 package with 2.4.3 release version. Cc: Esben Haabendal Signed-off-by: Jagan Teki --- Changes for v8: - none Changes for v7: - update the commit message - fix sha256 value of pybind11 LICENCE DEVELOPERS | 1 + package/Config.in.host | 1 + package/python-pybind11/Config.in.host | 7 +++++++ package/python-pybind11/python-pybind11.hash | 5 +++++ package/python-pybind11/python-pybind11.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-pybind11/Config.in.host create mode 100644 package/python-pybind11/python-pybind11.hash create mode 100644 package/python-pybind11/python-pybind11.mk diff --git a/DEVELOPERS b/DEVELOPERS index a2c6da208b..308a59b264 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1151,6 +1151,7 @@ F: configs/orangepi_win_defconfig F: configs/orangepi_zero_plus2_defconfig F: configs/pine64_defconfig F: configs/pine64_sopine_defconfig +F: package/python-pybind11 N: James Hilliard F: package/gensio/ diff --git a/package/Config.in.host b/package/Config.in.host index dfea478868..d63bf54aa7 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -57,6 +57,7 @@ menu "Host utilities" source "package/python/Config.in.host" source "package/python-cython/Config.in.host" source "package/python-lxml/Config.in.host" + source "package/python-pybind11/Config.in.host" source "package/python-six/Config.in.host" source "package/python-xlrd/Config.in.host" source "package/python3/Config.in.host" diff --git a/package/python-pybind11/Config.in.host b/package/python-pybind11/Config.in.host new file mode 100644 index 0000000000..e4164efd9d --- /dev/null +++ b/package/python-pybind11/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_PYTHON_PYBIND11 + bool "host python-pybind11" + help + Python module for Seamless operability between + C++11 and Python. + + https://github.com/pybind/pybind11 diff --git a/package/python-pybind11/python-pybind11.hash b/package/python-pybind11/python-pybind11.hash new file mode 100644 index 0000000000..880b678b94 --- /dev/null +++ b/package/python-pybind11/python-pybind11.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.python.org/pypi/pybind11/json +md5 23fdca8191b16ce3e7f38fb9e4252b2d pybind11-2.4.3.tar.gz +sha256 72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758 pybind11-2.4.3.tar.gz +# sha256 for LICENSE is locally computed +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..833ec92c86 --- /dev/null +++ b/package/python-pybind11/python-pybind11.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pybind11 +# +################################################################################ + +PYTHON_PYBIND11_VERSION = 2.4.3 +PYTHON_PYBIND11_SOURCE = pybind11-$(PYTHON_PYBIND11_VERSION).tar.gz +PYTHON_PYBIND11_SITE = https://pypi.python.org/packages/aa/91/deb6743e79e22ab01502296570b39b8404f10cc507a6692d612a7fee8d51 +PYTHON_PYBIND11_SETUP_TYPE = setuptools +PYTHON_PYBIND11_LICENSE = BSD +PYTHON_PYBIND11_LICENSE_FILES = LICENSE + +$(eval $(host-python-package))