Blob Blame History Raw
Name:           python-tokenize-rt
Version:        5.0.0
Release:        2%{?dist}
Summary:        Wrapper for Python's stdlib `tokenize` supporting roundtrips

License:        MIT
Source:         %{url}/archive/v%{version}/tokenize-rt-%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel
# Testing requirements
# covdefaults (from tox.ini -> requirements-dev.txt) is not packaged
# for Fedora, using pytest directly
BuildRequires:  python3dist(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 python3-tokenize-rt
Summary:        %{summary}

%description -n python3-tokenize-rt %_description

%autosetup -p1 -n tokenize-rt-%{version}

%pyproject_buildrequires -r


%pyproject_save_files tokenize_rt


%files -n python3-tokenize-rt -f %{pyproject_files}

* Fri Jan 20 2023 Fedora Release Engineering <> - 5.0.0-2
- Rebuilt for

* 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

* Wed Jul 13 2022 Roman Inflianskas <> - 4.2.1-1
- Initial package