14
0
forked from pool/python-pyOCD

- Update to 0.21.0:

* Too many changes to enumerate

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOCD?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-07-23 10:49:01 +00:00
committed by Git OBS Bridge
parent 6d4c100abc
commit 5bbeaaea52
4 changed files with 20 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f81c49d0fafb47ef4a682633aaaf1510abf24ae42d0380ad4d98dd8107cbb351
size 441509

3
pyocd-0.21.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8feff708653995b427f52a297b54d699c469d4274bc71d0d0659b4ed652ffa88
size 6734650

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 23 10:48:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.21.0:
* Too many changes to enumerate
-------------------------------------------------------------------
Tue Dec 4 12:52:32 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyOCD
#
# 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,44 +18,47 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyOCD
Version: 0.8.1a1
Version: 0.21.0
Release: 0
Summary: CMSIS-DAP debugger for python
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/mbedmicro/pyOCD
Source: https://files.pythonhosted.org/packages/source/p/pyOCD/pyOCD-%{version}.tar.gz
URL: https://github.com/mbedmicro/pyOCD
Source: https://files.pythonhosted.org/packages/source/p/pyocd/pyocd-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm_git_archive}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-usb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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}
%setup -q -n pyocd-%{version}
%build
%python_build
%install
%python_install
%python_clone %{buildroot}%{_bindir}/pyocd
%python_clone %{buildroot}%{_bindir}/pyocd-flashtool
%python_clone %{buildroot}%{_bindir}/pyocd-gdbserver
%python_clone %{buildroot}%{_bindir}/pyocd-tool
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%{_bindir}/pyocd-flashtool-%{python_bin_suffix}
%{_bindir}/pyocd-gdbserver-%{python_bin_suffix}
%{_bindir}/pyocd-tool-%{python_bin_suffix}
%{_bindir}/pyocd-%{python_bin_suffix}
%python3_only %{_bindir}/pyocd
%python3_only %{_bindir}/pyocd-flashtool
%python3_only %{_bindir}/pyocd-gdbserver
%python3_only %{_bindir}/pyocd-tool