Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tokenize-rt for openSUSE:Factory checked in at 2021-12-27 16:07:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tokenize-rt (Old) and /work/SRC/openSUSE:Factory/.python-tokenize-rt.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tokenize-rt" Mon Dec 27 16:07:13 2021 rev:2 rq:942653 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tokenize-rt/python-tokenize-rt.changes 2020-07-16 14:00:10.249388051 +0200 +++ /work/SRC/openSUSE:Factory/.python-tokenize-rt.new.2520/python-tokenize-rt.changes 2021-12-27 16:07:17.433695913 +0100 @@ -1,0 +2,16 @@ +Sun Dec 26 20:33:05 UTC 2021 - John Vandenberg <jay...@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 + +------------------------------------------------------------------- Old: ---- tokenize_rt-4.0.0.tar.gz New: ---- tokenize-rt-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tokenize-rt.spec ++++++ --- /var/tmp/diff_new_pack.bI6fOQ/_old 2021-12-27 16:07:17.833696197 +0100 +++ /var/tmp/diff_new_pack.bI6fOQ/_new 2021-12-27 16:07:17.837696200 +0100 @@ -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 +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 @@ %postun %python_uninstall_alternative tokenize-rt +%check +%pytest + %files %{python_files} %license LICENSE %doc README.md