Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/py-esptool py-esptool: updated to 2.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99dc578f0a79
branches:  trunk
changeset: 435953:99dc578f0a79
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 21 08:14:06 2020 +0000

description:
py-esptool: updated to 2.8

Version 2.8

Features
esptool.py image_info now prints a summary of segment memory types (IRAM, DRAM, etc) based on the address range.
esptool.py write_flash will warn if it looks like a bootloader binary is built for ESP32-S2 or another newer chip (support for flashing ESP32-S2 will be added in a future version.)

Bug Fixes
Removed ESP8266 SDK & ESP-IDF dependencies when building the flasher stub binaries. Previously the SDKs were used to include some register address macros, only. This removes any uncertainty about 
whether the flasher stub binary is a derived work of either SDK. The flasher stub binary itself is the same as the binary in v2.7.
Fixed minor issues running esptool automated tests on macOS.
Minor flake8 fixes including compatibility with newer flake8 versions.

ESP32 Only

Features
Support detection of new ESP32 silicon revisions
New esptool.py elf2image --min-rev X option allows creating a .bin file which only supports a minimum ESP32 silicon revision.

Bugfixes
Fix burning custom MAC with espefuse.py when 3/4 Coding Scheme is set

diffstat:

 comms/py-esptool/Makefile |  18 ++++++++++--------
 comms/py-esptool/PLIST    |  18 +++++++++---------
 comms/py-esptool/distinfo |  10 +++++-----
 3 files changed, 24 insertions(+), 22 deletions(-)

diffs (80 lines):

diff -r eff1e39d6950 -r 99dc578f0a79 comms/py-esptool/Makefile
--- a/comms/py-esptool/Makefile Tue Jul 21 08:04:58 2020 +0000
+++ b/comms/py-esptool/Makefile Tue Jul 21 08:14:06 2020 +0000
@@ -1,20 +1,22 @@
-# $NetBSD: Makefile,v 1.4 2019/08/13 16:44:27 gdt Exp $
+# $NetBSD: Makefile,v 1.5 2020/07/21 08:14:06 adam Exp $
 
-DISTNAME=      esptool-2.7
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}nb2
-CATEGORIES=    comms
+DISTNAME=      esptool-2.8
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    comms python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/esptool/}
-DIST_SUBDIR=   ${GITHUB_PROJECT}
 
 MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/espressif/esptool/
+HOMEPAGE=      https://github.com/espressif/esptool
 COMMENT=       Firmware tool for ESP8266/ESP32
 LICENSE=       gnu-gpl-v2
 
+DEPENDS+=      ${PYPKGPREFIX}-aes-[0-9]*:../../security/py-aes
+DEPENDS+=      ${PYPKGPREFIX}-ecdsa-[0-9]*:../../security/py-ecdsa
+DEPENDS+=      ${PYPKGPREFIX}-serial>=3.0:../../comms/py-serial
+
 USE_LANGUAGES= # none
 
-DEPENDS+=      ${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
+PYTHON_SELF_CONFLICT=  yes
 
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eff1e39d6950 -r 99dc578f0a79 comms/py-esptool/PLIST
--- a/comms/py-esptool/PLIST    Tue Jul 21 08:04:58 2020 +0000
+++ b/comms/py-esptool/PLIST    Tue Jul 21 08:14:06 2020 +0000
@@ -1,18 +1,18 @@
-@comment $NetBSD: PLIST,v 1.1 2019/08/13 11:44:10 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/21 08:14:06 adam Exp $
 bin/espefuse.py
 bin/espsecure.py
 bin/esptool.py
-${PYSITELIB}/espefuse.pyo
-${PYSITELIB}/espefuse.pyc
-${PYSITELIB}/espsecure.pyo
-${PYSITELIB}/espsecure.pyc
-${PYSITELIB}/esptool.pyo
-${PYSITELIB}/esptool.pyc
-${PYSITELIB}/espefuse.py
-${PYSITELIB}/espsecure.py
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/espefuse.py
+${PYSITELIB}/espefuse.pyc
+${PYSITELIB}/espefuse.pyo
+${PYSITELIB}/espsecure.py
+${PYSITELIB}/espsecure.pyc
+${PYSITELIB}/espsecure.pyo
 ${PYSITELIB}/esptool.py
+${PYSITELIB}/esptool.pyc
+${PYSITELIB}/esptool.pyo
diff -r eff1e39d6950 -r 99dc578f0a79 comms/py-esptool/distinfo
--- a/comms/py-esptool/distinfo Tue Jul 21 08:04:58 2020 +0000
+++ b/comms/py-esptool/distinfo Tue Jul 21 08:14:06 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/08/13 16:44:27 gdt Exp $
+$NetBSD: distinfo,v 1.3 2020/07/21 08:14:06 adam Exp $
 
-SHA1 (esptool-2.7.tar.gz) = b51f204ca71572690967e72e4facf6bb8f1ed84d
-RMD160 (esptool-2.7.tar.gz) = cca1c283774211cc1a85f415966b87a785b6e774
-SHA512 (esptool-2.7.tar.gz) = 50f3315de4c5334c586cef14f1be1b2fa7086b89db64f7379ef29d9afa70d98117c98b318c567465dade298f9df9be4947a39133ade749dca7463347fa578db6
-Size (esptool-2.7.tar.gz) = 83472 bytes
+SHA1 (esptool-2.8.tar.gz) = 62dcf0b9242301c10127f24eddf3a50644246b52
+RMD160 (esptool-2.8.tar.gz) = d0c3c94e7f58be3a768fd1d9bd8942b9ea872e90
+SHA512 (esptool-2.8.tar.gz) = e64dd7e60e273872dd9ac9880c8a150c3f58f1a6a5e115a899a9fde107788c9dc80b9c0425e0fa9631870a16013881e223d02e1338b13e17827686f9f9569ae0
+Size (esptool-2.8.tar.gz) = 84520 bytes



Home | Main Index | Thread Index | Old Index