From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 2/2] package/python-avro: new package
Date: Sun, 29 Dec 2019 19:16:27 +0100 [thread overview]
Message-ID: <20191229181627.GB26395@scaer> (raw)
In-Reply-To: <20191223172357.68914-3-titouan.christophe@railnova.eu>
Titouan, All,
On 2019-12-23 18:23 +0100, Titouan Christophe spake thusly:
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> Reviewed-by: Gilles Talis <gilles.talis@gmail.com>
Applied to master, thanks.
Could you please follow-up with a run-time test for it, please?
See for example: support/testing/tests/package/sample_python_txtorcon.py
(or others that are more expressive, if you feel so inclined).
Regards,
Yann E. MORIN.
> ---
> 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 a6d04bfaf3..a3e071a5d3 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -2420,6 +2420,7 @@ F: package/fbgrab/
> N: Titouan Christophe <titouan.christophe@railnova.eu>
> F: package/avro-c/
> F: package/mosquitto/
> +F: package/python-avro/
> F: package/redis/
>
> N: Trent Piepho <tpiepho@impinj.com>
> diff --git a/package/Config.in b/package/Config.in
> index 582a93d8cd..949db3cca2 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -854,6 +854,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))
> --
> 2.23.0
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2019-12-29 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-23 17:23 [Buildroot] [PATCH v4 0/2] new Avro packages Titouan Christophe
2019-12-23 17:23 ` [Buildroot] [PATCH v4 1/2] package/avro-c: new package Titouan Christophe
2019-12-29 18:12 ` Yann E. MORIN
2019-12-23 17:23 ` [Buildroot] [PATCH v4 2/2] package/python-avro: " Titouan Christophe
2019-12-29 18:16 ` Yann E. MORIN [this message]
2019-12-29 19:34 ` Titouan Christophe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191229181627.GB26395@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox