- 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
This commit is contained in:
Dirk Mueller 2024-06-07 15:53:02 +00:00 committed by Git OBS Bridge
parent a1923d7b8e
commit 61e99eb49b
4 changed files with 29 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45b4d298bd36608fccf9511c3fd88a773f7a1abc04d6cd39445b11ba43133ec5
size 33948

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa1420c60025a9eb7734f65225b4da02a10fc6dd741b37fa129bc6b41951e5ab
size 36536

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jun 7 15:48:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <yarunachalam@suse.com> Wed Sep 28 21:37:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-gprof2dot # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 Name: python-gprof2dot
Version: 2022.7.29 Version: 2024.6.6
Release: 0 Release: 0
Summary: Script to generate a dot graph from the output of several profilers Summary: Script to generate a dot graph from the output of several profilers
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
URL: https://github.com/jrfonseca/gprof2dot URL: https://github.com/jrfonseca/gprof2dot
Source: https://files.pythonhosted.org/packages/source/g/gprof2dot/gprof2dot-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -41,10 +44,10 @@ profilers into a dot graph.
sed -i -e '/^#!\//, 1d' gprof2dot.py sed -i -e '/^#!\//, 1d' gprof2dot.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/gprof2dot %python_clone -a %{buildroot}%{_bindir}/gprof2dot
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -56,7 +59,10 @@ sed -i -e '/^#!\//, 1d' gprof2dot.py
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc README.md
%python_alternative %{_bindir}/gprof2dot %python_alternative %{_bindir}/gprof2dot
%{python_sitelib}/* %{python_sitelib}/gprof2dot.py
%pycache_only %{python_sitelib}/__pycache__/gprof2dot*
%{python_sitelib}/gprof2dot-%{version}.dist-info
%changelog %changelog