17
0

6 Commits

Author SHA256 Message Date
79b2508a07 Accepting request 1282521 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tokenize-rt?expand=0&rev=7
2025-06-04 18:28:41 +00:00
2af1f73bd2 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tokenize-rt?expand=0&rev=13
2025-06-04 06:19:49 +00:00
6c26035563 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
05167bd568 - 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
1829b29cde 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
77ce5b5d81 - 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
4 changed files with 31 additions and 11 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
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>
- update to 6.1.0:
* handle unicode named escapes in fstring components
* add python 3.13
-------------------------------------------------------------------
Mon Oct 7 21:31:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.0.0:
* properly handle FSTRING_MIDDLE escaped braces
-------------------------------------------------------------------
Fri Dec 8 12:30:29 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tokenize-rt
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-tokenize-rt
Version: 5.2.0
Version: 6.1.0
Release: 0
Summary: A wrapper around the stdlib `tokenize` which roundtrips
License: MIT
@@ -25,12 +25,14 @@ 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
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -41,10 +43,10 @@ A wrapper around the stdlib `tokenize` which roundtrips.
%setup -q -n tokenize-rt-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%{python_clone -a %{buildroot}%{_bindir}/tokenize-rt}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -61,8 +63,8 @@ A wrapper around the stdlib `tokenize` which roundtrips.
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/tokenize-rt
%{python_sitelib}/tokenize_rt*
%{python_sitelib}/__pycache__/tokenize_rt*
%{python_sitelib}/tokenize_rt-%{version}*-info
%{python_sitelib}/tokenize_rt.py
%{python_sitelib}/__pycache__/tokenize_rt*.pyc
%{python_sitelib}/tokenize_rt-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5514a7c6390d67284e99ca9d7867de3e40d43df7d6e353641265b9223f0f784
size 7239

3
tokenize-rt-6.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67d25a612c7c08ddfa0ed273c81e9d180142a31b53141b0ee242d16fe5d4b641
size 7780