Files
python-pyOCD/python-pyOCD.spec
Dirk Mueller ef39852048 - update to 0.39.0:
* CMSIS-Toolbox Run and Debug Management integration:
  * Set debugger protocol based on information from `*.cbuild-
    run.yml` file
  * Set output file type based on information from `*.cbuild-
    run.yml` file
  * Raise critical error if `*.cbuild-run.yml` file path is
    invalid
  * Show warning when packs required by`*.cbuild-run.yml` file
    are missing
  * Improve TransferError Exception messages to be more
    descriptive
  * Increase number of transfer retries after WAIT response
  * Probe: more reliable probe detection when probe is connected
    after pyOCD is started
- update to 0.38.0:
  * Add CoreSight AP specific CSW handling for AHB-AP, AXI-AP,
    APB-AP
  * Add more debug logging information for `cbuild-run` targets
  * Add support for SW breakpoints when cache is present
  * Cortex-M: configure AP for cacheable access when cache is
    present
  * Flash algorithms: relax memory layout rules and add RAM
    alignment and minimum stack size checking
- update to 0.37.0:
  * With this release, Python 3.7 is no longer supported. The
    minimum Python version is now 3.8.0.
  * CMSIS-Toolbox Run and Debug Management integration:
  * add a `--cbuild-run` option across subcommands
  * select target based on `cbuild-run`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOCD?expand=0&rev=16
2025-10-10 11:55:36 +00:00

70 lines
2.1 KiB
RPMSpec

#
# spec file for package python-pyOCD
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-pyOCD
Version: 0.39.0
Release: 0
Summary: CMSIS-DAP debugger for python
License: Apache-2.0
URL: https://github.com/pyocd/pyOCD
Source: https://files.pythonhosted.org/packages/source/p/pyocd/pyocd-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-usb
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: python-pyocd = %{version}
Obsoletes: python-pyocd < %{version}
BuildArch: noarch
%python_subpackages
%description
On-chip debugger and flasher tool for ARM microcontrollers.
%prep
%setup -q -n pyocd-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyocd
%python_clone -a %{buildroot}%{_bindir}/pyocd-gdbserver
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative pyocd
%python_install_alternative pyocd-gdbserver
%postun
%python_uninstall_alternative pyocd
%python_uninstall_alternative pyocd-gdbserver
%files %{python_files}
%python_alternative %{_bindir}/pyocd
%python_alternative %{_bindir}/pyocd-gdbserver
%{python_sitelib}/pyocd
%{python_sitelib}/pyocd-%{version}.dist-info
%changelog