package/python-esptool: new package

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Bartosz Bilas 2019-11-07 18:05:04 +01:00 committed by Thomas Petazzoni
parent 206eedd240
commit 0a581ed8b1
5 changed files with 31 additions and 0 deletions

View File

@ -256,6 +256,7 @@ F: package/lua-ev/
F: package/orbit/
N: Bartosz Bilas <b.bilas@grinn-global.com>
F: package/python-esptool/
F: package/python-pyaes/
F: package/qt5/qt5scxml/
F: package/qt5/qt5webview/

View File

@ -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"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_ESPTOOL
bool "python-esptool"
select BR2_PACKAGE_PYTHON_ECDSA # runtime
select BR2_PACKAGE_PYTHON_PYAES # runtime
select BR2_PACKAGE_PYTHON_SERIAL # runtime
help
A serial utility to communicate & flash code to Espressif
ESP8266 & ESP32 chips.
https://github.com/espressif/esptool

View File

@ -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

View File

@ -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 = GPL-2.0+
PYTHON_ESPTOOL_LICENSE_FILES = LICENSE
$(eval $(python-package))