From 5bbeaaea52708a06acd6e0df5065d4507a4ba1cb1ebf12feadb69cde8775fde1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 23 Jul 2019 10:49:01 +0000 Subject: [PATCH] - 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 --- pyOCD-0.8.1a1.tar.gz | 3 --- pyocd-0.21.0.tar.gz | 3 +++ python-pyOCD.changes | 6 ++++++ python-pyOCD.spec | 19 +++++++++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 pyOCD-0.8.1a1.tar.gz create mode 100644 pyocd-0.21.0.tar.gz diff --git a/pyOCD-0.8.1a1.tar.gz b/pyOCD-0.8.1a1.tar.gz deleted file mode 100644 index 0ff3c10..0000000 --- a/pyOCD-0.8.1a1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f81c49d0fafb47ef4a682633aaaf1510abf24ae42d0380ad4d98dd8107cbb351 -size 441509 diff --git a/pyocd-0.21.0.tar.gz b/pyocd-0.21.0.tar.gz new file mode 100644 index 0000000..f3cc0ec --- /dev/null +++ b/pyocd-0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8feff708653995b427f52a297b54d699c469d4274bc71d0d0659b4ed652ffa88 +size 6734650 diff --git a/python-pyOCD.changes b/python-pyOCD.changes index 5afd47a..45a6d5b 100644 --- a/python-pyOCD.changes +++ b/python-pyOCD.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 23 10:48:33 UTC 2019 - Tomáš Chvátal + +- Update to 0.21.0: + * Too many changes to enumerate + ------------------------------------------------------------------- Tue Dec 4 12:52:32 UTC 2018 - Matej Cepl diff --git a/python-pyOCD.spec b/python-pyOCD.spec index 3385d77..e131da7 100644 --- a/python-pyOCD.spec +++ b/python-pyOCD.spec @@ -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