Hello community, here is the log from the commit of package python-modernize for openSUSE:Factory checked in at 2020-10-29 09:47:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-modernize (Old) and /work/SRC/openSUSE:Factory/.python-modernize.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-modernize" Thu Oct 29 09:47:32 2020 rev:5 rq:841160 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-modernize/python-modernize.changes 2020-08-25 12:37:28.137397519 +0200 +++ /work/SRC/openSUSE:Factory/.python-modernize.new.3463/python-modernize.changes 2020-10-29 09:47:39.940132318 +0100 @@ -1,0 +2,18 @@ +Mon Oct 12 07:44:27 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Do not use nonsense config options + +------------------------------------------------------------------- +Sat Oct 10 11:13:52 UTC 2020 - John Vandenberg <jay...@gmail.com> + +- Update to v0.8.0 + * add ``modernize`` console_script + * use ``fissix`` instead of deprecated `lib2to3` + modernize itself will no-longer run under Python 2, or Python <3.6, + but will always be able to process Python 2 code. + * Fix for dict.viewitems(), dict.iteritems() etc in chained calls + * Fix for SLASHEQUAL ``/=`` in fix_classic_divivion + * Fix typo in help string for --enforce option + * move project to https://github.com/PyCQA/modernize/ + +------------------------------------------------------------------- Old: ---- modernize-0.7.tar.gz New: ---- modernize-0.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-modernize.spec ++++++ --- /var/tmp/diff_new_pack.fuGHO7/_old 2020-10-29 09:47:40.852133180 +0100 +++ /var/tmp/diff_new_pack.fuGHO7/_new 2020-10-29 09:47:40.856133184 +0100 @@ -17,17 +17,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-modernize -Version: 0.7 +Version: 0.8.0 Release: 0 Summary: A tool for modernizing Python code using lib2to3 License: BSD-3-Clause AND Python-2.0 -URL: https://github.com/python-modernize/python-modernize -Source: https://github.com/python-modernize/python-modernize/archive/%{version}.tar.gz#//modernize-%{version}.tar.gz +URL: https://github.com/PyCQA/modernize +Source: https://github.com/PyCQA/modernize/archive/v%{version}.tar.gz#/modernize-%{version}.tar.gz +BuildRequires: %{python_module fissix} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-dbm +Requires: python-fissix Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch @@ -38,17 +41,19 @@ %python_subpackages %description -A hack on top of 2to3 for modernizing Python code. +A hack on top of fissix for modernizing Python code. %prep -%setup -q -n python-modernize-%{version} -sed -i '/nose/d' setup.py +%setup -q -n modernize-%{version} +# disable pytest-cov +sed -i 's/"--cov.*",//g' pyproject.toml %build %python_build %install %python_install +%python_clone -a %{buildroot}%{_bindir}/modernize %python_clone -a %{buildroot}%{_bindir}/python-modernize %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -56,14 +61,17 @@ %pytest %post +%python_install_alternative modernize %python_install_alternative python-modernize %postun +%python_uninstall_alternative modernize %python_uninstall_alternative python-modernize %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE +%python_alternative %{_bindir}/modernize %python_alternative %{_bindir}/python-modernize %{python_sitelib}/* ++++++ modernize-0.7.tar.gz -> modernize-0.8.0.tar.gz ++++++ ++++ 5920 lines of diff (skipped)