forked from pool/python-pyOCD
- update to 0.36.0:
* Allow FlashBuilder to work when program page size is larger than sector erase size (@BrianPugh) * Very basic implementation to get a "connect" LED status display (@rgrr) * Add Trace Funnel Coresight component (@rapgenic) * Cortex-M CPU type detection improvements * Debug sequences: support pname on DebugPort* sequences * Add MAX32666FTHR board (@ozersa) * Add STMicro STM32 H743 and H723 targets (@unsanded) * nRF91 family improvements (@maxd-nordic) * Add HDSC HC32F448 hc32a460xe and hc32a4a0xi. (@lennvn) * Add airm2m air001 target (@kaidegit) * Add airm2m air32f103 target (@HalfSweet) * Add STMicro STM32H7B0 Target (@BrianPugh) * Add NXP S32K344 target (@PetervdPerk-NXP) * Add Realtek RTL8762C (@suphammer) * Add some missing ST and NXP board IDs * Fix HC32l130 32k+ flash error (@kaidegit) * Fix HC32L13x size and enable double buffering (@kaidegit) * Infineon PSoC6: remove unnecessary sleep during reset (@te- johan) * Remove part number match for NXP MIMXRTxxxx series family * RTT: fix CB not found (@tdasika) * CMSIS-DAP: Windows performance regression fix * Debug sequences: fix assignment expressions. * flash: fix some type errors, sort imports * Removed extraneous space character in the default `cortex_m` target warning message (@BenjaminSoelberg) * Flash loader: fix missing import of RamRegion OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOCD?expand=0&rev=14
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyOCD
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-pyOCD
|
||||
Version: 0.22.0
|
||||
Version: 0.36.0
|
||||
Release: 0
|
||||
Summary: CMSIS-DAP debugger for python
|
||||
License: Apache-2.0
|
||||
@@ -31,7 +31,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-usb
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Provides: python-pyocd = %{version}
|
||||
Obsoletes: python-pyocd < %{version}
|
||||
BuildArch: noarch
|
||||
@@ -49,28 +49,20 @@ On-chip debugger and flasher tool for ARM microcontrollers.
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyocd
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyocd-flashtool
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyocd-gdbserver
|
||||
%python_clone -a %{buildroot}%{_bindir}/pyocd-tool
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative pyocd
|
||||
%python_install_alternative pyocd-flashtool
|
||||
%python_install_alternative pyocd-gdbserver
|
||||
%python_install_alternative pyocd-tool
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative pyocd
|
||||
%python_uninstall_alternative pyocd-flashtool
|
||||
%python_uninstall_alternative pyocd-gdbserver
|
||||
%python_uninstall_alternative pyocd-tool
|
||||
|
||||
%files %{python_files}
|
||||
%python_alternative %{_bindir}/pyocd
|
||||
%python_alternative %{_bindir}/pyocd-flashtool
|
||||
%python_alternative %{_bindir}/pyocd-gdbserver
|
||||
%python_alternative %{_bindir}/pyocd-tool
|
||||
%{python_sitelib}/pyocd
|
||||
%{python_sitelib}/pyocd-%{version}.dist-info
|
||||
|
||||
|
Reference in New Issue
Block a user