From patchwork Sat Dec 14 17:42:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1209755 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=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.b="jVAgUnSz"; 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 47ZvxZ4gzSz9sPK for ; Sun, 15 Dec 2019 04:42:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AAF0720423; Sat, 14 Dec 2019 17:42:21 +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 JZAUfb67NEZE; Sat, 14 Dec 2019 17:42:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 46BE520425; Sat, 14 Dec 2019 17:42:20 +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 547E11BF424 for ; Sat, 14 Dec 2019 17:42:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 51AC4881AB for ; Sat, 14 Dec 2019 17:42:18 +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 VfPO5SIDA+XA for ; Sat, 14 Dec 2019 17:42:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 6D374881A8 for ; Sat, 14 Dec 2019 17:42:17 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id y11so2223970wrt.6 for ; Sat, 14 Dec 2019 09:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ThGsUsDM8eDk0uymY92qXAu9Q69MZrXhNIm/txFWx8s=; b=jVAgUnSzJIOBksnEIxJJxdGxilaOK4q+5mmc1gPDC0ZGPVrQTEa1A9rZ140MSvZmMT awv1A+9KlqQ6NPtL+LGmBGwX+X57+KTlaPfV3HE584AFQvgIYrTj7HdESUEaSVHIq7Lo s0M2L4pZwyHFUvEo2nI87MPFWqrAZtJ2lcaEWWQ3NmRf1rnlotSg/EDmDLUGlrSqwJZy k5I8X5C9OJLIsj4/z7Kq+uaSs3HcikyjS1PlZfaiiFT4+DrsochYAXzI5ndcVwIGMvpi vkvhEfQqnWe2768+QskZRVgbMrSDOccP8RbhHez1NCEdikhNBrFWJE1CTxjEHtC+jHF5 QYdQ== 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:mime-version:content-transfer-encoding; bh=ThGsUsDM8eDk0uymY92qXAu9Q69MZrXhNIm/txFWx8s=; b=iGotpSM26A766HN+Wj0Butp56rNnilgUc/vkVAlRCJb3AxJ3Ai3QM52VkF5JUsIyY8 OxPGEfNKm18MGZyeFCBKVH++EIVe2bRabP4Gkz3YM0drm/l7bJPB94EQDQTR0CIR/HZp An5lD6bX6KkDe0v3dd3Fbu57+6RPtZDdWpIN1ZX5ERQpvTjZMUwok/xQ2OcQ+lmLt8sV J5Z+ReKcughT+nU2JbHMC9DkfPhhbP+9+QWbNFCQ9BpjFHdxVR712UpSJGIs+gKa6+BR D3OtQ/Kj5b77HdI29maPjeOhvy4K7P3knjqvrCeMbONjUa/YNww4YtmImw9j8u1fJP4M 34CQ== X-Gm-Message-State: APjAAAXbjoluWzIGZ5lkv0rhHjLL01Tl7p1IIqkF+TapFqnExuVpB8Mm KqFNiSdRWr3FR8jwG2kUEKRsrYGZAIAQKA== X-Google-Smtp-Source: APXvYqyDHHq3LdTRWFERvFv//xR3AR87z3t5FRM8kApd1/cQoApLVY7b/Wucs0fMDteSh1qXKaTxnA== X-Received: by 2002:a5d:46c7:: with SMTP id g7mr19680088wrs.11.1576345335427; Sat, 14 Dec 2019 09:42:15 -0800 (PST) Received: from taurus.home ([2a02:a03f:3c93:3700:26f7:590:e050:6ea9]) by smtp.gmail.com with ESMTPSA id p5sm14274635wrt.79.2019.12.14.09.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 09:42:14 -0800 (PST) From: Titouan Christophe To: buildroot@buildroot.org Date: Sat, 14 Dec 2019 18:42:06 +0100 Message-Id: <20191214174206.161446-3-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191214174206.161446-1-titouan.christophe@railnova.eu> References: <20191214174206.161446-1-titouan.christophe@railnova.eu> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 2/2] package/python-avro: 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: Gilles Talis , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Titouan Christophe Reviewed-by: Gilles Talis --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-avro/Config.in | 20 ++++++++++++++++++++ package/python-avro/python-avro.hash | 5 +++++ package/python-avro/python-avro.mk | 14 ++++++++++++++ 5 files changed, 41 insertions(+) create mode 100644 package/python-avro/Config.in create mode 100644 package/python-avro/python-avro.hash create mode 100644 package/python-avro/python-avro.mk diff --git a/DEVELOPERS b/DEVELOPERS index 4468373a73..e7a8a8d3aa 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2402,6 +2402,7 @@ F: package/fbgrab/ N: Titouan Christophe F: package/avro-c/ F: package/mosquitto/ +F: package/python-avro/ F: package/redis/ N: Trent Piepho diff --git a/package/Config.in b/package/Config.in index fa4e98403c..f43f64357b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -845,6 +845,7 @@ menu "External python modules" source "package/python-attrs/Config.in" source "package/python-autobahn/Config.in" source "package/python-automat/Config.in" + source "package/python-avro/Config.in" source "package/python-babel/Config.in" source "package/python-backcall/Config.in" source "package/python-backports-abc/Config.in" diff --git a/package/python-avro/Config.in b/package/python-avro/Config.in new file mode 100644 index 0000000000..e1d7fc832c --- /dev/null +++ b/package/python-avro/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_PYTHON_AVRO + bool "python-avro" + depends on BR2_PACKAGE_PYTHON3 + help + Select this option to install the Avro Python3 language + bindings, and the `avro` command line tool + + Apache Avro is a data serialization system. + Avro provides: + - Rich data structures. + - A compact, fast, binary data format. + - A container file, to store persistent data. + - Remote procedure call (RPC). + - Simple integration with dynamic languages. + - Code generation is not required to read or write data + files nor to use or implement RPC protocols. + - Code generation as an optional optimization, + only worth implementing for statically typed languages. + + http://avro.apache.org/ diff --git a/package/python-avro/python-avro.hash b/package/python-avro/python-avro.hash new file mode 100644 index 0000000000..f63b37ee0a --- /dev/null +++ b/package/python-avro/python-avro.hash @@ -0,0 +1,5 @@ +# From https://www-eu.apache.org/dist/avro/avro-1.9.1/py3/avro-python3-1.9.1.tar.gz.sha512 +sha512 771ce6e5ca6315f5b9108cb4f5dd9488575cc3433ffdd744f96ce7989763728259c89475319fd9c411ed6b65c996b762548c50a697eb1fba9ab024112ca17daa avro-python3-1.9.1.tar.gz + +# License files +sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 avro/LICENSE diff --git a/package/python-avro/python-avro.mk b/package/python-avro/python-avro.mk new file mode 100644 index 0000000000..3f9140e946 --- /dev/null +++ b/package/python-avro/python-avro.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-avro +# +################################################################################ + +PYTHON_AVRO_VERSION = $(AVRO_C_VERSION) +PYTHON_AVRO_SITE = https://www-eu.apache.org/dist/avro/avro-1.9.1/py3 +PYTHON_AVRO_SOURCE = avro-python3-$(PYTHON_AVRO_VERSION).tar.gz +PYTHON_AVRO_LICENSE = Apache-2.0 +PYTHON_AVRO_LICENSE_FILES = avro/LICENSE +PYTHON_AVRO_SETUP_TYPE = setuptools + +$(eval $(python-package))