forked from pool/python-meshtastic
- Clean up the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meshtastic?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 19 19:12:47 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 08:03:47 UTC 2025 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-meshtastic
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,37 +12,35 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-meshtastic
|
||||
Version: 2.5.11
|
||||
Release: 0
|
||||
License: GPLv3
|
||||
Summary: A Python client for use with Meshtastic devices
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/meshtastic/python
|
||||
URL: https://github.com/meshtastic/python
|
||||
Source: https://files.pythonhosted.org/packages/source/m/meshtastic/meshtastic-%{version}.tar.gz
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
Requires: python-pyserial >= 3.5
|
||||
Requires: python-protobuf >= 4.21.12
|
||||
Requires: python-tabulate >= 0.9.0
|
||||
Requires: python-requests >= 2.31.0
|
||||
Requires: python-pyyaml >= 6.0.1
|
||||
Requires: python-pypubsub >= 4.0.3
|
||||
Requires: python-bleak >= 0.22.3
|
||||
Requires: python-packaging
|
||||
Recommends: python-dbus-fast
|
||||
|
||||
Requires: python-protobuf >= 4.21.12
|
||||
Requires: python-pypubsub >= 4.0.3
|
||||
Requires: python-pyserial >= 3.5
|
||||
Requires: python-pyyaml >= 6.0.1
|
||||
Requires: python-requests >= 2.31.0
|
||||
Requires: python-tabulate >= 0.9.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-dbus-fast
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -52,9 +50,12 @@ A Python client for use with Meshtastic devices. This small library (and example
|
||||
%prep
|
||||
%setup -q -n meshtastic-%{version}
|
||||
|
||||
# Remove hidden file
|
||||
rm -v meshtastic/.gitignore
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
@@ -78,6 +79,7 @@ A Python client for use with Meshtastic devices. This small library (and example
|
||||
%python_alternative %{_bindir}/mesh-analysis
|
||||
%python_alternative %{_bindir}/mesh-tunnel
|
||||
%python_alternative %{_bindir}/meshtastic
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/meshtastic
|
||||
%{python_sitelib}/meshtastic-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user