Name: python-tokenize-rt Version: 5.2.0 Release: 1%{?dist} Summary: Wrapper for Python's stdlib `tokenize` supporting roundtrips License: MIT URL: https://github.com/asottile/tokenize-rt Source: %{url}/archive/v%{version}/tokenize-rt-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel # Testing requirements # covdefaults (from tox.ini -> requirements-dev.txt) is not packaged # for Fedora, using pytest directly BuildRequires: python%{python3_version}dist(pytest) %global _description %{expand: The stdlib tokenize module does not properly roundtrip. This wrapper around the stdlib provides two additional tokens ESCAPED_NL and UNIMPORTANT_WS, and a Token data type. Use src_to_tokens and tokens_to_src to roundtrip. This library is useful if you are writing a refactoring tool based on the python tokenization.} %description %_description %package -n python%{python3_pkgversion}-tokenize-rt Summary: %{summary} %description -n python%{python3_pkgversion}-tokenize-rt %_description %prep %autosetup -p1 -n tokenize-rt-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files tokenize_rt %check %pytest %files -n python%{python3_pkgversion}-tokenize-rt -f %{pyproject_files} %doc README.md %{_bindir}/tokenize-rt %changelog * Mon Jul 31 2023 Roman Inflianskas - 5.2.0-1 - Update to 5.2.0 (fedora#2227583) * Fri Jul 21 2023 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 06 2023 Maxwell G - 5.1.0-1 - Update to 5.1.0. - Fix Python 3.12 test failures. - Fixes: rhbz#2220538 * Tue Jun 13 2023 Python Maint - 5.0.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Oct 04 2022 Roman Inflianskas - 5.0.0-1 - Update to 5.0.0 (resolve rhbz#2131856) * Fri Jul 22 2022 Fedora Release Engineering - 4.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 13 2022 Roman Inflianskas - 4.2.1-1 - Initial package