From patchwork Thu May 2 08:20:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094056 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="yMt/kvlH"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44vp9N1bM7z9sBb for ; Thu, 2 May 2019 18:20:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C3B538659A; Thu, 2 May 2019 08:20:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gmu3bY7Nbq4f; Thu, 2 May 2019 08:20:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6C6898659E; Thu, 2 May 2019 08:20:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1F0F51BF303 for ; Thu, 2 May 2019 08:20:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 18EE9221DC for ; Thu, 2 May 2019 08:20:19 +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 FuCcaagwVjtC for ; Thu, 2 May 2019 08:20:18 +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 silver.osuosl.org (Postfix) with ESMTPS id C5593220B2 for ; Thu, 2 May 2019 08:20:17 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id k16so2017494wrn.5 for ; Thu, 02 May 2019 01:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZXm7RErfR7WYzOlEDHX/z/jfFYY0ppr/ymr3kS+wRoc=; b=yMt/kvlHhA8K/fx7N+tiFoONkLkKJAe0uRviBhpRuOmSq5ictpL3H3eaWgL3iUzSj7 INtmblcquLluREV2ACXoukKXrxABR+o4P29vWoqJwrSrtc3MbJ0Bm+PkGQigDo+VwG4X 0xtb+jDGLXYhsWz3lY99xsDIs2OQNwjRcm2M0eEg5B0i53S0dfUyCdlrm+XqdU/dMtRu WEhRMgJu6dFEg/Ueg3zxyICpvgj0zD5HzaVd2vSlQ1to0vP4kg+0jvgGD7s/uB/xFNZa xTGyy7pdBpZApLeUmZ4QtQVfswV4tgQkRRCF6a2RsvtMGy7zrAeLWpXYOgTSJgqwavtZ aExw== 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=ZXm7RErfR7WYzOlEDHX/z/jfFYY0ppr/ymr3kS+wRoc=; b=CKsodd+w25jDJIHa2+ZKgda7DR0GC43v1l/AVxDSZ2X4JZlCwqYK3I3RxbrqmtqEkv IYKj0zNlQc/BJIlDPopIf57Nf8BCwH3DH8+rn9FVrDJWoFP/2zFw2mdOCp0w2KXROEwF O0QMcx2N5PJcTB0x4FFQRvb/Ct1IKM1Qn3CcRmk1FhkVGejJGPa9K5n+K7d0V7Q1C2P2 rkY3dBO3sOEr2zblVJUrZbHJh9zkOHb8OcQXSZdaO2tq7r6sav13gigVu+akb7Fn4YFA 86FGzsjlU8+HISBVzF5fgLt+MlT8NcbrZlOYPI6d+/nrcn+GweWRflDNv+4VOw0zSval +P1Q== X-Gm-Message-State: APjAAAWFXyTB7X8gdbUyNsQyrEDFs+y0xtwJAgmNSIGi6PsDkYJeTajY SYQtduH/APSrv1zEp/VXTwts252S51U= X-Google-Smtp-Source: APXvYqzQmCUDx73cACpxIbseGMq68bHRE5L9RBcezH6zc2ozh8kP3OL6tfa97zE7HdQUwnpSH1RkaA== X-Received: by 2002:a5d:52c6:: with SMTP id r6mr1805554wrv.131.1556785215834; Thu, 02 May 2019 01:20:15 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:15 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:04 +0200 Message-Id: <1556785210-18237-2-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 1/7] package/luajit: bump to version 2.1.x developpment version for aarch64 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" luajit 2.0.5 has not been updated since 2017, it lacks aarch64 support. An upgrade to version 2.1.0-beta3 is required to get aarch64 which allows to execute bcc (ebpf's front end tool) on arm64 architectures. Luajit 2.0.1-beta3 is not a release version: https://github.com/LuaJIT/LuaJIT which why we kept luajit 2.0.5 version and the upgrade is only made when aarch64 is encountered. Signed-off-by: Jugurtha BELKALEM --- .../bcc/0001-package-bcc-luajit-for-aarch64.patch | 25 ++++++++++++++++++++++ package/luajit/Config.in | 2 +- package/luajit/luajit.hash | 1 + package/luajit/luajit.mk | 8 +++++-- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 package/bcc/0001-package-bcc-luajit-for-aarch64.patch diff --git a/package/bcc/0001-package-bcc-luajit-for-aarch64.patch b/package/bcc/0001-package-bcc-luajit-for-aarch64.patch new file mode 100644 index 0000000..a3658a7 --- /dev/null +++ b/package/bcc/0001-package-bcc-luajit-for-aarch64.patch @@ -0,0 +1,25 @@ +From 910cee6713f78eb4dce4747ca349322cd0528a5e Mon Sep 17 00:00:00 2001 +From: Jugurtha BELKALEM +Date: Thu, 2 May 2019 10:02:43 +0200 +Subject: [PATCH] package/bcc luajit for aarch64 + +--- + bcc-v0.8.0/src/lua/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt +index 7541d48..620a0cd 100644 +--- a/src/lua/CMakeLists.txt ++++ b/src/lua/CMakeLists.txt +@@ -15,7 +15,7 @@ if (LUAJIT_LIBRARIES AND LUAJIT) + + ADD_CUSTOM_COMMAND( + OUTPUT bcc.o +- COMMAND ${LUAJIT} -bg bcc.lua bcc.o ++ COMMAND ../../../../host/bin/luajit -bg bcc.lua -a arm64 bcc.o + DEPENDS bcc.lua + ) + +-- +2.7.4 + diff --git a/package/luajit/Config.in b/package/luajit/Config.in index 88c5bcb..9ecf6b4 100644 --- a/package/luajit/Config.in +++ b/package/luajit/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS bool - default y if BR2_i386 || \ + default y if BR2_i386 || BR2_aarch64 || \ (BR2_x86_64 && BR2_HOSTARCH='x86_64') || \ BR2_powerpc || BR2_arm || BR2_armeb || \ ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT && \ diff --git a/package/luajit/luajit.hash b/package/luajit/luajit.hash index 7e2d87e..1737cca 100644 --- a/package/luajit/luajit.hash +++ b/package/luajit/luajit.hash @@ -2,4 +2,5 @@ md5 48353202cbcacab84ee41a5a70ea0a2c LuaJIT-2.0.5.tar.gz # Locally calculated +sha256 ad5077bd861241bf5e50ae4bf543d291c5fcffab95ccc3218401131f503e45bd luajit-f0e865dd4861520258299d0f2a56491bd9d602e1.tar.gz sha256 accb335aa3102f80d31caa2c2508fbcb795314106493519a367f13a87d0e87de COPYRIGHT diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk index 5b08a42..0e0a1e7 100644 --- a/package/luajit/luajit.mk +++ b/package/luajit/luajit.mk @@ -4,14 +4,18 @@ # ################################################################################ +ifeq ($(BR2_aarch64),y) +LUAJIT_VERSION = f0e865dd4861520258299d0f2a56491bd9d602e1 +LUAJIT_SITE = $(call github,luajit,luajit,$(LUAJIT_VERSION)) +else LUAJIT_VERSION = 2.0.5 LUAJIT_SOURCE = LuaJIT-$(LUAJIT_VERSION).tar.gz LUAJIT_SITE = http://luajit.org/download +endif + LUAJIT_LICENSE = MIT LUAJIT_LICENSE_FILES = COPYRIGHT - LUAJIT_INSTALL_STAGING = YES - LUAJIT_PROVIDES = luainterpreter ifeq ($(BR2_PACKAGE_LUAJIT_COMPAT52),y) From patchwork Thu May 2 08:20:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094058 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="z5nj5+Kp"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44vp9Q4pWwz9s9y for ; Thu, 2 May 2019 18:20:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 618EE88047; Thu, 2 May 2019 08:20:22 +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 b19j-NgNTgYC; Thu, 2 May 2019 08:20:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 42E6688026; Thu, 2 May 2019 08:20:21 +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 23E511BF96A for ; Thu, 2 May 2019 08:20:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2094088020 for ; Thu, 2 May 2019 08:20:19 +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 jKk77+jBUONC for ; Thu, 2 May 2019 08:20:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8A27D88007 for ; Thu, 2 May 2019 08:20:18 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id p21so1501034wmc.0 for ; Thu, 02 May 2019 01:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l2Nt4T2AB6XsJ0VswrPqA+KkezJsOVl/osHsiUSfgac=; b=z5nj5+Kp5aLW4Qqw5nw9r44PH8Hp5X+XI7OWtmms03RF/lgMXk4xScG4qPcvFJ7EFr z6oXPlfayWXilzo4DxKwgtimNjEnoarr/txGGO30Op4E7xgTKW3+bQPDqXo4uCCHwUmK 6Xn9hI0snXeQ5rwOi7xTydCp07AXVvElFwO6rvhfLxy+Q/vuBhHNr3jDHAIsly41A0yv I+Xd673XF/8h3OFKcyrLrFe1caOcRvWTsj+47MOQrExdWM/gvRwZAUTZTP3pQeiyN6hz l9ii256kzo1ahf2ULSd7nOHbeVxvfugcJlt66luF2Bv8Sb46i4GBEI/fBPBoiAO2tr6W NCOw== 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=l2Nt4T2AB6XsJ0VswrPqA+KkezJsOVl/osHsiUSfgac=; b=tXgIgQiuyIo/m14u2bvF+KQ2mkXCfJsxPVaaTWgCzpYe/H8K7QVrupFjdFaaM2SKJE BMVPWpVbl4jOjKFT8mZeyKjx+sy8k8HtOdkV0Ue8AtZz6in1c9guqNOnSUMXv8sd8HcK v5S8/4yGZEoCsmbxeMSnIIdCNnDTb58XXwmAN0MSeZhiZWd4W6ztmcUA+DgmmcGfbUFY 5vm8+7qYgND//KhIACMEb8MZmhn5hyhHYiaYDd21We5yJDX5iVaQov6wHpBVfOcmdkq8 ytIKz+g4jeDPhDlk7embIGIOj0h49nr12F5UqdjgUeUD3zlyndzBaMo+AG1do8Xu0kdR zNCA== X-Gm-Message-State: APjAAAUc/XtyXDG7dK8mDQP1XvMypdEk/VoXUTxT2V5cFI3KOdTF1kl3 MkeRJoMWENoUVrmHejyJV9AV327dPl4= X-Google-Smtp-Source: APXvYqyZ4GSW74CrT2A0p1LMYyMQaPmq8GrC+uMCKHWKodW2oDVAE+km88zlUzpI462R9eA+XIGNOw== X-Received: by 2002:a7b:cf0c:: with SMTP id l12mr1334824wmg.132.1556785217081; Thu, 02 May 2019 01:20:17 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:16 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:05 +0200 Message-Id: <1556785210-18237-3-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 2/7] package/llvm: add BPF backend 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: Romain Naour , Valentin Korenblit MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Romain Naour The BPF backend is needed for bcc tool. Signed-off-by: Romain Naour Cc: Valentin Korenblit --- package/llvm/Config.in | 6 ++++++ package/llvm/llvm.mk | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/package/llvm/Config.in b/package/llvm/Config.in index 83e9466..72d920e 100644 --- a/package/llvm/Config.in +++ b/package/llvm/Config.in @@ -35,6 +35,12 @@ config BR2_PACKAGE_LLVM_AMDGPU Build AMDGPU target. Select this option if you are going to install mesa3d with llvm and use Gallium Radeon driver. +config BR2_PACKAGE_LLVM_BPF + bool "BPF backend" + help + Build BPF target. Select this option if you are going + to install bcc on the target. + endif comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, host gcc >= 4.8, dynamic library" diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index 3c62285..ad4f3c4 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -61,6 +61,11 @@ ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) LLVM_TARGETS_TO_BUILD += AMDGPU endif +# Build BPF backend +ifeq ($(BR2_PACKAGE_LLVM_BPF),y) +LLVM_TARGETS_TO_BUILD += BPF +endif + # Use native llvm-tblgen from host-llvm (needed for cross-compilation) LLVM_CONF_OPTS += -DLLVM_TABLEGEN=$(HOST_DIR)/bin/llvm-tblgen From patchwork Thu May 2 08:20:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094059 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="UPCred0L"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44vp9V1Yp2z9s9y for ; Thu, 2 May 2019 18:20:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 15E048806D; Thu, 2 May 2019 08:20:24 +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 mEmHKrwMJ0sX; Thu, 2 May 2019 08:20:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2C2328803E; Thu, 2 May 2019 08:20:23 +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 6255C1BF303 for ; Thu, 2 May 2019 08:20:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5526288042 for ; Thu, 2 May 2019 08:20:22 +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 wzb728r2l1Xv for ; Thu, 2 May 2019 08:20:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 69D7388007 for ; Thu, 2 May 2019 08:20:20 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id n25so1396123wmk.4 for ; Thu, 02 May 2019 01:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2Oy1IDUfs3Cu9zYgoPFIs6bvmbQshmaAq2wUWlHEyG4=; b=UPCred0Lv5K3hy9q84rBwKRciock3NdWL+WpKQ0XKfNa9z77JsWIqgYFR88xP98684 UYJYK54j/yZDf560HNpj4jC3oCo4j4dKT+lnm50bj4QeGYrk0VtFmbsyznn6nSezviAD 0FMhE1JI8eWy0hImdxPbmiF6ESrk67V4GpYJEMZ60oNmdTCAGZLaYg02V5lL3ANaeSE5 HyTUPUvfV/47rhBIBlXNU3HzQvx07fPZtcNh7XvyzzxU+xmjhLPyyEsX9pGqQP6QI+2f eN47qZGqhkCDTmc44INcKdAomTx94S01mY+bfFtqkKrzRMcM2TG3fqidyrkfBzaR8UVx SLWA== 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=2Oy1IDUfs3Cu9zYgoPFIs6bvmbQshmaAq2wUWlHEyG4=; b=U5B7FuGh5D9jhgZiE3Ph+VkNC+2AMdhK2Nj/npwqcsM7hCP9lEHA/6b4oBpG2VPnve LHIX17mGw1HxJtEtPKU3p67OaMAhH0JcYGGpo+81qgrHfv0zhVlZ/g+Gnhi0UobZOccS OvZ9q35IvkZoOjjN+iDxegJYFnGYfUVdEnBKmbnsDfXxAoq2R2uyZdxwrWnsK8DTFV9g FzVbuMwrBSoVh7DZ6FAaAWibnbw7Fzbyj7W8QGp3Encz4ei7a+hgu+XFoGGnmhEDxadD ZHWxtEr3ywq3t/B3Rf9zZaRDO0T93cU+jMBdYPuUk+dtawmqs+5bqNYm3UQ9M8ehex6v Peug== X-Gm-Message-State: APjAAAWrAiG77PkReoVeV3lmplnogC8Ygf1/TkFt795n+hhsuHLtCoBg bMjdEdycQtn7PsCjjDn66ofxwFyIbiE= X-Google-Smtp-Source: APXvYqxrrHBfPQqrdEejwqmr/LCTTeIhYtg7riHIja8DcVzkWCvzw5GXzBmRusXlH6nYtnPwcCsdDg== X-Received: by 2002:a7b:cf18:: with SMTP id l24mr1288780wmg.132.1556785218755; Thu, 02 May 2019 01:20:18 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:18 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:06 +0200 Message-Id: <1556785210-18237-4-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 3/7] package/bcc: 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc is a front-end tool for eBPF : https://github.com/iovisor/bcc/blob/master/README.md. eBPF is the most powerful Linux tracer, and bcc allows to write eBPF scripts in C and PYTHON3. bcc can help to troubleshoot issues quickly on embedded systems (as long as Linux kernel version >= 4.1). bcc can also make it easy to create observabilty tools, SDN configuration, ddos mitigation, intrusion detection and secure containers. More information is available at: http://www.brendangregg.com/ebpf.html. Signed-off-by: Jugurtha BELKALEM --- package/Config.in | 1 + ...CMake-Allow-to-disable-building-man-pages.patch | 35 +++++++++++++++ package/bcc/Config.in | 51 ++++++++++++++++++++++ package/bcc/bcc.hash | 3 ++ package/bcc/bcc.mk | 23 ++++++++++ 5 files changed, 113 insertions(+) create mode 100644 package/bcc/0001-CMake-Allow-to-disable-building-man-pages.patch create mode 100644 package/bcc/Config.in create mode 100644 package/bcc/bcc.hash create mode 100644 package/bcc/bcc.mk diff --git a/package/Config.in b/package/Config.in index f592e74..dc63589 100644 --- a/package/Config.in +++ b/package/Config.in @@ -79,6 +79,7 @@ menu "Compressors and decompressors" endmenu menu "Debugging, profiling and benchmark" + source "package/bcc/Config.in" source "package/blktrace/Config.in" source "package/bonnie/Config.in" source "package/cache-calibrator/Config.in" diff --git a/package/bcc/0001-CMake-Allow-to-disable-building-man-pages.patch b/package/bcc/0001-CMake-Allow-to-disable-building-man-pages.patch new file mode 100644 index 0000000..c5c87d5 --- /dev/null +++ b/package/bcc/0001-CMake-Allow-to-disable-building-man-pages.patch @@ -0,0 +1,35 @@ +From a99f097aedbf964356e62c0c4bba1257f108c3eb Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 7 Dec 2018 22:36:21 +0100 +Subject: [PATCH] CMake: Allow to disable building man pages + +Signed-off-by: Romain Naour +--- + CMakeLists.txt | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bb3f53b9..5e95d555 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,6 +19,7 @@ include(cmake/FindCompilerFlag.cmake) + option(ENABLE_LLVM_SHARED "Enable linking LLVM as a shared library" OFF) + option(ENABLE_CLANG_JIT "Enable Loading BPF through Clang Frontend" ON) + option(ENABLE_USDT "Enable User-level Statically Defined Tracing" ON) ++option(ENABLE_MAN "Build man pages" ON) + CMAKE_DEPENDENT_OPTION(ENABLE_CPP_API "Enable C++ API" ON "ENABLE_USDT" OFF) + + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +@@ -88,7 +89,9 @@ add_subdirectory(src) + add_subdirectory(introspection) + if(ENABLE_CLANG_JIT) + add_subdirectory(examples) ++if(ENABLE_MAN) + add_subdirectory(man) ++endif(ENABLE_MAN) + add_subdirectory(tests) + add_subdirectory(tools) + endif(ENABLE_CLANG_JIT) +-- +2.14.5 + diff --git a/package/bcc/Config.in b/package/bcc/Config.in new file mode 100644 index 0000000..756a699 --- /dev/null +++ b/package/bcc/Config.in @@ -0,0 +1,51 @@ +config BR2_PACKAGE_BCC + bool "bcc" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC # hardcode GNU tuple (x86_64-unknown-linux-gnu) + depends on BR2_LINUX_KERNEL # needs kernel sources on the target + depends on BR2_HOST_GCC_AT_LEAST_4_8 # clang + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # clang + depends on BR2_TOOLCHAIN_HAS_THREADS # clang + depends on BR2_INSTALL_LIBSTDCPP # clang + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # clang + depends on !BR2_STATIC_LIBS # clang, luajit + depends on BR2_USE_WCHAR # clang + select BR2_PACKAGE_CLANG + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_FLEX # needs FlexLexer.h + select BR2_PACKAGE_LLVM_BPF + select BR2_PACKAGE_LUAJIT + select BR2_PACKAGE_PYTHON3_BCC # wrappers for BPF + help + BPF Compiler Collection (BCC) + + BCC is a toolkit for creating efficient kernel tracing and + manipulation programs, and includes several useful tools and + examples. It makes use of extended BPF (Berkeley Packet + Filters), formally known as eBPF, a new feature that was + first added to Linux 3.15. Much of what BCC uses requires + Linux 4.1 and above. + + Note: Before using bcc, you need to copy the kernel source + code to the target. By default bcc use: + "/lib/module//build". That's because the + clang frontend build eBPF code at runtime. + + https://github.com/iovisor/bcc + +comment "bcc needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "bcc needs a glibc toolchain w/ wchar, threads, C++, gcc >= 4.8, host gcc >= 4.8, dynamic library" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_LINUX_KERNEL + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_8 \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ + || !BR2_USE_WCHAR + +comment "bcc needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/package/bcc/bcc.hash b/package/bcc/bcc.hash new file mode 100644 index 0000000..19eccb3 --- /dev/null +++ b/package/bcc/bcc.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 269949a47f9ed2ff01b5ebca20ec4a52341f7ff14b033b9dc1669b72a87af042 bcc-v0.8.0.tar.gz +sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE.txt diff --git a/package/bcc/bcc.mk b/package/bcc/bcc.mk new file mode 100644 index 0000000..e8f53eb --- /dev/null +++ b/package/bcc/bcc.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# bcc +# +################################################################################ + +BCC_VERSION = v0.8.0 +BCC_SITE = $(call github,iovisor,bcc,$(BCC_VERSION)) +BCC_LICENSE = Apache-2.0 +BCC_LICENSE_FILES = LICENSE.txt +# libbcc.so and libbpf.so +BCC_INSTALL_STAGING = YES + +BCC_DEPENDENCIES = host-bison host-flex host-luajit clang elfutils flex llvm luajit + +# ENABLE_LLVM_SHARED=ON to use llvm.so. +# Force REVISION otherwise bcc will use git describe to generate a version number. +BCC_CONF_OPTS = -DENABLE_LLVM_SHARED=ON \ + -DREVISION=$(BCC_VERSION) \ + -DENABLE_CLANG_JIT=ON \ + -DENABLE_MAN=OFF + +$(eval $(cmake-package)) From patchwork Thu May 2 08:20:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094062 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="Z1BWyoOq"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44vp9Y36tkz9s9y for ; Thu, 2 May 2019 18:20:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7C3938803E; Thu, 2 May 2019 08:20:25 +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 lE59xj0E7E8A; Thu, 2 May 2019 08:20:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 33B378807A; Thu, 2 May 2019 08:20:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8332F1BF303 for ; Thu, 2 May 2019 08:20:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7AD898659E for ; Thu, 2 May 2019 08:20:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MmX4YkMWB8-w for ; Thu, 2 May 2019 08:20:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9F12A865A9 for ; Thu, 2 May 2019 08:20:21 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id y5so1413841wma.2 for ; Thu, 02 May 2019 01:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2lYkf+CGII9L45WyEWCyq0KYpoebJJg2jLKgGXs7jms=; b=Z1BWyoOqoDkpcK7ouqtf8QMDPb0uTkWadAJICQOHTLAzvKfC/lhZh6iMCwFH00IA0D AtMawXiZ8rmDBwGe9qlAt5huWXofv5pO9ABKCe3gktoBWBzEtcjLnfYqxwf/WJ31IQvp 3XRsOuj0QFOnKtPfE8EvdZxBpTjrU90xeRcPcFCexuwARyYMrObIL2xdeyCFWH4ZSVFT b0S/5tsrXUL+DYL++f/X6KyWAzVbFfcB+DMSAAvZKtSC2VbJYsYAhOeEJOV7FoN9xVTA wAh/ixFH+RI1fwi0wjE3HwqTDSrRliw3zrr76BWFSX0wAZl+seBbIJQprfjMtpsxeTz9 mlQA== 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=2lYkf+CGII9L45WyEWCyq0KYpoebJJg2jLKgGXs7jms=; b=cJXuDTFFRlFBzcKvga822PMgd4fLJDR7Bl9rJEgwdS2kh5i80xehLOvONNxnItaIYX GWUo9HD1z1/L1kySoG0acs+k+Z2aQX+0RPC8gnQmnwL1osggC0IHZvXwQfK6SxG63eLg WY1FLEXVpgRu2K/GnpymL/yGuW9zsnPgwSQjnsRh9/bDaowFhYYhAW4zanEJ6ziXMOJk GkiceO1c8L6krxK0P4uQSUBp8vLZGLl3yoXEv9YH+cgE+y/NOaOIUGfugq8/BoyrR39Z qHMqrhhP+QbgaX95rVa8O9xpTykmx0CIO596aqDF0GvJnSAI/a8zjqxkpalVDL8pASzt cpgA== X-Gm-Message-State: APjAAAVfFLPtKiE27clQW61OPy7dz7vYp8FP82P491aoia1PQu/y8Jc7 lyiDuuX6GQlOWxmvtYuzXtRK9qi7GH4= X-Google-Smtp-Source: APXvYqzL+H4V96dRGt3wxPJ6NRA4ipUDeumDBZ9M2hxhRAGjQq3AsPCztbdUQ4zo5K+2J+QMs9RlsA== X-Received: by 2002:a7b:c38c:: with SMTP id s12mr1310467wmj.136.1556785219991; Thu, 02 May 2019 01:20:19 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:19 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:07 +0200 Message-Id: <1556785210-18237-5-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 4/7] package/python-pytest: 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc requires python-bcc which itself requires python-pytest. The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. Signed-off-by: Jugurtha BELKALEM --- package/Config.in | 1 + package/python-pytest/Config.in | 8 ++++++++ package/python-pytest/python-pytest.hash | 5 +++++ package/python-pytest/python-pytest.mk | 15 +++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 package/python-pytest/Config.in create mode 100644 package/python-pytest/python-pytest.hash create mode 100644 package/python-pytest/python-pytest.mk diff --git a/package/Config.in b/package/Config.in index dc63589..6afbe0f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1016,6 +1016,7 @@ menu "External python modules" source "package/python-pysocks/Config.in" source "package/python-pytablereader/Config.in" source "package/python-pytablewriter/Config.in" + source "package/python-pytest/Config.in" source "package/python-pytrie/Config.in" source "package/python-pytz/Config.in" source "package/python-pyudev/Config.in" diff --git a/package/python-pytest/Config.in b/package/python-pytest/Config.in new file mode 100644 index 0000000..7db5493 --- /dev/null +++ b/package/python-pytest/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYTEST + bool "python-pytest" + help + The pytest framework makes it easy to write small tests, + yet scales to support complex functional testing for + applications and libraries. + + https://pypi.org/project/pytest/ diff --git a/package/python-pytest/python-pytest.hash b/package/python-pytest/python-pytest.hash new file mode 100644 index 0000000..43f9f98 --- /dev/null +++ b/package/python-pytest/python-pytest.hash @@ -0,0 +1,5 @@ +# sha256 from https://pypi.org/project/pytest/#files +sha256 b7802283b70ca24d7119b32915efa7c409982f59913c1a6c0640aacf118b95f5 pytest-4.4.1.tar.gz + +# Locally calculated +sha256 4be38574daf05665b6194e4fd84c5ef6ce7c3a2810308a5222d5cdffc2d04d18 LICENSE diff --git a/package/python-pytest/python-pytest.mk b/package/python-pytest/python-pytest.mk new file mode 100644 index 0000000..665951f --- /dev/null +++ b/package/python-pytest/python-pytest.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pytest +# +################################################################################ + +PYTHON_PYTEST_VERSION = 4.4.1 +PYTHON_PYTEST_SOURCE = pytest-$(PYTHON3_PYTEST_VERSION).tar.gz +PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/2b/b1/c9a84f79fc3bad226a9085289da11ecdd9bd2779a2c654195962b37d4110/ +PYTHON_PYTEST_LICENSE = MIT +PYTHON_PYTEST_LICENSE_FILES = LICENSE +PYTHON_PYTEST_SETUP_TYPE = setuptools +PYTHON_PYTEST_DEPENDENCIES = python-setuptools-scm + +$(eval $(python-package)) From patchwork Thu May 2 08:20:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094060 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="lD2rRKUq"; 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 44vp9W1hqmz9sB8 for ; Thu, 2 May 2019 18:20:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2C6C8873B5; Thu, 2 May 2019 08:20:29 +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 92yoRqBeBMW0; Thu, 2 May 2019 08:20:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 69C298734C; Thu, 2 May 2019 08:20:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5AAAB1BF303 for ; Thu, 2 May 2019 08:20:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 557F7221DC for ; Thu, 2 May 2019 08:20:24 +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 e-5MWLAdJaOc for ; Thu, 2 May 2019 08:20:23 +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 silver.osuosl.org (Postfix) with ESMTPS id 11737220B2 for ; Thu, 2 May 2019 08:20:23 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id e28so2060455wra.0 for ; Thu, 02 May 2019 01:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZImtbA1S+HR3xPqsaFj62hUe8SkwEBkDLeQqfKewzgo=; b=lD2rRKUqlb6vwF6f7DNU03n1q1gJTa+J2vVR54hQbGjn9q8PNaSIKGV10E8ej1yiXu o6nRifVM0p7EH88/tF8SaF4TRhsSWjAObkADhU4LxcyLIWcF66PdwOADbhsaGGR4w0JE +lkUvMs9sdxzvOp4/H4Y96+/Otqsh3HhPn3m1YuvLvMM53I59SjOERtU8QN4fiuH1jCc S0y+NnbJy2GbZKkQgMP3oSnLYhCykz3az4nRMJx69ZgU9CxRsAZKi0dKlDMzx7ONjAFT q+lq+HrpILJFWxsxairTwehwTokUUv8zy3gVYvJkTuXYH7TRbJR+bzc0+c5gw9XxsXSk E/8A== 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=ZImtbA1S+HR3xPqsaFj62hUe8SkwEBkDLeQqfKewzgo=; b=VFT0v3tYUAu16+LMs0ygsLibkduW0qcgDdticlqHmSilD+E4w0//lwocvbWkqEv+h2 HKe0T3XZ2EfvdD3inJd/mu7Fu6QuronHuwArbiZO1Hq468fLdMOOS+/EQj4m3VuhuaXf DCC2ttg+3Rviswc8UHmi85IczqfjIhgBwiL2B9C31QCFUlnVgD/lwfJTNMn4Gd5kPwAg S72AoWn9dHXB5OWPlj1KHPiSv0pmtvdazlIPch6alwefEoSCSbadGvT5OsmVHyc23294 Mq1yAy01IGcyMKgPjmuBOcQ7XGMui5PTjLUeN01PjdqClPCjOOX3/zWXm1nV4G3wTKUw WeDg== X-Gm-Message-State: APjAAAUl4eVRb6bLQ8Z7geMXr3obCLx3+oLIyUOWk+D74rPPoazPSH+o VY51NrwOxLfKba52ppG83I9tdeDM3ao= X-Google-Smtp-Source: APXvYqw5+N15wmMd1qEdjtDQJ6JnxeNUGBcAf+JKp60BxgBs87pBieyqo2rb79sgtj1W3lw5SJvFTQ== X-Received: by 2002:adf:ef8c:: with SMTP id d12mr1868651wro.320.1556785221641; Thu, 02 May 2019 01:20:21 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:21 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:08 +0200 Message-Id: <1556785210-18237-6-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 5/7] package/python-pytest-runner: 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc needs this package because python-bcc and python-pytest require this package to work. Setup scripts can use pytest-runner to add setup.py test support for pytest runner. Signed-off-by: Jugurtha BELKALEM --- package/Config.in | 1 + package/python-pytest-runner/Config.in | 9 +++++++++ package/python-pytest-runner/python-pytest-runner.hash | 3 +++ package/python-pytest-runner/python-pytest-runner.mk | 16 ++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 package/python-pytest-runner/Config.in create mode 100644 package/python-pytest-runner/python-pytest-runner.hash create mode 100644 package/python-pytest-runner/python-pytest-runner.mk diff --git a/package/Config.in b/package/Config.in index 6afbe0f..60986e6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1017,6 +1017,7 @@ menu "External python modules" source "package/python-pytablereader/Config.in" source "package/python-pytablewriter/Config.in" source "package/python-pytest/Config.in" + source "package/python-pytest-runner/Config.in" source "package/python-pytrie/Config.in" source "package/python-pytz/Config.in" source "package/python-pyudev/Config.in" diff --git a/package/python-pytest-runner/Config.in b/package/python-pytest-runner/Config.in new file mode 100644 index 0000000..01dea9d --- /dev/null +++ b/package/python-pytest-runner/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PYTEST_RUNNER + bool "python-pytest-runner" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_SETUPTOOLS_SCM + help + Setup scripts can use pytest-runner to add setup.py + test support for pytest runner. + + https://pypi.org/project/pytest-runner/ diff --git a/package/python-pytest-runner/python-pytest-runner.hash b/package/python-pytest-runner/python-pytest-runner.hash new file mode 100644 index 0000000..da76c50 --- /dev/null +++ b/package/python-pytest-runner/python-pytest-runner.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 00ad6cd754ce55b01b868a6d00b77161e4d2006b3918bde882376a0a884d0df4 pytest-runner-4.4.tar.gz +sha256 a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd LICENSE diff --git a/package/python-pytest-runner/python-pytest-runner.mk b/package/python-pytest-runner/python-pytest-runner.mk new file mode 100644 index 0000000..f3e1a24 --- /dev/null +++ b/package/python-pytest-runner/python-pytest-runner.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-pytest-runner +# +################################################################################ + +PYTHON_PYTEST_RUNNER_VERSION = 4.4 +PYTHON_PYTEST_RUNNER_SOURCE = pytest-runner-$(PYTHON_PYTEST_RUNNER_VERSION).tar.gz +PYTHON_PYTEST_RUNNER_SITE = https://files.pythonhosted.org/packages/15/0a/1e73c3a3d3f4f5faf5eacac4e55675c1627b15d84265b80b8fef3f8a3fb5 +PYTHON_PYTEST_RUNNER_LICENSE = MIT +PYTHON_PYTEST_RUNNER_LICENSE_FILES = LICENSE +PYTHON_PYTEST_RUNNER_SETUP_TYPE = setuptools +PYTHON_PYTEST_RUNNER_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) +$(eval $(host-python-package)) From patchwork Thu May 2 08:20:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094063 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="YatIEykC"; 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 44vp9Y5KTZz9sB8 for ; Thu, 2 May 2019 18:20:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E824873FF; Thu, 2 May 2019 08:20:31 +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 itorVr92I6Wc; Thu, 2 May 2019 08:20:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4B3A58734C; Thu, 2 May 2019 08:20:29 +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 A5FBE1BF303 for ; Thu, 2 May 2019 08:20:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 83448880A7 for ; Thu, 2 May 2019 08:20:26 +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 LD8ejZ0Gh6lf for ; Thu, 2 May 2019 08:20:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id E417C88020 for ; Thu, 2 May 2019 08:20:24 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id f7so2048982wrs.2 for ; Thu, 02 May 2019 01:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zmWQ38v7kuofL3DNvEDorZY9YqhP5NhCeTJ7uuSFka4=; b=YatIEykCF4qigbr79l97qLLzKgoDNY3gvCCyPb/CRSn52gozZ+xPsTOVYCVIhA7Vm8 nkVbC6p/QV1us3tDb2WOFvQuNUUuJgX0/jYlWelC6/HaCBrikipIWGogQYpn5IjFKXH7 JqsuV/GnHLtHS0TLHhRvIE3YphVfsyv+0rcwkunFjJEfHPvclzMUc1Mu7gycpjxQhpg9 fdjXOTrv77crsgldkYBguXpuoalRnqhxokF3f9EHqRchaH+PU1OQeoxtE/NBF5gSZhvo RrmCGdSImUBv8LdqpQhrEE7O2WwBs/wyQ6ajTpWwdB39ix5ujL6lhgm/aNEGUwnidRfj mIEA== 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=zmWQ38v7kuofL3DNvEDorZY9YqhP5NhCeTJ7uuSFka4=; b=WuV/yVP4xIXMkJqK3fHJQQLoBYhnZo0romXFV4XsgXm+ayC0VOFhGAFqVsLDZv0Ro2 wuxBQFQ//ZlhdEBVkUUbDdmwcWIAKQ+IjyXu42YHyFnCzRhc9tm+g7IJyX2p5tl9qrca +t/eUdgghfdnXYuU0OLlD7vfeGLa6ZYa7zmLZ1PdUEVbhc6UORDfer1Z1gRuioWmDCGf lxCEwaAKxQa3czj9q+HgeDzQMsOTQd5dMu8cr2xqD5VNeGxIo+j/ZGLSuIg0hu4A7gVc EFV71+VBMxSlsC5Z2BXbRI0NKhSKf9FZo0CAZgYrvPaqNDVa58I+tcjDSiX8DDz2rA3q rnnw== X-Gm-Message-State: APjAAAW5IPza3kQYNHIZw09e1j17zMauzxOwRi2wQ9BNUu6lay4QFxxP 4Bqifq3D1QG3LqO0WEIJr3XYGF9Zv+I= X-Google-Smtp-Source: APXvYqwN0avEGqT0q3aXsMyZkieVZlCd5By2lTRGujyp18UQqA7bjrEiuUq3zypGXC7P88FlJKcvUg== X-Received: by 2002:adf:906c:: with SMTP id h99mr240778wrh.198.1556785223442; Thu, 02 May 2019 01:20:23 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:22 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:09 +0200 Message-Id: <1556785210-18237-7-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 6/7] package/python-traittypes: 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc requires this package which is used to add custom trait types for scientific computing. Signed-off-by: Jugurtha BELKALEM --- package/Config.in | 1 + package/python-traittypes/Config.in | 7 +++++++ package/python-traittypes/python-traittypes.hash | 5 +++++ package/python-traittypes/python-traittypes.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-traittypes/Config.in create mode 100644 package/python-traittypes/python-traittypes.hash create mode 100644 package/python-traittypes/python-traittypes.mk diff --git a/package/Config.in b/package/Config.in index 60986e6..8d16a09 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1074,6 +1074,7 @@ menu "External python modules" source "package/python-toml/Config.in" source "package/python-tornado/Config.in" source "package/python-traitlets/Config.in" + source "package/python-traittypes/Config.in" source "package/python-treq/Config.in" source "package/python-twisted/Config.in" source "package/python-txaio/Config.in" diff --git a/package/python-traittypes/Config.in b/package/python-traittypes/Config.in new file mode 100644 index 0000000..5eb6d07 --- /dev/null +++ b/package/python-traittypes/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_TRAITTYPES + bool "python-traittypes" + select BR2_PACKAGE_PYTHON_TRAITLETS + help + Custom trait types for scientific computing. + + https://pypi.org/project/traittypes/ diff --git a/package/python-traittypes/python-traittypes.hash b/package/python-traittypes/python-traittypes.hash new file mode 100644 index 0000000..a94b256 --- /dev/null +++ b/package/python-traittypes/python-traittypes.hash @@ -0,0 +1,5 @@ +# sha256 from https://pypi.org/project/traittypes/#files +sha256 be6fa26294733e7489822ded4ae25da5b4824a8a7a0e0c2dccfde596e3489bd6 traittypes-0.2.1.tar.gz + +# Locally calculated +sha256 221976dfad5db283a2669efe8607e24c9c9aecca8453d6beba045e665c2f88a1 LICENSE diff --git a/package/python-traittypes/python-traittypes.mk b/package/python-traittypes/python-traittypes.mk new file mode 100644 index 0000000..9e4eb47 --- /dev/null +++ b/package/python-traittypes/python-traittypes.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-traittypes +# +################################################################################ + +PYTHON_TRAITTYPES_VERSION = 0.2.1 +PYTHON_TRAITTYPES_SOURCE = traittypes-$(PYTHON_TRAITTYPES_VERSION).tar.gz +PYTHON_TRAITTYPES_SITE = https://files.pythonhosted.org/packages/8a/71/0578e44d2110f93c2136eb705f5b11e706e1e8ea3acaaaeac043bd40d8fd +PYTHON_TRAITTYPES_LICENSE = BSD-like +PYTHON_TRAITTYPES_LICENSE_FILES = LICENSE +PYTHON_TRAITTYPES_SETUP_TYPE = distutils + +$(eval $(python-package)) From patchwork Thu May 2 08:20:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1094064 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="ItJ+tw5z"; 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 44vp9d59vPz9s9y for ; Thu, 2 May 2019 18:20:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2833F30AA4; Thu, 2 May 2019 08:20:33 +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 VvA-YKjJBMlI; Thu, 2 May 2019 08:20:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D60FA221DC; Thu, 2 May 2019 08:20:30 +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 CC4261BF303 for ; Thu, 2 May 2019 08:20:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C5B6888084 for ; Thu, 2 May 2019 08:20:26 +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 unqrJr9HmuJO for ; Thu, 2 May 2019 08:20:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id DE2FA88060 for ; Thu, 2 May 2019 08:20:25 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id o4so2039357wra.3 for ; Thu, 02 May 2019 01:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/00z5wUC7vFQ7ESV2iB65KXdXXnNZOKoIEWd6OwgZQc=; b=ItJ+tw5zudj2Es6BbEz+KVGSYi1jQjoARKQqsVx+XgYYGTLVKm40jo/fC2kchCfl6h NULffYGZwOI0kBb8QbJZI64pWVewEWk4Ok5cHt3R4hj/kiaUubUoh/raEP/fwtS+3+7s ovAeD3mlGni7jTVDa+orhFJ/3gPaG2p89GnlCHCQ8Z17LyjbySFo10X8nBXN4ze0ohKX 1HmdjWG64hv/7DPg675JmdnmLhofK7IOGxSjRdS0Jq+BJMrA28aE7ukklKawCyd8QXzA P2TzDSXWJdHlQPfm1ffp8urmbEcTAlL9cay0XxphLDGLW44u+pA1e3vk102e63HZvwib 9Miw== 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=/00z5wUC7vFQ7ESV2iB65KXdXXnNZOKoIEWd6OwgZQc=; b=b7yxwN/kOGwj3Dqlx68+oHxC7PsupqaCfvowyHRfVwVzVsn6v0RDZI3YE8gLocUr71 hux4w1kwtaEycc1MdgK2nntRSpUEGrfq/iyI3NFGBZTY6nZ8iB8r0fkuMtH70J8gdgfw 594g0fTPz3D2nTxIGkHKjoHgRIiSuhy1sr2P5bEaYdVXm+kIF1dSmD5STRQinn1U3JQC CeZHXn1iDvMstHqhfUmjqRvq752OmaV3X6DTnIfYkfwWK0Ro4Qc5daXGGHHlJCvNv5gu 4CUQ+Q07mEO/dgHaiU16czRqnSAKYRIo4asG0gbUAiErfL5CW4RIjpje32YvaOqaPQJ0 S9uw== X-Gm-Message-State: APjAAAW55USHP8rBj5ELWd56F0HGQJO85Jkmqrc1MBvlKpNncf4nKSs8 a3bU2MowHryoamyt2Toa/CJSE1QFwik= X-Google-Smtp-Source: APXvYqwzztvjeJ1d4UV4AylwzXdktDnPbdjNd1YAmoqC8gkp+pd+PwXvXD4JA3joIRlX4OCON3p0FQ== X-Received: by 2002:adf:ef49:: with SMTP id c9mr1886464wrp.240.1556785224459; Thu, 02 May 2019 01:20:24 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id b11sm13251303wmh.29.2019.05.02.01.20.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 01:20:24 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 2 May 2019 10:20:10 +0200 Message-Id: <1556785210-18237-8-git-send-email-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> References: <1556785210-18237-1-git-send-email-jugurtha.belkalem@smile.fr> Subject: [Buildroot] [PATCH 7/7] package/python-bcc: 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: Jugurtha BELKALEM MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bcc python wrapper required by bcc to work properly. Signed-off-by: Jugurtha BELKALEM --- package/Config.in | 1 + package/python-bcc/Config.in | 11 +++++++++++ package/python-bcc/python-bcc.hash | 3 +++ package/python-bcc/python-bcc.mk | 15 +++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-bcc/Config.in create mode 100644 package/python-bcc/python-bcc.hash create mode 100644 package/python-bcc/python-bcc.mk diff --git a/package/Config.in b/package/Config.in index 8d16a09..b2fa28d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -833,6 +833,7 @@ menu "External python modules" source "package/python-backports-abc/Config.in" source "package/python-backports-shutil-get-terminal-size/Config.in" source "package/python-backports-ssl-match-hostname/Config.in" + source "package/python-bcc/Config.in" source "package/python-bcrypt/Config.in" source "package/python-beautifulsoup4/Config.in" source "package/python-bitstring/Config.in" diff --git a/package/python-bcc/Config.in b/package/python-bcc/Config.in new file mode 100644 index 0000000..d2200e8 --- /dev/null +++ b/package/python-bcc/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_BCC + bool "python-bcc" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_AUDIT # requires ausyscall + select BR2_PACKAGE_PYTHON_PYTEST_RUNNER + select BR2_PACKAGE_PYTHON_TRAITLETS + select BR2_PACKAGE_PYTHON_TRAITTYPES + help + Python3 wrappers for BPF Compiler Collection (BCC) + + https://pypi.org/project/bcc/ diff --git a/package/python-bcc/python-bcc.hash b/package/python-bcc/python-bcc.hash new file mode 100644 index 0000000..29caac9 --- /dev/null +++ b/package/python-bcc/python-bcc.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 a6f41ae67a8b697979d26bbc719fc9ea1b8bb47bdebb44b08fc0d5d308ae12b3 bcc-0.1.10.tar.gz +sha256 c6386f8304dfdbfc5184f2f01c9b9f45c7cef27cf4ffdf9e138372487f7a9c2b LICENSE diff --git a/package/python-bcc/python-bcc.mk b/package/python-bcc/python-bcc.mk new file mode 100644 index 0000000..84f894e --- /dev/null +++ b/package/python-bcc/python-bcc.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-bcc +# +################################################################################ + +PYTHON_BCC_VERSION = 0.1.10 +PYTHON_BCC_SOURCE = bcc-$(PYTHON_BCC_VERSION).tar.gz +PYTHON_BCC_SITE = https://files.pythonhosted.org/packages/38/dc/3ca34874926789f8df53f3c1d1c38e77ebf876f43760e8745316bb8bd1c0 +PYTHON_BCC_LICENSE = Apache License +PYTHON_BCC_LICENSE_FILES = LICENSE +PYTHON_BCC_SETUP_TYPE = setuptools +PYTHON_BCC_DEPENDENCIES = host-python-pytest-runner + +$(eval $(python-package))