From eb4d1246066a1bf97ed05bf063bd8c621dd713027741096a7655ab998302c455 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Nov 2022 11:00:29 +0000 Subject: [PATCH 1/4] Accepting request 1034887 from home:yarunachalam:branches:devel:languages:python - 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/1034887 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=17 --- platformio-6.1.4.tar.gz | 3 --- platformio-6.1.5.tar.gz | 3 +++ python-platformio.changes | 10 ++++++++++ python-platformio.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 platformio-6.1.4.tar.gz create mode 100644 platformio-6.1.5.tar.gz diff --git a/platformio-6.1.4.tar.gz b/platformio-6.1.4.tar.gz deleted file mode 100644 index cf820ef..0000000 --- a/platformio-6.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb10837cd2e485b0cc6abb0f76fc8ba1211caad4405fe9227450cb5a5267d593 -size 245886 diff --git a/platformio-6.1.5.tar.gz b/platformio-6.1.5.tar.gz new file mode 100644 index 0000000..a1ca705 --- /dev/null +++ b/platformio-6.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e111d7a86f676668e54c06cc9ebe986439b9d67692841c1792387cc6cb96513f +size 246025 diff --git a/python-platformio.changes b/python-platformio.changes index f9e9986..c8887d9 100644 --- a/python-platformio.changes +++ b/python-platformio.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Nov 9 16:27:43 UTC 2022 - Yogalakshmi Arunachalam + +- 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 diff --git a/python-platformio.spec b/python-platformio.spec index fa60d81..656b3a1 100644 --- a/python-platformio.spec +++ b/python-platformio.spec @@ -18,7 +18,7 @@ %{?!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 From 13b947e228fb17bed2883e1317c68d954f57ecace150a7b7d4a5474311b81b2d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Nov 2022 12:07:33 +0000 Subject: [PATCH 2/4] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=18 --- python-platformio.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/python-platformio.spec b/python-platformio.spec index 656b3a1..70bf3e5 100644 --- a/python-platformio.spec +++ b/python-platformio.spec @@ -16,17 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-platformio 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 +URL: https://github.com/platformio/platformio-core Source: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -61,11 +61,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 +84,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 From 4444a7fad3f87fa144a4c5d27567013f09394ddb51a7c6afa46bcc600343a57e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Nov 2022 12:09:26 +0000 Subject: [PATCH 3/4] - 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). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=19 --- python-platformio.changes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python-platformio.changes b/python-platformio.changes index c8887d9..e934813 100644 --- a/python-platformio.changes +++ b/python-platformio.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 10 12:07:39 UTC 2022 - Matej Cepl + +- 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). + ------------------------------------------------------------------- Wed Nov 9 16:27:43 UTC 2022 - Yogalakshmi Arunachalam From b753ab14661caadfa756150f2b540c94a8717815c34cb16134a84d5498eb1320 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 10 Nov 2022 12:26:59 +0000 Subject: [PATCH 4/4] - Add python-platformio.rpmlintrc to avoid false positives. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformio?expand=0&rev=20 --- python-platformio.changes | 1 + python-platformio.rpmlintrc | 13 +++++++++++++ python-platformio.spec | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 python-platformio.rpmlintrc diff --git a/python-platformio.changes b/python-platformio.changes index e934813..320e099 100644 --- a/python-platformio.changes +++ b/python-platformio.changes @@ -4,6 +4,7 @@ Thu Nov 10 12:07:39 UTC 2022 - Matej Cepl - 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 diff --git a/python-platformio.rpmlintrc b/python-platformio.rpmlintrc new file mode 100644 index 0000000..7f9b198 --- /dev/null +++ b/python-platformio.rpmlintrc @@ -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+") + + diff --git a/python-platformio.spec b/python-platformio.spec index 70bf3e5..b317568 100644 --- a/python-platformio.spec +++ b/python-platformio.spec @@ -23,7 +23,8 @@ Summary: New Generation Ecosystem for Embedded Development License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/platformio/platformio-core -Source: https://files.pythonhosted.org/packages/source/p/platformio/platformio-%{version}.tar.gz +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}