forked from pool/python-tokenize-rt
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| be7475ad0d | |||
| bf83484afd | |||
| bdbfd14bbd | |||
| afd7892f07 |
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user