Name: python-nudatus Version: 0.0.5 Release: 9%{?dist} Summary: Strip comments from Python scripts # SPDX License: MIT URL: https://github.com/zanderbrown/nudatus Source: %{url}/archive/%{version}/nudatus-%{version}.tar.gz # Python 3.12 support, proposed upstream Patch: https://github.com/ZanderBrown/nudatus/pull/11.patch BuildArch: noarch BuildRequires: python3-devel # test requirements mixed with coverage upstream, BRing pytest manually is easier BuildRequires: python3dist(pytest) %description Nudatus is a tool to remove comments from python scripts. It's created for use in uflash to help squeeze longer programs onto the micro:bit but it should be suitable for various environments with restricted storage. %package -n python3-nudatus Summary: %{summary} Provides: nudatus == %{version}-%{release} %description -n python3-nudatus Nudatus is a tool to remove comments from python scripts. It's created for use in uflash to help squeeze longer programs onto the micro:bit but it should be suitable for various environments with restricted storage. %prep %autosetup -p1 -n nudatus-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files nudatus %check %pytest -vvv tests %files -n python3-nudatus -f %{pyproject_files} %doc README.rst %{_bindir}/nudatus %changelog * Fri Jul 21 2023 Fedora Release Engineering - 0.0.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.0.5-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.0.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.0.5-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.0.5-2 - Rebuilt for Python 3.10 * Mon Apr 12 2021 Karolina Surma - 0.0.5-1 - Update to 0.0.5 Resolves rhbz#1924644 * Wed Jan 27 2021 Fedora Release Engineering - 0.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.0.4-2 - Rebuilt for Python 3.9 * Tue Mar 17 2020 Tomas Hrnciar - 0.0.4-1 - Update to 0.0.4 * Thu Jan 30 2020 Fedora Release Engineering - 0.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.0.3-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.0.3-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 24 2019 Miro Hrončok - 0.0.3-1 - Update to 0.0.3 * Sat Feb 02 2019 Fedora Release Engineering - 0.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.0.2-2 - Rebuilt for Python 3.7 * Tue Apr 10 2018 Miro Hrončok - 0.0.2-1 - Initial package.