17
0

Accepting request 830265 from devel:languages:python

baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/830265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=4
This commit is contained in:
OBS User buildservice-autocommit
2020-09-22 19:05:44 +00:00
committed by Git OBS Bridge
commit d7261c98a9
5 changed files with 113 additions and 0 deletions

24
.gitattributes vendored Normal file
View File

@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.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
*.tar 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

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild

3
platformio-4.3.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9385860a7072ac7bb4a71c4d7644acf1cdd4bc1e88af8a5ab53ee0e935c31b07
size 190096

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Aug 28 10:57:42 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- Initial package (4.3.4)

78
python-platformio.spec Normal file
View File

@@ -0,0 +1,78 @@
#
# spec file for package python-platformio
#
# Copyright (c) 2020 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-platformio
Version: 4.3.4
Release: 0
Summary: New Generation Ecosystem for Embedded Development
License: Apache-2.0
Group: Development/Languages/Python
URL: https://platformio.org
Source: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-bottle
Requires: python-click >= 5
Requires: python-colorama
Requires: python-marshmallow >= 2
Requires: python-pyelftools >= 0.25
Requires: python-pyserial >= 3
Requires: python-requests >= 2.4.0
Requires: python-semantic_version >= 2.8.1
Requires: python-tabulate >= 0.8.3
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
%python_build
%install
%python_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}/*
%changelog