|
|
462281b |
%global srcname yappi
|
|
|
462281b |
|
|
|
462281b |
Name: python-%{srcname}
|
|
|
cba2e0f |
Version: 1.3.6
|
|
|
e3181f2 |
Release: 8%{?dist}
|
|
|
462281b |
Summary: Yet Another Python Profiler, supports Multithread/CPU time profiling
|
|
|
462281b |
|
|
|
462281b |
License: MIT
|
|
|
462281b |
URL: https://github.com/sumerc/yappi
|
|
|
462281b |
Source0: https://files.pythonhosted.org/packages/source/y/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
ac45bdb |
# https://github.com/sumerc/yappi/commit/b07534e005d5ad36f06db81a3232998392fe55d8 unreleased
|
|
|
cba2e0f |
Patch01: 0001-Change-frame-object-update-asyncio-tests.patch
|
|
|
cba2e0f |
Patch02: 0002-fix-few-seg.-faults.patch
|
|
|
cba2e0f |
Patch03: 0003-fix-ensure_thread_profiled.patch
|
|
|
cba2e0f |
Patch04: 0004-6-failures-in-TCs.patch
|
|
|
cba2e0f |
Patch05: 0005-Use-_PyEval_SetProfile-instead-of-manually-updating-.patch
|
|
|
cba2e0f |
Patch06: 0006-Use-PyCode_GetVarnames-added-in-3.11.0rc1.patch
|
|
|
cba2e0f |
Patch07: 0007-Fix-IS_SUSPENDED-call-to-use-PyFrame_GetGenerator-gi.patch
|
|
|
cba2e0f |
Patch09: 0009-Use-codeobject-co_varnames-for-Py-versions-11.patch
|
|
|
cba2e0f |
Patch11: 0011-Cosmetic.patch
|
|
|
8f74858 |
Patch12: 0001-Support-python-3.12.patch
|
|
|
8f74858 |
|
|
|
462281b |
|
|
|
462281b |
BuildRequires: git
|
|
|
462281b |
BuildRequires: gcc
|
|
|
462281b |
|
|
|
462281b |
%description
|
|
|
462281b |
Yappi, Yet Another Python Profiler, provides multithreading and cpu-time
|
|
|
462281b |
support to profile python programs.
|
|
|
462281b |
|
|
|
462281b |
%package -n python3-%{srcname}
|
|
|
462281b |
Summary: Yet Another Python Profiler, supports Multithread/CPU time profiling.
|
|
|
462281b |
|
|
|
462281b |
BuildRequires: python3-devel
|
|
|
462281b |
BuildRequires: python3-setuptools
|
|
|
462281b |
|
|
|
462281b |
%description -n python3-%{srcname}
|
|
|
462281b |
Yappi, Yet Another Python Profiler, provides multithreading and cpu-time
|
|
|
462281b |
support to profile python programs.
|
|
|
462281b |
|
|
|
462281b |
%prep
|
|
|
462281b |
%autosetup -n %{srcname}-%{version} -S git
|
|
|
462281b |
|
|
|
462281b |
%build
|
|
|
462281b |
%py3_build
|
|
|
462281b |
|
|
|
462281b |
%install
|
|
|
462281b |
%py3_install
|
|
|
462281b |
mv %{buildroot}%{_bindir}/%{srcname} %{buildroot}%{_bindir}/%{srcname}-%{python3_version}
|
|
|
462281b |
ln -s %{srcname}-%{python3_version} %{buildroot}%{_bindir}/%{srcname}-3
|
|
|
462281b |
ln -s %{srcname}-3 %{buildroot}%{_bindir}/%{srcname}
|
|
|
462281b |
|
|
|
462281b |
%check
|
|
|
c428f0d |
export PATH=$PATH:%{buildroot}/usr/bin
|
|
|
462281b |
export PYTHONPATH=%{buildroot}/%{python3_sitearch}
|
|
|
462281b |
%{__python3} tests/test_functionality.py
|
|
|
462281b |
%{__python3} tests/test_hooks.py
|
|
|
462281b |
|
|
|
462281b |
%files -n python3-%{srcname}
|
|
|
462281b |
%license LICENSE
|
|
|
462281b |
%doc README.md
|
|
|
462281b |
%{python3_sitearch}/%{srcname}.py*
|
|
|
462281b |
%{python3_sitearch}/_%{srcname}*.so
|
|
|
462281b |
%{python3_sitearch}/__pycache__/%{srcname}*
|
|
|
462281b |
%{python3_sitearch}/%{srcname}-*.egg-info
|
|
|
462281b |
%{_bindir}/%{srcname}
|
|
|
462281b |
%{_bindir}/%{srcname}-3*
|
|
|
462281b |
|
|
|
462281b |
%changelog
|
|
|
e3181f2 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-8
|
|
|
e3181f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e3181f2 |
|
|
|
3a07bd0 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-7
|
|
|
3a07bd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
3a07bd0 |
|
|
|
2a368ee |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-6
|
|
|
2a368ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
2a368ee |
|
|
|
4dcb8da |
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.3.6-5
|
|
|
4dcb8da |
- Rebuilt for Python 3.12
|
|
|
4dcb8da |
|
|
|
890c103 |
* Fri Apr 21 2023 Florian Weimer <fweimer@redhat.com> - 1.3.6-4
|
|
|
890c103 |
- Drop 0010-Unconditionally-set-LIB_RT_AVAILABLE-and-link-with-l.patch,
|
|
|
890c103 |
python3-setuptools has been fixed.
|
|
|
890c103 |
|
|
|
d0ac483 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-3
|
|
|
d0ac483 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
d0ac483 |
|
|
|
7c6a8fc |
* Thu Jan 05 2023 Florian Weimer <fweimer@redhat.com> - 1.3.6-2
|
|
|
7c6a8fc |
- Work around broken has_function setup check (#2153038)
|
|
|
7c6a8fc |
|
|
|
cba2e0f |
* Wed Sep 14 2022 Alfredo Moralejo <amoralej@redhat.com> - 1.3.6-1
|
|
|
cba2e0f |
- Update to 1.3.6
|
|
|
cba2e0f |
- Backport upstream patches required to support python 3.11
|
|
|
cba2e0f |
|
|
|
5154f58 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
|
|
|
5154f58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
5154f58 |
|
|
|
8523f83 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.3.2-4
|
|
|
8523f83 |
- Rebuilt for Python 3.11
|
|
|
8523f83 |
|
|
|
84ef3f7 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
|
|
|
84ef3f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
84ef3f7 |
|
|
|
cb6f46f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
|
cb6f46f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
cb6f46f |
|
|
|
ac45bdb |
* Wed Jun 16 2021 Joel Capitao <jcapitao@redhat.com> - 1.3.2-1
|
|
|
ac45bdb |
- Update to 1.3.2 version (#1902302)
|
|
|
ac45bdb |
- Included patch to support python 3.10 (#1958896)
|
|
|
ac45bdb |
|
|
|
b8940db |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3.1-3
|
|
|
b8940db |
- Rebuilt for Python 3.10
|
|
|
b8940db |
|
|
|
55d305c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
55d305c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
55d305c |
|
|
|
ac45bdb |
* Tue Nov 10 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.3.1-1
|
|
|
8daea80 |
- Update to 1.3.1 version
|
|
|
8daea80 |
|
|
|
ac45bdb |
* Tue Nov 10 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.3.0-1
|
|
|
787838f |
- Update to 1.3.0 version
|
|
|
787838f |
|
|
|
c428f0d |
* Fri Aug 28 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.2.5-1
|
|
|
c428f0d |
- Update to 1.2.5 version
|
|
|
c428f0d |
- Removed python2 subpackage
|
|
|
c428f0d |
|
|
|
ab8414c |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
|
|
|
ab8414c |
- Second attempt - Rebuilt for
|
|
|
ab8414c |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ab8414c |
|
|
|
1cf063f |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
|
|
|
1cf063f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1cf063f |
|
|
|
d76cf87 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0-6
|
|
|
d76cf87 |
- Rebuilt for Python 3.9
|
|
|
d76cf87 |
|
|
|
07e22be |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
|
|
|
07e22be |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
07e22be |
|
|
|
1ee80b0 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-4
|
|
|
1ee80b0 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1ee80b0 |
|
|
|
46101d0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-3
|
|
|
46101d0 |
- Rebuilt for Python 3.8
|
|
|
46101d0 |
|
|
|
7511ffa |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
7511ffa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7511ffa |
|
|
|
462281b |
* Thu Feb 21 2019 Alfredo Moralejo <amoralej@redhat.com> - 1.0-1
|
|
|
462281b |
- Initial version
|