forked from pool/python-spsdk
- Update to 2.1.0:
* add signing commands (create, verify) * add subcommands for Fault Analysis Mode (export, parse, get-templates) * add printing the result of auth command * add dedicated plugin system * U-BOOT interface * add commit command * add commands related to release-container * enable IEE encryption for RT1180 * add key exchange signed message * add signature provider for RT1xxx * support mcxn23x * deployment of new database * EL2GO mockup for S32K WPC * introduce memory configuration tool * fix get-trng state command * fix cmpa template * fix parsing ahab image for i.MX95 * fix xmcd export command * fix certificate block as binary file * fix sb21 get-template command * fix export command * fix pfr generate command * fix default family parameter OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 25 12:34:46 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.1.0:
|
||||||
|
* add signing commands (create, verify)
|
||||||
|
* add subcommands for Fault Analysis Mode (export, parse, get-templates)
|
||||||
|
* add printing the result of auth command
|
||||||
|
* add dedicated plugin system
|
||||||
|
* U-BOOT interface
|
||||||
|
* add commit command
|
||||||
|
* add commands related to release-container
|
||||||
|
* enable IEE encryption for RT1180
|
||||||
|
* add key exchange signed message
|
||||||
|
* add signature provider for RT1xxx
|
||||||
|
* support mcxn23x
|
||||||
|
* deployment of new database
|
||||||
|
* EL2GO mockup for S32K WPC
|
||||||
|
* introduce memory configuration tool
|
||||||
|
* fix get-trng state command
|
||||||
|
* fix cmpa template
|
||||||
|
* fix parsing ahab image for i.MX95
|
||||||
|
* fix xmcd export command
|
||||||
|
* fix certificate block as binary file
|
||||||
|
* fix sb21 get-template command
|
||||||
|
* fix export command
|
||||||
|
* fix pfr generate command
|
||||||
|
* fix default family parameter
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 14 12:10:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sun Jan 14 12:10:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-spsdk
|
Name: python-spsdk
|
||||||
Version: 2.0.1
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Unified, reliable and easy to use SW library working across NXP MCU portfolio
|
Summary: Unified, reliable and easy to use SW library working across NXP MCU portfolio
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -39,29 +39,27 @@ Requires: python-click
|
|||||||
Requires: python-click-command-tree
|
Requires: python-click-command-tree
|
||||||
Requires: python-click-option-group
|
Requires: python-click-option-group
|
||||||
Requires: python-colorama
|
Requires: python-colorama
|
||||||
Requires: python-commentjson
|
|
||||||
Requires: python-crcmod
|
Requires: python-crcmod
|
||||||
Requires: python-cryptography
|
Requires: python-cryptography
|
||||||
Requires: python-deepmerge
|
Requires: python-deepmerge
|
||||||
Requires: python-fastjsonschema
|
Requires: python-fastjsonschema
|
||||||
Requires: python-hexdump
|
Requires: python-hexdump
|
||||||
Requires: python-jinja2
|
|
||||||
Requires: python-libusbsio
|
Requires: python-libusbsio
|
||||||
Requires: python-oscrypto
|
Requires: python-oscrypto
|
||||||
Requires: python-pycryptodome
|
Requires: python-platformdirs
|
||||||
|
Requires: python-prettytable
|
||||||
Requires: python-pylink-square
|
Requires: python-pylink-square
|
||||||
Requires: python-pyocd
|
Requires: python-pyocd
|
||||||
# disable dependency
|
Requires: python-pyocd-pemicro
|
||||||
# Requires: python-pyocd-pemicro
|
Requires: python-pypemicro
|
||||||
# dependency no longer required due to Patch0
|
|
||||||
# Requires: python-pypemicro
|
|
||||||
Requires: python-pyserial
|
Requires: python-pyserial
|
||||||
|
Requires: python-requests
|
||||||
Requires: python-ruamel.yaml
|
Requires: python-ruamel.yaml
|
||||||
Requires: python-sly
|
Requires: python-sly
|
||||||
Requires: python-typing-extensions
|
Requires: python-typing-extensions
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -92,19 +90,23 @@ find . -type f -name README.md -exec dos2unix {} +
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/tpconfig
|
%python_clone -a %{buildroot}%{_bindir}/tpconfig
|
||||||
%python_clone -a %{buildroot}%{_bindir}/tphost
|
%python_clone -a %{buildroot}%{_bindir}/tphost
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dk6prog
|
%python_clone -a %{buildroot}%{_bindir}/dk6prog
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/nxpmemcfg
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/nxpwpc
|
||||||
# fix line endings
|
# fix line endings
|
||||||
%python_expand find %{buildroot}%{$python_sitelib} -type f -exec dos2unix {} +
|
%python_expand find %{buildroot}%{$python_sitelib} -type f -exec dos2unix {} +
|
||||||
# remove shebangs
|
# remove shebangs
|
||||||
%python_expand find %{buildroot}%{$python_sitelib} -iname "*.py" -exec sed -i '1{/env python/d;}' {} +
|
%python_expand find %{buildroot}%{$python_sitelib} -iname "*.py" -exec sed -i '1{/env python/d;}' {} +
|
||||||
|
# compile all here to avoid python-bytecode-inconsistent-mtime
|
||||||
|
%python_compileall
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
# remove unneccesary *.c and *.bin files
|
# remove unneccesary *.c and *.bin files
|
||||||
%python_expand rm -vf %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.c %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.bin
|
%python_expand rm -vf %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.c %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.bin
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog
|
%python_install_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog
|
%python_uninstall_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@@ -127,5 +129,7 @@ find . -type f -name README.md -exec dos2unix {} +
|
|||||||
%python_alternative %{_bindir}/tpconfig
|
%python_alternative %{_bindir}/tpconfig
|
||||||
%python_alternative %{_bindir}/tphost
|
%python_alternative %{_bindir}/tphost
|
||||||
%python_alternative %{_bindir}/dk6prog
|
%python_alternative %{_bindir}/dk6prog
|
||||||
|
%python_alternative %{_bindir}/nxpmemcfg
|
||||||
|
%python_alternative %{_bindir}/nxpwpc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5829b637e931772565f8d13cdf1f53343805d6fe7dd8f99d525d796f58d8f7cb
|
|
||||||
size 779424
|
|
3
spsdk-2.1.0.tar.gz
Normal file
3
spsdk-2.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a14e565d0fc28e35d37c059d3d206c03822818dcfaf369a9c53f7567e5e3de02
|
||||||
|
size 890821
|
Reference in New Issue
Block a user