forked from pool/python-platformio
* Added support for Python 3.13
* Introduced the PLATFORMIO_SYSTEM_TYPE environment variable,
enabling manual override of the detected system type for
greater flexibility and control in custom build environments
* Enhanced internet connection checks by falling back to HTTPS
protocol when HTTP (port 80) fails (issue #4980)
* Upgraded the build engine to the latest version of SCons
(4.8.1) to improve build performance, reliability, and
compatibility with other tools and systems (release notes)
* Upgraded the Doctest testing framework to version 2.4.11, the
GoogleTest to version 1.15.2, and the Unity to version 2.6.0,
incorporating the latest features and improvements for
enhanced testing capabilities
* Corrected an issue where the incorrect public class was
imported for the ``DoctestTestRunner`` (issue #4949)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=30
89 lines
3.0 KiB
RPMSpec
89 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package python-platformio
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: python-platformio
|
|
Version: 6.1.16
|
|
Release: 0
|
|
Summary: New Generation Ecosystem for Embedded Development
|
|
License: Apache-2.0
|
|
Group: Development/Languages/Python
|
|
URL: https://github.com/platformio/platformio-core
|
|
Source0: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz
|
|
Source99: python-platformio.rpmlintrc
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
Requires: python-aiofiles >= 0.8
|
|
Requires: python-ajsonrpc >= 1
|
|
Requires: python-bottle >= 0.12
|
|
Requires: python-click >= 8.0.4
|
|
Requires: python-colorama
|
|
Requires: python-marshmallow >= 3
|
|
Requires: python-pyelftools >= 0.27
|
|
Requires: python-pyserial >= 3.5
|
|
Requires: python-requests >= 2
|
|
Requires: python-semantic_version >= 2.10
|
|
Requires: python-starlette >= 0.20
|
|
Requires: python-tabulate >= 0.8
|
|
# dropping requirement to 0.16 instead of 0.18, setup.py asks for 0.18 since python 3.7
|
|
Requires: python-uvicorn >= 0.16
|
|
# dropping requirement to 1.0 instead of 1.1, setup.py asks for 1.1 since python 3.7
|
|
Requires: python-wsproto >= 1.0
|
|
Requires: python-zeroconf
|
|
Requires(post): update-alternatives
|
|
Requires(postun): update-alternatives
|
|
|
|
%python_subpackages
|
|
|
|
%description
|
|
PlatformIO is a cross-platform, cross-architecture, multiple framework,
|
|
professional tool for embedded systems engineers and for software developers
|
|
who write applications for embedded products.
|
|
|
|
%prep
|
|
%setup -q -n platformio-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/pio
|
|
%python_clone -a %{buildroot}%{_bindir}/piodebuggdb
|
|
%python_clone -a %{buildroot}%{_bindir}/platformio
|
|
|
|
%post
|
|
%{python_install_alternative pio piodebuggdb platformio}
|
|
|
|
%postun
|
|
%{python_uninstall_alternative pio piodebuggdb platformio}
|
|
|
|
%files %{python_files}
|
|
%python_alternative %{_bindir}/pio
|
|
%python_alternative %{_bindir}/piodebuggdb
|
|
%python_alternative %{_bindir}/platformio
|
|
%{python_sitelib}/platformio
|
|
%{python_sitelib}/platformio-%{version}*-info
|
|
|
|
%changelog
|