forked from pool/python-platformio
Accepting request 1035075 from devel:languages:python
- Switch to wheel build/install, move scripts/ directory to the packages's namespace (see https://community.platformio.org/t/installs-scripts-directory-to-the-global-namespace/30396). - Add python-platformio.rpmlintrc to avoid false positives. - Update to versino 6.1.5 * Added a new enable_proxy_strict_ssl setting to disable the proxy server certificate verification (issue #4432) * Documented PlatformIO Core Proxy Configuration * Speeded up device port finder by avoiding loading board HWIDs from development platforms * Improved caching of build metadata in debug mode * Fixed an issue when pio pkg install --storage-dir command requires PlatformIO project (issue #4410) OBS-URL: https://build.opensuse.org/request/show/1035075 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformio?expand=0&rev=8
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb10837cd2e485b0cc6abb0f76fc8ba1211caad4405fe9227450cb5a5267d593
|
||||
size 245886
|
||||
3
platformio-6.1.5.tar.gz
Normal file
3
platformio-6.1.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e111d7a86f676668e54c06cc9ebe986439b9d67692841c1792387cc6cb96513f
|
||||
size 246025
|
||||
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 12:07:39 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch to wheel build/install, move scripts/ directory to the
|
||||
packages's namespace (see
|
||||
https://community.platformio.org/t/installs-scripts-directory-to-the-global-namespace/30396).
|
||||
- Add python-platformio.rpmlintrc to avoid false positives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 9 16:27:43 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to versino 6.1.5
|
||||
* Added a new enable_proxy_strict_ssl setting to disable the proxy server certificate verification (issue #4432)
|
||||
* Documented PlatformIO Core Proxy Configuration
|
||||
* Speeded up device port finder by avoiding loading board HWIDs from development platforms
|
||||
* Improved caching of build metadata in debug mode
|
||||
* Fixed an issue when pio pkg install --storage-dir command requires PlatformIO project (issue #4410)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 23:08:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
||||
13
python-platformio.rpmlintrc
Normal file
13
python-platformio.rpmlintrc
Normal file
@@ -0,0 +1,13 @@
|
||||
# These hidden files are legitimate part of the package
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.ccls.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.clang_complete.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.cproject.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.gcc-flags.json.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.gitignore.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.project.tpl")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.settings")
|
||||
addFilter("hidden-file-or-dir /usr/lib/python.*/.vscode")
|
||||
# These two names are links to the same file
|
||||
addFilter("files-duplicate /usr/bin/platformio-3\.\d+ /usr/bin/pio-3\.\d+")
|
||||
|
||||
|
||||
@@ -16,17 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-platformio
|
||||
Version: 6.1.4
|
||||
Version: 6.1.5
|
||||
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}
|
||||
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
|
||||
@@ -61,11 +62,14 @@ who write applications for embedded products.
|
||||
%setup -q -n platformio-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%pyproject_install
|
||||
# mv because of https://community.platformio.org/t/installs-scripts-directory-to-the-global-namespace/30396
|
||||
%{python_expand mv %{buildroot}%{$python_sitelib}/scripts %{buildroot}%{$python_sitelib}/platformio
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/pio
|
||||
%python_clone -a %{buildroot}%{_bindir}/piodebuggdb
|
||||
@@ -81,6 +85,7 @@ who write applications for embedded products.
|
||||
%python_alternative %{_bindir}/pio
|
||||
%python_alternative %{_bindir}/piodebuggdb
|
||||
%python_alternative %{_bindir}/platformio
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/platformio
|
||||
%{python_sitelib}/platformio-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user