File project.diff of Package python-pyprof2calltree
--- python-pyprof2calltree.changes.orig
+++ python-pyprof2calltree.changes
@@ -1,4 +1,26 @@
-------------------------------------------------------------------
+Mon Sep 28 20:46:14 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
+
+- update to 1.4.5
+ + #53: Remove deprecated eggsecutable script
+ + #52: Remove use of deprecated setuptools test command
+ + #51: Add testing and support for Python 3.8
+- update to 1.4.4
+ + Numerous small improvements, drop support for EOL python
+ versions
+- update to 1.4.3
+ + Windows support (fixed is_installed check - #21)
+- update to 1.4.2
+ + No feature or bug fixes, just license clarification (#20)
+- update to 1.4.1
+ + No feature or bug fixes, just test distribution (#17)
+- update to 1.4.0
+ + Support multiple functions with the same name, tick unit from
+ millis to nanos, tests added (#15)
+- update to 1.3.2
+ + Bugfix: correct source file paths (#12)
+
+-------------------------------------------------------------------
Tue Jul 1 10:08:31 UTC 2014 - hpj@urpla.net
- don't require, just recommend kcachegrind
--- python-pyprof2calltree.spec.orig
+++ python-pyprof2calltree.spec
@@ -1,8 +1,8 @@
#
# spec file for package python-pyprof2calltree
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2014 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2014-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,19 @@
Name: python-pyprof2calltree
-Version: 1.3.1
+Version: 1.4.5
Release: 0
License: BSD
Summary: Help visualize profiling data from cProfile with kcachegrind and qcachegrind
Url: http://github.com/pwaller/pyprof2calltree/
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/p/pyprof2calltree/pyprof2calltree-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Recommends: kcachegrind
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
+%python_subpackages
%description
Script to help visualize profiling data collected with the cProfile
@@ -42,14 +39,14 @@ python module with the kcachegrind graph
%setup -q -n pyprof2calltree-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%files
-%defattr(-,root,root,-)
-%doc README.txt
+%files %{python_files}
+%doc README.rst
%{_bindir}/pyprof2calltree
%{python_sitelib}/*