summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-07-21 08:14:06 +0000
committeradam <adam@pkgsrc.org>2020-07-21 08:14:06 +0000
commita23672088979b238a48c17ed9e05dac9d598bd79 (patch)
tree8f0fd1ec09fc4f2e6b67cb6eaf58b98dfbe61aa5 /comms
parentfda183084f76681c4aa38265264e9396618390bc (diff)
downloadpkgsrc-a23672088979b238a48c17ed9e05dac9d598bd79.tar.gz
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 (limited to 'comms')
-rw-r--r--comms/py-esptool/Makefile18
-rw-r--r--comms/py-esptool/PLIST18
-rw-r--r--comms/py-esptool/distinfo10
3 files changed, 24 insertions, 22 deletions
diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile
index faffc2c7a65..c9f636a0160 100644
--- a/comms/py-esptool/Makefile
+++ b/comms/py-esptool/Makefile
@@ -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
-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 --git a/comms/py-esptool/PLIST b/comms/py-esptool/PLIST
index 39a709664d4..dfb123ee918 100644
--- a/comms/py-esptool/PLIST
+++ b/comms/py-esptool/PLIST
@@ -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 --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo
index 22ba83c9217..80dd3442803 100644
--- a/comms/py-esptool/distinfo
+++ b/comms/py-esptool/distinfo
@@ -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