Hello community, here is the log from the commit of package python-pyperf for openSUSE:Leap:15.2 checked in at 2020-03-23 17:26:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pyperf (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pyperf.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyperf" Mon Mar 23 17:26:53 2020 rev:3 rq:787426 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pyperf/python-pyperf.changes 2020-03-13 10:59:14.544514559 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pyperf.new.3160/python-pyperf.changes 2020-03-23 17:26:55.962173356 +0100 @@ -1,0 +2,11 @@ +Fri Mar 20 12:42:05 UTC 2020 - Marketa Calabkova <[email protected]> + +- Update to version 2.0.0 + * Drop Python 2 support. Use pyperf 1.7.1 if you still need Python 2.7 + support. + * Remove ``python_unicode`` metadata. + * pyperf.perf_counter() is now deprecated: use time.perf_counter() directly. + * Support Python 3.8: ``time.clock()`` no longer exists. +- Drop no longer needed patches python-retcode.patch and python38.patch + +------------------------------------------------------------------- Old: ---- pyperf-1.7.0.tar.gz python-retcode.patch python38.patch New: ---- pyperf-2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyperf.spec ++++++ --- /var/tmp/diff_new_pack.VR9urQ/_old 2020-03-23 17:26:56.926174115 +0100 +++ /var/tmp/diff_new_pack.VR9urQ/_new 2020-03-23 17:26:56.926174115 +0100 @@ -17,34 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pyperf -Version: 1.7.0 +Version: 2.0.0 Release: 0 Summary: Python module to run and analyze benchmarks License: MIT URL: https://github.com/vstinner/pyperf Source: https://files.pythonhosted.org/packages/source/p/pyperf/pyperf-%{version}.tar.gz -Patch0: python38.patch -Patch1: python-retcode.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six Recommends: python-psutil BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mock} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} -BuildRequires: python2-contextlib2 -BuildRequires: python2-statistics -BuildRequires: python2-unittest2 # /SECTION -%ifpython2 -Requires: python2-contextlib2 -Requires: python2-statistics -%endif %python_subpackages %description @@ -52,7 +42,6 @@ %prep %setup -q -n pyperf-%{version} -%autopatch -p1 %build %python_build ++++++ pyperf-1.7.0.tar.gz -> pyperf-2.0.0.tar.gz ++++++ ++++ 1706 lines of diff (skipped)
