diff --git a/esptool-2.6.tar.gz b/esptool-2.6.tar.gz deleted file mode 100644 index b7a5710..0000000 --- a/esptool-2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51ebe169cade538c986e92eb65562b8ff3a1293baf14b9ad977df888061ed78e -size 4336261 diff --git a/esptool-2.7.tar.gz b/esptool-2.7.tar.gz new file mode 100644 index 0000000..0cbd0c1 --- /dev/null +++ b/esptool-2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d3c9f6bc1e2a619c207ef33920aa0c8251584489f68a777dbc381e19f9679fb +size 5396543 diff --git a/python-esptool.changes b/python-esptool.changes index b0531d2..658d342 100644 --- a/python-esptool.changes +++ b/python-esptool.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 13 07:57:08 UTC 2019 - Tomáš Chvátal + +- Update to 2.7: + * New option write_flash --flash-size keep will keep whatever flash size is + set in the bootloader header + * write_flash no longer updates the flash header if the file being written + to the bootloader offset isn't a valid image file for the chip + ------------------------------------------------------------------- Thu Feb 28 01:47:40 UTC 2019 - John Vandenberg diff --git a/python-esptool.spec b/python-esptool.spec index 48e8490..47b50fe 100644 --- a/python-esptool.spec +++ b/python-esptool.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-esptool -Version: 2.6 +Version: 2.7 Release: 0 Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips License: GPL-2.0-or-later @@ -28,14 +28,15 @@ Source: https://github.com/espressif/esptool/archive/v%{version}.tar.gz# BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module pyaes} BuildRequires: %{python_module pyelftools} -BuildRequires: %{python_module pyserial >= 2.5} +BuildRequires: %{python_module pyserial >= 3.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: openssl BuildRequires: python-rpm-macros Requires: python-ecdsa Requires: python-pyaes -Requires: python-pyserial >= 2.5 +Requires: python-pyserial >= 3.0 BuildArch: noarch %python_subpackages @@ -48,7 +49,6 @@ Allows flashing firmware, reading back firmware, querying chip parameters, etc. %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 @@ -64,7 +64,9 @@ chmod a-x flasher_stub/*.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +# there are more tests but upstream runs only those in .travis.yml +%pytest test/test_imagegen.py +%pytest test/test_espsecure.py %files %{python_files} %license LICENSE