Hello community,

here is the log from the commit of package python-esptool for openSUSE:Factory 
checked in at 2019-03-05 12:20:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-esptool (Old)
 and      /work/SRC/openSUSE:Factory/.python-esptool.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-esptool"

Tue Mar  5 12:20:46 2019 rev:3 rq:681232 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-esptool/python-esptool.changes    
2018-12-13 19:43:53.813055452 +0100
+++ /work/SRC/openSUSE:Factory/.python-esptool.new.28833/python-esptool.changes 
2019-03-05 12:20:47.688924268 +0100
@@ -1,0 +2,95 @@
+Thu Feb 28 01:47:40 UTC 2019 - John Vandenberg <[email protected]>
+
+- Remove unnecessary build dependencies on flake8 and plugins
+- Activate test suite
+- Add flasher_stub/ to %doc, as it is the source for binary blob in esptool.py
+- Update to v2.6
+  * Features
+    + New write_flash --erase-all ... option to erase all flash before writing
+      (single command).
+    + Support patching the SHA256 digest of the ELF file into the binary
+      (available in ESP-IDF via app description APIs)
+    + Make calling esptool module functions and esptool.main() more
+      Python-friendly (all functions clean up open files correctly,
+      main(...) can take an optional argument with a command line formatted
+      as a list.)
+    + (ESP32) Support for reading/writing efuses when 3/4 Coding Scheme is set
+      details
+    + (ESP32) espefuse.py supports displaying and setting a custom MAC address
+      in BLK3 of efuse
+    + (ESP32) espsecure.py can now verify signatures with raw binary key file
+      as well as PEM formatted key file
+  * Bug Fixes/Changes
+    + Fix crash due to unimplemented write timeout on RFC2217 ports
+    + elf2image no longer adds empty ELF sections (zero length) to the .bin 
file
+    + elf2image fails with a proper error if an ELF file contains more than
+      16 loadable sections
+    + Improve error message if list_ports is missing from pyserial
+    + Fix some write_flash timeouts writing large but highly compressible 
payloads
+    + (ESP8266) Fix bug where flashing with stub would fail if ESP8266 was in
+      deep sleep immediately beforehand.
+    + (ESP32) Workaround a mapping bug in the ESP-IDF bootloader
+      (if IROM/DROM segment ended less than 0x20 bytes after a page boundary,
+      older ESP-IDF bootloaders would not map the final page correctly).
+    + (ESP32) Reformat espefuse.py summary output (includes: read-only efuses
+      now display value ? not 0, byte order of keys shown for BLK1,BLK2 are now
+      shown in software order not the reversed byte order used by hardware
+      cryptographical modules.)
+    + (ESP32) espsecure.py: Fix Python 3 compatibility issues
+- from v2.5.1
+  * Errors during chip detection are now formatted correctly.
+  * OSError is handled correctly while scanning for a port
+  * Update link to flashrom repo for SPI flash chip IDs
+  * read_flash command: Error out immediately if an invalid length
+    packet is received (common symptom of bad serial link)
+  * (ESP32) espefuse.py: Disable burning key efuses when 3/4 Coding Scheme
+    is set (support for burning keys with 3/4 Coding Scheme will be addedr
+    in a future update).
+- from v2.5.0
+  * Set a write timeout in pyserial (prevents hanging in sync process if
+    port is unavailable).
+  * (ESP32) New option elf2image --secure-pad to pad the output binary
+    so once signed it will align to an flash cache page boundary (64KB).
+    Prevents unsigned data from being mapped into the instruction space
+    via the flash cache.
+  * Fix exception if no --port is specified but no serial ports are found
+    in the system.
+  * (ESP32) espsecure: Fix bug where digest_secure_bootloader could produce
+    an incorrect digest.
+- from v2.4.1
+  * --port argument was not correctly handled in v2.4.0
+  * Corrected pyserial dependency to require pyserial v3.0 or newer
+- from v2.4.0
+  * ESP8266 & ESP32 changes
+    + If no serial port is specified, try all serial ports until an Espressif
+      device responds.
+    + Print device MAC on every command, after connecting.
+    + New option --before no_reset_no_sync for use when immediately reusing the
+      serial port with an already-running loader.
+    + Fix spurious load_ram error when executed code immediately resets the 
UART
+      baud rate..
+    + Produce an error if load_ram is going to clobber bootloader stub memory
+      (can use --no-stub to work around this).
+    + Display a helpful error if the incompatible 'serial' module was installed
+      instead of 'pyserial'.
+    + Explicitly close the serial port at end of main() function (allows 
calling
+      esptool.main() from another Python program for basic scripting.)
+    + Workaround Windows usbser.sys (USB CDC-ACM device) driver bug setting 
DTR & RTS
+    + Flasher stub build updates to work with recent ESP-IDF & ESP8266 SDK 
headers
+    + Flasher stub now sends correct length field in protocol responses
+      (esptool.py was ignoring this field, but some other tools were not).
+  * ESP8266 changes
+    + Move the loader stub to the very end of IRAM (useful when using load_ram 
command).
+    + elf2image --version=2 is now compatible with recent ESP8266 SDK 
bootloader
+      and produces the same binary output as ESP8266 SDK gen_app.py.
+    + Remove unsupported flash size 4MB-c2
+  * ESP32 changes
+    + Print chip frequency rating values in Features list, for chips where
+      these are set.
+    + Working load_ram command.
+    + espefuse.py: Support setting the baud rate.
+    + New --override-vddsdio option allows setting the VDDSDIO regulator to 
1.8V,
+      1.9V or "OFF" when connecting (to override the default value read from 
efuse).
+    + To avoid hardware damage, forcing VDDSDIO to 3.3V is not supported.
+
+-------------------------------------------------------------------

