|
|
04f1bda |
Name: python-pysnooper
|
|
|
957a866 |
Version: 0.4.1
|
|
|
48bf68c |
Release: 2%{?dist}
|
|
|
04f1bda |
Summary: Poor man's debugger for Python
|
|
|
04f1bda |
|
|
|
04f1bda |
License: MIT
|
|
|
04f1bda |
URL: https://github.com/cool-RR/pysnooper
|
|
|
b35465a |
Source0: https://github.com/cool-RR/pysnooper/archive/%{version}/python-pysnooper-%{version}.tar.gz
|
|
|
04f1bda |
|
|
|
04f1bda |
BuildArch: noarch
|
|
|
04f1bda |
BuildRequires: python3-devel
|
|
|
b35465a |
BuildRequires: python3dist(pytest)
|
|
|
48bf68c |
BuildRequires: python3dist(six)
|
|
|
04f1bda |
|
|
|
04f1bda |
%global _description %{expand:
|
|
|
04f1bda |
PySnooper is a replacement for debug print statements in code. After decorating
|
|
|
04f1bda |
a function it automatically logs which lines were run and any changes to local
|
|
|
04f1bda |
variables.}
|
|
|
04f1bda |
|
|
|
04f1bda |
%description %_description
|
|
|
04f1bda |
|
|
|
04f1bda |
%package -n python3-pysnooper
|
|
|
04f1bda |
Summary: %{summary}
|
|
|
04f1bda |
%{?python_provides python3-pysnooper}
|
|
|
04f1bda |
|
|
|
04f1bda |
%description -n python3-pysnooper %_description
|
|
|
04f1bda |
|
|
|
04f1bda |
%prep
|
|
|
9e01bed |
%autosetup -n PySnooper-%{version}
|
|
|
04f1bda |
|
|
|
04f1bda |
%build
|
|
|
04f1bda |
%py3_build
|
|
|
04f1bda |
|
|
|
04f1bda |
%install
|
|
|
04f1bda |
%py3_install
|
|
|
04f1bda |
|
|
|
04f1bda |
%check
|
|
|
04f1bda |
PYTHONPATH=%{buildroot}%{python3_sitelib} %__python3 -m pytest -v tests/
|
|
|
04f1bda |
|
|
|
04f1bda |
%files -n python3-pysnooper
|
|
|
04f1bda |
%license LICENSE
|
|
|
04f1bda |
%doc README.md
|
|
|
04f1bda |
%{python3_sitelib}/pysnooper/
|
|
|
04f1bda |
%{python3_sitelib}/PySnooper-%{version}-py%{python3_version}.egg-info/
|
|
|
04f1bda |
|
|
|
04f1bda |
%changelog
|
|
|
48bf68c |
* Tue Dec 08 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-2
|
|
|
48bf68c |
- BuildRequire six explicitly, it's used in tests
|
|
|
48bf68c |
|
|
|
957a866 |
* Sat Aug 8 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.1-1
|
|
|
957a866 |
- Update to the latest version
|
|
|
957a866 |
|
|
|
32d8ddc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-5
|
|
|
32d8ddc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
32d8ddc |
|
|
|
fb2ad16 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.5-4
|
|
|
fb2ad16 |
- Rebuilt for Python 3.9
|
|
|
fb2ad16 |
|
|
|
a1249c7 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
|
|
|
a1249c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a1249c7 |
|
|
|
45c410e |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.5-2
|
|
|
45c410e |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
45c410e |
|
|
|
b35465a |
* Fri Aug 23 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.5-1
|
|
|
b35465a |
- Update to latest version
|
|
|
b35465a |
|
|
|
123d65c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.2-3
|
|
|
123d65c |
- Rebuilt for Python 3.8
|
|
|
123d65c |
|
|
|
6f13f45 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
|
6f13f45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6f13f45 |
|
|
|
04f1bda |
* Mon Jun 24 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.2-1
|
|
|
04f1bda |
- Update to latest version
|
|
|
04f1bda |
|
|
|
04f1bda |
* Sat Jun 15 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.0-1
|
|
|
04f1bda |
- Initial packaging
|