From 61e99eb49bb6095012f91091a9fe9316ff19104c4179af961e44efd8480734a7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 Jun 2024 15:53:02 +0000 Subject: [PATCH] - update to 2024.06.06: * Change http to https in LICENSE.txt * Added support for simulated/embedded gprof output * Fix typos in readme * Make GitHub Actions cover oldest and youngest Pythons alive * Stop Codecov CI from failing on forks * Trigger `testOnly.yml` workflow when its content changes * Drop Python 2.7 leftovers + require Python >=3.8 * Add README and LICENSE to the manifest. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gprof2dot?expand=0&rev=14 --- gprof2dot-2022.7.29.tar.gz | 3 --- gprof2dot-2024.6.6.tar.gz | 3 +++ python-gprof2dot.changes | 14 +++++++++++++- python-gprof2dot.spec | 20 +++++++++++++------- 4 files changed, 29 insertions(+), 11 deletions(-) delete mode 100644 gprof2dot-2022.7.29.tar.gz create mode 100644 gprof2dot-2024.6.6.tar.gz diff --git a/gprof2dot-2022.7.29.tar.gz b/gprof2dot-2022.7.29.tar.gz deleted file mode 100644 index 0ea3f23..0000000 --- a/gprof2dot-2022.7.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45b4d298bd36608fccf9511c3fd88a773f7a1abc04d6cd39445b11ba43133ec5 -size 33948 diff --git a/gprof2dot-2024.6.6.tar.gz b/gprof2dot-2024.6.6.tar.gz new file mode 100644 index 0000000..02aba6c --- /dev/null +++ b/gprof2dot-2024.6.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa1420c60025a9eb7734f65225b4da02a10fc6dd741b37fa129bc6b41951e5ab +size 36536 diff --git a/python-gprof2dot.changes b/python-gprof2dot.changes index 465d0f3..7bca12f 100644 --- a/python-gprof2dot.changes +++ b/python-gprof2dot.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Jun 7 15:48:37 UTC 2024 - Dirk Müller + +- update to 2024.06.06: + * Change http to https in LICENSE.txt + * Added support for simulated/embedded gprof output + * Fix typos in readme + * Make GitHub Actions cover oldest and youngest Pythons alive + * Stop Codecov CI from failing on forks + * Trigger `testOnly.yml` workflow when its content changes + * Drop Python 2.7 leftovers + require Python >=3.8 + ------------------------------------------------------------------- Wed Sep 28 21:37:24 UTC 2022 - Yogalakshmi Arunachalam @@ -53,7 +65,7 @@ Wed May 6 06:34:30 UTC 2020 - Steve Kowalik * Don't hardcode theme names in opt parsing code * Fix a typo in gprof2dot.py * fix Profile.prune() for cases when filename is not set - * Add README and LICENSE to the manifest. + * Add README and LICENSE to the manifest. - Drop Source10 (copy of LICENSE), now included in upstream tarball. ------------------------------------------------------------------- diff --git a/python-gprof2dot.spec b/python-gprof2dot.spec index 9a189f4..35ab286 100644 --- a/python-gprof2dot.spec +++ b/python-gprof2dot.spec @@ -1,7 +1,7 @@ # # spec file for package python-gprof2dot # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-gprof2dot -Version: 2022.7.29 +Version: 2024.6.6 Release: 0 Summary: Script to generate a dot graph from the output of several profilers License: LGPL-3.0-or-later URL: https://github.com/jrfonseca/gprof2dot Source: https://files.pythonhosted.org/packages/source/g/gprof2dot/gprof2dot-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -41,10 +44,10 @@ profilers into a dot graph. sed -i -e '/^#!\//, 1d' gprof2dot.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/gprof2dot %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -56,7 +59,10 @@ sed -i -e '/^#!\//, 1d' gprof2dot.py %files %{python_files} %license LICENSE.txt +%doc README.md %python_alternative %{_bindir}/gprof2dot -%{python_sitelib}/* +%{python_sitelib}/gprof2dot.py +%pycache_only %{python_sitelib}/__pycache__/gprof2dot* +%{python_sitelib}/gprof2dot-%{version}.dist-info %changelog