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..320e099 100644 --- a/python-platformio.changes +++ b/python-platformio.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +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 + +- 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.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 fa60d81..b317568 100644 --- a/python-platformio.spec +++ b/python-platformio.spec @@ -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