forked from pool/python-tokenize-rt
Accepting request 942653 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942653 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tokenize-rt?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 26 20:33:05 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Use GitHub tarball to activate tests
|
||||
- Tidy spec
|
||||
- Update to v4.2.1
|
||||
* Fix token offsets following multiline string
|
||||
- from v4.2.0
|
||||
* Fix position of empty NEWLINE at no-eol eof
|
||||
* Remove ?s now that offsets are populated
|
||||
* Fix UNIMPORTANT_WS offsets for implicit continuation
|
||||
* Add offsets for added tokens
|
||||
- from v4.1.0
|
||||
* Add link to future-annotations
|
||||
* Add performance hack from python3.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 4 09:58:26 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tokenize_rt
|
||||
# spec file for package python-tokenize-rt
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,39 +12,40 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tokenize-rt
|
||||
Version: 4.0.0
|
||||
Version: 4.2.1
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: A wrapper around the stdlib `tokenize` which roundtrips
|
||||
Url: https://github.com/asottile/tokenize-rt
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tokenize-rt/tokenize_rt-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
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 pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A wrapper around the stdlib `tokenize` which roundtrips.
|
||||
|
||||
%prep
|
||||
%setup -q -n tokenize_rt-%{version}
|
||||
%setup -q -n tokenize-rt-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/tokenize-rt
|
||||
%{python_clone -a %{buildroot}%{_bindir}/tokenize-rt}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
@@ -53,6 +54,9 @@ A wrapper around the stdlib `tokenize` which roundtrips.
|
||||
%postun
|
||||
%python_uninstall_alternative tokenize-rt
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
|
3
tokenize-rt-4.2.1.tar.gz
Normal file
3
tokenize-rt-4.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:abcfb18236b709aa2e3dc4ae3597e518e19c701c0560394a27a0f397e7ad3bba
|
||||
size 7712
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07d5f88b6a953612159b160129bcf9425677c8d062b0cb83250968ba803e1c64
|
||||
size 5464
|
Reference in New Issue
Block a user