All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bartosz Biłas" <b.bilas@grinn-global.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/python-esptool: new package
Date: Thu, 7 Nov 2019 08:01:48 +0100	[thread overview]
Message-ID: <5fb8c23e-8b3c-d81a-9775-f2bbf5c45ab3@grinn-global.com> (raw)
In-Reply-To: <20191106183023.531278-3-b.bilas@grinn-global.com>

Hello everyone,

On 11/6/19 7:30 PM, Bartosz Bilas wrote:
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> ---
>   DEVELOPERS                                 |  1 +
>   package/Config.in                          |  1 +
>   package/python-esptool/Config.in           | 10 ++++++++++
>   package/python-esptool/python-esptool.hash |  5 +++++
>   package/python-esptool/python-esptool.mk   | 14 ++++++++++++++
>   5 files changed, 31 insertions(+)
>   create mode 100644 package/python-esptool/Config.in
>   create mode 100644 package/python-esptool/python-esptool.hash
>   create mode 100644 package/python-esptool/python-esptool.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e453b828d0..1835024b75 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -260,6 +260,7 @@ F:	package/qt5/qt5scxml/
>   F:	package/qt5/qt5webview/
>   F:	package/python-pyserial
>   F:	package/python-pyaes
> +F:	package/python-esptool
>   
>   N:	Bartosz Golaszewski <brgl@bgdev.pl>
>   F:	package/autoconf-archive/
> diff --git a/package/Config.in b/package/Config.in
> index 86332e5e91..af2e8d3a0c 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -902,6 +902,7 @@ menu "External python modules"
>   	source "package/python-engineio/Config.in"
>   	source "package/python-enum/Config.in"
>   	source "package/python-enum34/Config.in"
> +	source "package/python-esptool/Config.in"
>   	source "package/python-falcon/Config.in"
>   	source "package/python-fire/Config.in"
>   	source "package/python-flask/Config.in"
> diff --git a/package/python-esptool/Config.in b/package/python-esptool/Config.in
> new file mode 100644
> index 0000000000..ad565b6f1b
> --- /dev/null
> +++ b/package/python-esptool/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PYTHON_ESPTOOL
> +	bool "python-esptool"
> +	select BR2_PACKAGE_PYTHON_PYSERIAL # runtime

That patch iteration selects wrong package (it was created by scanpypi 
tool) so I'll send a v2 to use an existing package instead (python-serial).

Best
Bartek
> +	select BR2_PACKAGE_PYTHON_PYAES # runtime
> +	select BR2_PACKAGE_PYTHON_ECDSA # runtime
> +	help
> +	  A serial utility to communicate & flash code to Espressif
> +	  ESP8266 & ESP32 chips.
> +
> +	  https://github.com/espressif/esptool
> diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash
> new file mode 100644
> index 0000000000..b4dac7ed51
> --- /dev/null
> +++ b/package/python-esptool/python-esptool.hash
> @@ -0,0 +1,5 @@
> +# md5, sha256 from https://pypi.org/pypi/esptool/json
> +md5	d17b9293910773045b9de0d5caa0597d  esptool-2.8.tar.gz
> +sha256	1e4288d9f00e55ba36809cc79c493643c623bfa036d7b019a0ebe396284bc317  esptool-2.8.tar.gz
> +# Locally computed sha256 checksums
> +sha256	8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
> diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk
> new file mode 100644
> index 0000000000..a2bd335ac4
> --- /dev/null
> +++ b/package/python-esptool/python-esptool.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-esptool
> +#
> +################################################################################
> +
> +PYTHON_ESPTOOL_VERSION = 2.8
> +PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz
> +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/68/91/08c182f66fa3f12a96e754ae8ec7762abb2d778429834638f5746f81977a
> +PYTHON_ESPTOOL_SETUP_TYPE = setuptools
> +PYTHON_ESPTOOL_LICENSE = GNU General Public License v2 or later (GPLv2+)
> +PYTHON_ESPTOOL_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
-- 

  reply	other threads:[~2019-11-07  7:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 18:30 [Buildroot] [PATCH 1/3] package/python-pyserial: new package Bartosz Bilas
2019-11-06 18:30 ` [Buildroot] [PATCH 2/3] package/python-pyaes: " Bartosz Bilas
2019-11-06 18:30 ` [Buildroot] [PATCH 3/3] package/python-esptool: " Bartosz Bilas
2019-11-07  7:01   ` Bartosz Biłas [this message]
2019-11-06 18:35 ` [Buildroot] [PATCH 1/3] package/python-pyserial: " James Hilliard
2019-11-06 18:51   ` Bartosz Bilas

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=5fb8c23e-8b3c-d81a-9775-f2bbf5c45ab3@grinn-global.com \
    --to=b.bilas@grinn-global.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.