commit python-modernize for openSUSE:Factory
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 + +- Do not use nonsense config options + +--- +Sat Oct 10 11:13:52 UTC 2020 - John Vandenberg + +- 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)
commit python-modernize for openSUSE:Factory
Hello community, here is the log from the commit of package python-modernize for openSUSE:Factory checked in at 2020-08-25 12:37:22 Comparing /work/SRC/openSUSE:Factory/python-modernize (Old) and /work/SRC/openSUSE:Factory/.python-modernize.new.3399 (New) Package is "python-modernize" Tue Aug 25 12:37:22 2020 rev:4 rq:827126 version:0.7 Changes: --- /work/SRC/openSUSE:Factory/python-modernize/python-modernize.changes 2020-05-26 17:23:16.948485881 +0200 +++ /work/SRC/openSUSE:Factory/.python-modernize.new.3399/python-modernize.changes 2020-08-25 12:37:28.137397519 +0200 @@ -1,0 +2,5 @@ +Sun Aug 16 15:21:08 UTC 2020 - John Vandenberg + +- Replace nose with pytest + +--- Other differences: -- ++ python-modernize.spec ++ --- /var/tmp/diff_new_pack.83lhk2/_old 2020-08-25 12:37:29.681398281 +0200 +++ /var/tmp/diff_new_pack.83lhk2/_new 2020-08-25 12:37:29.681398281 +0200 @@ -33,7 +33,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module dbm} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -42,6 +42,7 @@ %prep %setup -q -n python-modernize-%{version} +sed -i '/nose/d' setup.py %build %python_build @@ -52,7 +53,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %post %python_install_alternative python-modernize
commit python-modernize for openSUSE:Factory
Hello community, here is the log from the commit of package python-modernize for openSUSE:Factory checked in at 2020-05-26 17:23:05 Comparing /work/SRC/openSUSE:Factory/python-modernize (Old) and /work/SRC/openSUSE:Factory/.python-modernize.new.2738 (New) Package is "python-modernize" Tue May 26 17:23:05 2020 rev:3 rq:808676 version:0.7 Changes: --- /work/SRC/openSUSE:Factory/python-modernize/python-modernize.changes 2020-01-13 22:20:52.210500023 +0100 +++ /work/SRC/openSUSE:Factory/.python-modernize.new.2738/python-modernize.changes 2020-05-26 17:23:16.948485881 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:49 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-modernize.spec ++ --- /var/tmp/diff_new_pack.PbnIic/_old 2020-05-26 17:23:17.636487361 +0200 +++ /var/tmp/diff_new_pack.PbnIic/_new 2020-05-26 17:23:17.640487369 +0200 @@ -28,6 +28,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-dbm +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module dbm} @@ -46,15 +48,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/python-modernize %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test +%post +%python_install_alternative python-modernize + +%postun +%python_uninstall_alternative python-modernize + %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE -%python3_only %{_bindir}/python-modernize +%python_alternative %{_bindir}/python-modernize %{python_sitelib}/* %changelog
commit python-modernize for openSUSE:Factory
Hello community, here is the log from the commit of package python-modernize for openSUSE:Factory checked in at 2020-01-13 22:20:45 Comparing /work/SRC/openSUSE:Factory/python-modernize (Old) and /work/SRC/openSUSE:Factory/.python-modernize.new.6675 (New) Package is "python-modernize" Mon Jan 13 22:20:45 2020 rev:2 rq:761544 version:0.7 Changes: --- /work/SRC/openSUSE:Factory/python-modernize/python-modernize.changes 2019-05-12 11:33:18.997855504 +0200 +++ /work/SRC/openSUSE:Factory/.python-modernize.new.6675/python-modernize.changes 2020-01-13 22:20:52.210500023 +0100 @@ -1,0 +2,5 @@ +Tue Jan 7 11:37:57 UTC 2020 - Tomáš Chvátal + +- Use python dbm dependency instead of legacy gdbm + +--- Other differences: -- ++ python-modernize.spec ++ --- /var/tmp/diff_new_pack.cCFlOx/_old 2020-01-13 22:20:53.434500591 +0100 +++ /var/tmp/diff_new_pack.cCFlOx/_new 2020-01-13 22:20:53.438500592 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-modernize # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,16 +22,16 @@ Release:0 Summary:A tool for modernizing Python code using lib2to3 License:BSD-3-Clause AND Python-2.0 -Group: Development/Languages/Python URL:https://github.com/python-modernize/python-modernize -Source: https://github.com/python-modernize/python-modernize/archive/0.7.tar.gz#//modernize-%{version}.tar.gz +Source: https://github.com/python-modernize/python-modernize/archive/%{version}.tar.gz#//modernize-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-dbm BuildArch: noarch # SECTION test requirements +BuildRequires: %{python_module dbm} BuildRequires: %{python_module nose} -BuildRequires: python-gdbm # /SECTION %python_subpackages
commit python-modernize for openSUSE:Factory
Hello community, here is the log from the commit of package python-modernize for openSUSE:Factory checked in at 2019-05-12 11:33:18 Comparing /work/SRC/openSUSE:Factory/python-modernize (Old) and /work/SRC/openSUSE:Factory/.python-modernize.new.5148 (New) Package is "python-modernize" Sun May 12 11:33:18 2019 rev:1 rq:692294 version:0.7 Changes: New Changes file: --- /dev/null 2019-05-02 15:18:01.516169518 +0200 +++ /work/SRC/openSUSE:Factory/.python-modernize.new.5148/python-modernize.changes 2019-05-12 11:33:18.997855504 +0200 @@ -0,0 +1,4 @@ +--- +Sat Mar 30 10:05:21 PM UTC 2019 - John Vandenberg + +- Initial spec for v0.7 New: modernize-0.7.tar.gz python-modernize.changes python-modernize.spec Other differences: -- ++ python-modernize.spec ++ # # spec file for package python-modernize # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-modernize Version:0.7 Release:0 Summary:A tool for modernizing Python code using lib2to3 License:BSD-3-Clause AND Python-2.0 Group: Development/Languages/Python URL:https://github.com/python-modernize/python-modernize Source: https://github.com/python-modernize/python-modernize/archive/0.7.tar.gz#//modernize-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module nose} BuildRequires: python-gdbm # /SECTION %python_subpackages %description A hack on top of 2to3 for modernizing Python code. %prep %setup -q -n python-modernize-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE %python3_only %{_bindir}/python-modernize %{python_sitelib}/* %changelog