forked from pool/python-esptool
Accepting request 596755 from home:a_faerber:branches:devel:languages:python
Tidy specfile (URL) with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/596755 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-esptool?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
5d53c3f5aa
commit
bcbe1febf5
@@ -13,31 +13,30 @@
|
||||
# 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
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/cd/68/c28961d88cf50ca6d5de5e4b354dc47f77b9e74d4cd4d5bee4feaa7963b3/esptool-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
URL: https://github.com/espressif/esptool
|
||||
Source: https://files.pythonhosted.org/packages/source/e/esptool/esptool-%{version}.tar.gz
|
||||
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}
|
||||
BuildRequires: %{python_module pyaes}
|
||||
BuildRequires: %{python_module pyserial >= 2.5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-ecdsa
|
||||
Requires: python-pyaes
|
||||
Requires: python-pyserial >= 2.5
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@@ -60,7 +59,6 @@ Allows flashing firmware, reading back firmware, querying chip parameters, etc.
|
||||
%python_clone %{buildroot}%{_bindir}/espefuse.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/esptool.py-%{python_bin_suffix}
|
||||
|
||||
Reference in New Issue
Block a user