14
0

4 Commits

Author SHA256 Message Date
be7475ad0d Accepting request 1222988 from devel:languages:python
- update to 6.1.0:
  * handle unicode named escapes in fstring components
  * add python 3.13

OBS-URL: https://build.opensuse.org/request/show/1222988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tokenize-rt?expand=0&rev=6
2024-11-09 19:58:52 +00:00
bf83484afd - update to 6.1.0:
* handle unicode named escapes in fstring components
  * add python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tokenize-rt?expand=0&rev=11
2024-11-09 15:59:53 +00:00
bdbfd14bbd Accepting request 1206176 from devel:languages:python
- update to 6.0.0:
  * properly handle FSTRING_MIDDLE escaped braces

OBS-URL: https://build.opensuse.org/request/show/1206176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tokenize-rt?expand=0&rev=5
2024-10-08 15:24:17 +00:00
afd7892f07 - update to 6.0.0:
* properly handle FSTRING_MIDDLE escaped braces

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tokenize-rt?expand=0&rev=9
2024-10-07 21:32:39 +00:00
2 changed files with 6 additions and 13 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Jun 4 06:08:00 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Sat Nov 9 15:59:17 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tokenize-rt
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,10 +25,8 @@ Group: Development/Languages/Python
URL: https://github.com/asottile/tokenize-rt
Source: https://github.com/asottile/tokenize-rt/archive/refs/tags/v{%{version}}.tar.gz#/tokenize-rt-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
@@ -43,10 +41,10 @@ A wrapper around the stdlib `tokenize` which roundtrips.
%setup -q -n tokenize-rt-%{version}
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%{python_clone -a %{buildroot}%{_bindir}/tokenize-rt}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -63,8 +61,8 @@ A wrapper around the stdlib `tokenize` which roundtrips.
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/tokenize-rt
%{python_sitelib}/tokenize_rt.py
%{python_sitelib}/__pycache__/tokenize_rt*.pyc
%{python_sitelib}/tokenize_rt-%{version}.dist-info
%{python_sitelib}/tokenize_rt*
%{python_sitelib}/__pycache__/tokenize_rt*
%{python_sitelib}/tokenize_rt-%{version}*-info
%changelog