15
0

Accepting request 585336 from home:a_faerber:branches:devel:languages:python

esptool 2.3.1 - depends on flake8-future-import (sr#585334)

OBS-URL: https://build.opensuse.org/request/show/585336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-esptool?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-03-11 16:22:13 +00:00
committed by Git OBS Bridge
commit 5d53c3f5aa
5 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
esptool-2.3.1.tar.gz Normal file
View File

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

4
python-esptool.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Mar 4 14:06:02 UTC 2018 - afaerber@suse.de
- Initial (2.3.1)

74
python-esptool.spec Normal file
View File

@@ -0,0 +1,74 @@
#
# spec file for package python-esptool
#
# Copyright (c) 2018 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
# 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/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-esptool
Version: 2.3.1
Release: 0
License: GPL-2.0+
Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips
Url: https://github.com/espressif/esptool
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/cd/68/c28961d88cf50ca6d5de5e4b354dc47f77b9e74d4cd4d5bee4feaa7963b3/esptool-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module ecdsa}
BuildRequires: %{python_module pyaes}
BuildRequires: %{python_module pyserial >= 2.5}
# test requirements
BuildRequires: %{python_module flake8 >= 3.2.0}
BuildRequires: %{python_module flake8-future-import}
BuildRequires: %{python_module flake8-import-order}
Requires: python-ecdsa
Requires: python-pyaes
Requires: python-pyserial >= 2.5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
A command line utility to communicate with the ROM bootloader in Espressif ESP8266 & ESP32 microcontrollers.
Allows flashing firmware, reading back firmware, querying chip parameters, etc.
%prep
%setup -q -n esptool-%{version}
%build
%python_build
%install
%python_install
%python_clone %{buildroot}%{_bindir}/esptool.py
%python_clone %{buildroot}%{_bindir}/espsecure.py
%python_clone %{buildroot}%{_bindir}/espefuse.py
%files %{python_files}
%defattr(-,root,root,-)
%license LICENSE
%doc README.md
%{_bindir}/esptool.py-%{python_bin_suffix}
%{_bindir}/espsecure.py-%{python_bin_suffix}
%{_bindir}/espefuse.py-%{python_bin_suffix}
%python3_only %{_bindir}/esptool.py
%python3_only %{_bindir}/espsecure.py
%python3_only %{_bindir}/espefuse.py
%{python_sitelib}/*
%changelog