From 4f58a7655ff4a77cd7de1ecd2a6a6de004f1af757bd51ba0c0c8c44084c7f404 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 7 Jan 2015 17:42:30 +0000 Subject: [PATCH] Accepting request 280206 from home:a_faerber:arm pyOCD 0.2 OBS-URL: https://build.opensuse.org/request/show/280206 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOCD?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++++ .gitignore | 1 + pyOCD-0.2.tar.gz | 3 +++ python-pyOCD.changes | 15 ++++++++++++++ python-pyOCD.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pyOCD-0.2.tar.gz create mode 100644 python-pyOCD.changes create mode 100644 python-pyOCD.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pyOCD-0.2.tar.gz b/pyOCD-0.2.tar.gz new file mode 100644 index 0000000..37e973e --- /dev/null +++ b/pyOCD-0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b98ec53d347e3ae677e27f52056cd55fbd473bd548489b2aa7dcf967146dd7 +size 33194 diff --git a/python-pyOCD.changes b/python-pyOCD.changes new file mode 100644 index 0000000..9ca8dcc --- /dev/null +++ b/python-pyOCD.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Wed Jan 7 17:22:28 UTC 2015 - afaerber@suse.de + +- Drop py2pack-generated conditional on suse_version (matejcik) + +------------------------------------------------------------------- +Tue Jan 6 18:44:53 UTC 2015 - afaerber@suse.de + +- Add runtime dependency on pyUSB + +------------------------------------------------------------------- +Tue Jan 6 18:23:04 UTC 2015 - afaerber@suse.de + +- Initial: v0.2 + diff --git a/python-pyOCD.spec b/python-pyOCD.spec new file mode 100644 index 0000000..c8febc8 --- /dev/null +++ b/python-pyOCD.spec @@ -0,0 +1,47 @@ +# +# spec file for package python-pyOCD +# +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ + + +Name: python-pyOCD +Version: 0.2 +Release: 0 +License: Apache-2.0 +Summary: CMSIS-DAP debugger for python +Url: https://github.com/mbedmicro/pyOCD +Group: Development/Languages/Python +Source: https://pypi.python.org/packages/source/p/pyOCD/pyOCD-%{version}.tar.gz +BuildRequires: python-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Requires: python-usb + +%description +On-chip debugger and flasher tool for ARM microcontrollers. + +%prep +%setup -q -n pyOCD-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog