Blame SPECS/python-yappi.spec

rdobuilder 883d97
%global srcname yappi
rdobuilder 883d97
rdobuilder 883d97
Name:           python-%{srcname}
rdobuilder 883d97
Version:        1.6.0
rdobuilder 883d97
Release:        1%{?dist}
rdobuilder 883d97
Summary:        Yet Another Python Profiler, supports Multithread/CPU time profiling
rdobuilder 883d97
rdobuilder 883d97
License:        MIT
rdobuilder 883d97
URL:            https://github.com/sumerc/yappi
rdobuilder 883d97
Source0:        https://files.pythonhosted.org/packages/source/y/%{srcname}/%{srcname}-%{version}.tar.gz
rdobuilder 883d97
Patch01:        0001-Add-support-for-python-3.13.patch
rdobuilder 883d97
rdobuilder 883d97
BuildRequires:  git
rdobuilder 883d97
BuildRequires:  gcc
rdobuilder 883d97
rdobuilder 883d97
%description
rdobuilder 883d97
Yappi, Yet Another Python Profiler, provides multithreading and cpu-time
rdobuilder 883d97
support to profile python programs.
rdobuilder 883d97
rdobuilder 883d97
%package -n python3-%{srcname}
rdobuilder 883d97
Summary:        Yet Another Python Profiler, supports Multithread/CPU time profiling.
rdobuilder 883d97
rdobuilder 883d97
BuildRequires:  python3-devel
rdobuilder 883d97
BuildRequires:  python3-setuptools
rdobuilder 883d97
rdobuilder 883d97
%description -n python3-%{srcname}
rdobuilder 883d97
Yappi, Yet Another Python Profiler, provides multithreading and cpu-time
rdobuilder 883d97
support to profile python programs.
rdobuilder 883d97
rdobuilder 883d97
%prep
rdobuilder 883d97
%autosetup -n %{srcname}-%{version} -S git
rdobuilder 883d97
rdobuilder 883d97
%build
rdobuilder 883d97
%py3_build
rdobuilder 883d97
rdobuilder 883d97
%install
rdobuilder 883d97
%py3_install
rdobuilder 883d97
mv %{buildroot}%{_bindir}/%{srcname} %{buildroot}%{_bindir}/%{srcname}-%{python3_version}
rdobuilder 883d97
ln -s %{srcname}-%{python3_version} %{buildroot}%{_bindir}/%{srcname}-3
rdobuilder 883d97
ln -s %{srcname}-3 %{buildroot}%{_bindir}/%{srcname}
rdobuilder 883d97
rdobuilder 883d97
%check
rdobuilder 883d97
export PATH=$PATH:%{buildroot}/usr/bin
rdobuilder 883d97
export PYTHONPATH=%{buildroot}/%{python3_sitearch}
rdobuilder 883d97
%{__python3} run_tests.py
rdobuilder 883d97
rdobuilder 883d97
%files -n python3-%{srcname}
rdobuilder 883d97
%license LICENSE
rdobuilder 883d97
%doc README.md
rdobuilder 883d97
%{python3_sitearch}/%{srcname}.py*
rdobuilder 883d97
%{python3_sitearch}/_%{srcname}*.so
rdobuilder 883d97
%{python3_sitearch}/__pycache__/%{srcname}*
rdobuilder 883d97
%{python3_sitearch}/%{srcname}-*.egg-info
rdobuilder 883d97
%{_bindir}/%{srcname}
rdobuilder 883d97
%{_bindir}/%{srcname}-3*
rdobuilder 883d97
rdobuilder 883d97
%changelog
rdobuilder 883d97
* Tue Jul 02 2024 Alfredo Moralejo <amoralej@redhat.com> - 1.6.0-1
rdobuilder 883d97
- Update to 1.6.0
rdobuilder 883d97
- Include patch to support 3.13
rdobuilder 883d97
rdobuilder 883d97
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.3.6-9
rdobuilder 883d97
- Rebuilt for Python 3.13
rdobuilder 883d97
rdobuilder 883d97
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-8
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-7
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-6
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.3.6-5
rdobuilder 883d97
- Rebuilt for Python 3.12
rdobuilder 883d97
rdobuilder 883d97
* Fri Apr 21 2023 Florian Weimer <fweimer@redhat.com> - 1.3.6-4
rdobuilder 883d97
- Drop 0010-Unconditionally-set-LIB_RT_AVAILABLE-and-link-with-l.patch,
rdobuilder 883d97
  python3-setuptools has been fixed.
rdobuilder 883d97
rdobuilder 883d97
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-3
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Thu Jan 05 2023 Florian Weimer <fweimer@redhat.com> - 1.3.6-2
rdobuilder 883d97
- Work around broken has_function setup check (#2153038)
rdobuilder 883d97
rdobuilder 883d97
* Wed Sep 14 2022 Alfredo Moralejo <amoralej@redhat.com> - 1.3.6-1
rdobuilder 883d97
- Update to 1.3.6
rdobuilder 883d97
- Backport upstream patches required to support python 3.11
rdobuilder 883d97
rdobuilder 883d97
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.3.2-4
rdobuilder 883d97
- Rebuilt for Python 3.11
rdobuilder 883d97
rdobuilder 883d97
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Wed Jun 16 2021 Joel Capitao <jcapitao@redhat.com> - 1.3.2-1
rdobuilder 883d97
- Update to 1.3.2 version (#1902302)
rdobuilder 883d97
- Included patch to support python 3.10 (#1958896)
rdobuilder 883d97
rdobuilder 883d97
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.3.1-3
rdobuilder 883d97
- Rebuilt for Python 3.10
rdobuilder 883d97
rdobuilder 883d97
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Tue Nov 10 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.3.1-1
rdobuilder 883d97
- Update to 1.3.1 version
rdobuilder 883d97
rdobuilder 883d97
* Tue Nov 10 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.3.0-1
rdobuilder 883d97
- Update to 1.3.0 version
rdobuilder 883d97
rdobuilder 883d97
* Fri Aug 28 2020 Alfredo Moralejo <amoralej@redhat.com> - 1.2.5-1
rdobuilder 883d97
- Update to 1.2.5 version
rdobuilder 883d97
- Removed python2 subpackage
rdobuilder 883d97
rdobuilder 883d97
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
rdobuilder 883d97
- Second attempt - Rebuilt for
rdobuilder 883d97
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0-6
rdobuilder 883d97
- Rebuilt for Python 3.9
rdobuilder 883d97
rdobuilder 883d97
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-4
rdobuilder 883d97
- Rebuilt for Python 3.8.0rc1 (#1748018)
rdobuilder 883d97
rdobuilder 883d97
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-3
rdobuilder 883d97
- Rebuilt for Python 3.8
rdobuilder 883d97
rdobuilder 883d97
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
rdobuilder 883d97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder 883d97
rdobuilder 883d97
* Thu Feb 21 2019 Alfredo Moralejo <amoralej@redhat.com> - 1.0-1
rdobuilder 883d97
- Initial version