## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname PySnooper Name: python-pysnooper Version: 1.2.0 Release: %autorelease Summary: Poor man's debugger for Python License: MIT URL: https://github.com/cool-RR/pysnooper Source0: %pypi_source BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(six) BuildRequires: python3dist(setuptools) %global _description %{expand: PySnooper is a replacement for debug print statements in code. After decorating a function it automatically logs which lines were run and any changes to local variables. @pysnooper.snoop() def func(...): ... } %description %_description %package -n python3-pysnooper Summary: %{summary} %{?python_provides python3-pysnooper} %description -n python3-pysnooper %_description %prep %autosetup -n PySnooper-%{version} %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitelib} %python3 -m pytest -v tests/ %files -n python3-pysnooper %license LICENSE %doc README.md %{python3_sitelib}/pysnooper/ %{python3_sitelib}/PySnooper-%{version}-py%{python3_version}.egg-info/ %changelog * Sun Jul 16 2023 Zbigniew Jędrzejewski-Szmek - 1.2.0-1 - Version 1.2.0 (rhbz#2223097) - Fixes compatilibility with python 3.12 (rhbz#2196749) * Tue Jun 13 2023 Python Maint - 1.1.1-7 - Rebuilt for Python 3.12 * Fri May 12 2023 Zbigniew Jędrzejewski-Szmek - 1.1.1-6 - Version 1.1.1 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 16 2022 Lumir Balhar - 1.1.1-4 - Fix build dependencies - add setuptools (#2142036) * Fri Jul 22 2022 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.1-2 - Rebuilt for Python 3.11 * Mon Apr 04 2022 Lumir Balhar - 1.1.1-1 - Update to 1.1.1 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 17 2022 Lumir Balhar - 1.1.0-1 - Update to 1.1.0, Resolves: rhbz#2040835 * Tue Sep 14 2021 Zbigniew Jędrzejewski-Szmek - 1.0.0-1 - Version 1.0.0 (#2003349) * Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.0-2 - Rebuilt for Python 3.10 * Thu May 20 2021 Lumír Balhar - 0.5.0-1 - Update to 0.5.0 Resolves: rhbz#1962456 * Wed Jan 27 2021 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 08 2020 Miro Hrončok - 0.4.1-2 - BuildRequire six explicitly, it's used in tests * Sat Aug 8 2020 Zbigniew Jędrzejewski-Szmek - 0.4.1-1 - Update to the latest version * Wed Jul 29 2020 Fedora Release Engineering - 0.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.5-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2.5-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 23 2019 Zbigniew Jędrzejewski-Szmek - 0.2.5-1 - Update to latest version * Mon Aug 19 2019 Miro Hrončok - 0.2.2-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 24 2019 Zbigniew Jędrzejewski-Szmek - 0.2.2-1 - Update to latest version * Sat Jun 15 2019 Zbigniew Jędrzejewski-Szmek - 0.2.0-1 - Initial packaging