Old:
----
  esptool-2.3.1.tar.gz

New:
----
  esptool-2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-esptool.spec ++++++
--- /var/tmp/diff_new_pack.bDc6Ra/_old  2019-03-05 12:20:48.684923964 +0100
+++ /var/tmp/diff_new_pack.bDc6Ra/_new  2019-03-05 12:20:48.684923964 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-esptool
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-esptool
-Version:        2.3.1
+Version:        2.6
 Release:        0
 Summary:        A serial utility to communicate & flash code to Espressif 
ESP8266 & ESP32 chips
 License:        GPL-2.0-or-later
 Group:          Development/Languages/Python
 URL:            https://github.com/espressif/esptool
-Source:         
https://files.pythonhosted.org/packages/source/e/esptool/esptool-%{version}.tar.gz
+Source:         
https://github.com/espressif/esptool/archive/v%{version}.tar.gz#/esptool-%{version}.tar.gz
 BuildRequires:  %{python_module ecdsa}
-BuildRequires:  %{python_module flake8 >= 3.2.0}
-BuildRequires:  %{python_module flake8-future-import}
-BuildRequires:  %{python_module flake8-import-order}
 BuildRequires:  %{python_module pyaes}
+BuildRequires:  %{python_module pyelftools}
 BuildRequires:  %{python_module pyserial >= 2.5}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  openssl
 BuildRequires:  python-rpm-macros
 Requires:       python-ecdsa
 Requires:       python-pyaes
@@ -47,6 +47,10 @@
 
 %prep
 %setup -q -n esptool-%{version}
+rm -r ecdsa pyaes
+sed -i '/flake8/d' setup.py
+sed -i '/^#!/d' flasher_stub/*.py
+chmod a-x flasher_stub/*.py
 
 %build
 %python_build
@@ -56,10 +60,15 @@
 %python_clone %{buildroot}%{_bindir}/esptool.py
 %python_clone %{buildroot}%{_bindir}/espsecure.py
 %python_clone %{buildroot}%{_bindir}/espefuse.py
+%python_expand sed -i '/^#!/d' %{buildroot}%{$python_sitelib}/*.py
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_exec setup.py test
 
 %files %{python_files}
 %license LICENSE
-%doc README.md
+%doc README.md flasher_stub/
 %{_bindir}/esptool.py-%{python_bin_suffix}
 %{_bindir}/espsecure.py-%{python_bin_suffix}
 %{_bindir}/espefuse.py-%{python_bin_suffix}

++++++ esptool-2.3.1.tar.gz -> esptool-2.6.tar.gz ++++++
++++ 18897 lines of diff (skipped)


Reply via email to