rdobuilder f0f0ea
# Created by pyp2rpm-1.1.1
rdobuilder f0f0ea
%global sname wrapt
rdobuilder f0f0ea
rdobuilder f0f0ea
%if 0%{?fedora} || 0%{?rhel} >= 8
rdobuilder f0f0ea
%global with_docs 1
rdobuilder f0f0ea
%endif
rdobuilder f0f0ea
rdobuilder f0f0ea
%{!?_licensedir: %global license %%doc}
rdobuilder f0f0ea
rdobuilder f0f0ea
Name:           python-%{sname}
rdobuilder f0f0ea
Version:        1.13.3
rdobuilder f0f0ea
Release:        2%{?dist}
rdobuilder f0f0ea
Summary:        A Python module for decorators, wrappers and monkey patching
rdobuilder f0f0ea
rdobuilder f0f0ea
License:        BSD
rdobuilder f0f0ea
URL:            https://github.com/GrahamDumpleton/wrapt
rdobuilder f0f0ea
Source0:        https://github.com/GrahamDumpleton/%{sname}/archive/%{version}.tar.gz
rdobuilder f0f0ea
rdobuilder f0f0ea
BuildRequires:  gcc
rdobuilder f0f0ea
rdobuilder f0f0ea
BuildRequires:  python3-devel
rdobuilder f0f0ea
rdobuilder f0f0ea
%global _description\
rdobuilder f0f0ea
The aim of the wrapt module is to provide a transparent object proxy\
rdobuilder f0f0ea
for Python, which can be used as the basis for the construction of\
rdobuilder f0f0ea
function wrappers and decorator functions.
rdobuilder f0f0ea
rdobuilder f0f0ea
%description %_description
rdobuilder f0f0ea
rdobuilder f0f0ea
%if 0%{?with_docs}
rdobuilder f0f0ea
%package doc
rdobuilder f0f0ea
Summary:        Documentation for the wrapt module
rdobuilder f0f0ea
rdobuilder f0f0ea
BuildRequires:  python3-sphinx
rdobuilder f0f0ea
BuildRequires:  python3-sphinx_rtd_theme
rdobuilder f0f0ea
rdobuilder f0f0ea
%description doc
rdobuilder f0f0ea
Documentation for the wrapt module
rdobuilder f0f0ea
%endif
rdobuilder f0f0ea
rdobuilder f0f0ea
%package -n python3-wrapt
rdobuilder f0f0ea
Summary:        A Python module for decorators, wrappers and monkey patching
rdobuilder f0f0ea
%{?python_provide:%python_provide python3-wrapt}
rdobuilder f0f0ea
rdobuilder f0f0ea
%description -n python3-wrapt
rdobuilder f0f0ea
The aim of the wrapt module is to provide a transparent object proxy
rdobuilder f0f0ea
for Python, which can be used as the basis for the construction of
rdobuilder f0f0ea
function wrappers and decorator functions.
rdobuilder f0f0ea
rdobuilder f0f0ea
%prep
rdobuilder f0f0ea
%setup -q -n %{sname}-%{version}
rdobuilder f0f0ea
rdobuilder f0f0ea
# Remove bundled egg-info in case it exists
rdobuilder f0f0ea
rm -rf %{sname}.egg-info
rdobuilder f0f0ea
rdobuilder f0f0ea
%build
rdobuilder f0f0ea
%py3_build
rdobuilder f0f0ea
rdobuilder f0f0ea
%if 0%{?with_docs}
rdobuilder f0f0ea
# for docs
rdobuilder f0f0ea
pushd docs
rdobuilder f0f0ea
sphinx-build -b html -d build/doctrees . build/html
rdobuilder f0f0ea
popd
rdobuilder f0f0ea
%endif
rdobuilder f0f0ea
rdobuilder f0f0ea
%install
rdobuilder f0f0ea
%py3_install
rdobuilder f0f0ea
rdobuilder f0f0ea
%if 0%{?with_docs}
rdobuilder f0f0ea
%files doc
rdobuilder f0f0ea
%doc docs/build/html
rdobuilder f0f0ea
%endif
rdobuilder f0f0ea
rdobuilder f0f0ea
%files -n python3-wrapt
rdobuilder f0f0ea
%doc README.rst
rdobuilder f0f0ea
%license LICENSE
rdobuilder f0f0ea
%{python3_sitearch}/%{sname}
rdobuilder f0f0ea
%{python3_sitearch}/%{sname}-%{version}-py%{python3_version}.egg-info
rdobuilder f0f0ea
rdobuilder f0f0ea
%changelog
rdobuilder f0f0ea
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.3-2
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Nov 06 2021 Kevin Fenzi <kevin@scrye.com> - 1.13.3-1
rdobuilder f0f0ea
- Update to 1.13.3. Fixes rhbz#2010551
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Oct 26 2021 Joel Capitao <jcapitao@redhat.com> - 1.13.2-1
rdobuilder f0f0ea
- Update to 1.13.2
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-6
rdobuilder f0f0ea
- Second attempt - Rebuilt for
rdobuilder f0f0ea
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.12.1-5
rdobuilder f0f0ea
- Rebuilt for Python 3.10
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-4
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-3
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.12.1-2
rdobuilder f0f0ea
- Rebuilt for Python 3.9
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Mar 17 2020 Clément Verna <cverna@fedoraproject.org> - 1.12.1-1
rdobuilder f0f0ea
- Update to 1.12.1. Fixes bug #1803787
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-5
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Sep 11 2019 Miro Hrončok <mhroncok@redhat.com> - 1.11.2-4
rdobuilder f0f0ea
- Subpackage python2-wrapt has been removed
rdobuilder f0f0ea
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.11.2-3
rdobuilder f0f0ea
- Rebuilt for Python 3.8
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 1.11.2-1
rdobuilder f0f0ea
- Update to 1.11.2. Fixes bug #1667650
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Feb 07 2019 Javier Peña <jpena@redhat.com> - 1.11.1-1
rdobuilder f0f0ea
- Update to upstream 1.11.1
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.11-6
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.11-5
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.11-4
rdobuilder f0f0ea
- Rebuilt for Python 3.7
rdobuilder f0f0ea
rdobuilder f0f0ea
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.10.11-3
rdobuilder f0f0ea
- Update Python 2 dependency declarations to new packaging standards
rdobuilder f0f0ea
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.11-2
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sun Dec 17 2017 Kevin Fenzi <kevin@scrye.com> - 1.10.11-1
rdobuilder f0f0ea
- Update to 1.10.11. Fixes bug #1480582
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 1.10.10-5
rdobuilder f0f0ea
- Cleanup spec file conditionals
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.10.10-4
rdobuilder f0f0ea
- Python 2 binary package renamed to python2-wrapt
rdobuilder f0f0ea
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.10-3
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.10-2
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Mar 15 2017 Ralph Bean <rbean@redhat.com> - 1.10.10-1
rdobuilder f0f0ea
- new version
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Mar 15 2017 Ralph Bean <rbean@redhat.com> - 1.10.9-1
rdobuilder f0f0ea
- new version
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-4
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.10.8-3
rdobuilder f0f0ea
- Rebuild for Python 3.6
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.8-2
rdobuilder f0f0ea
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri Apr 15 2016 Kevin Fenzi <kevin@scrye.com> - 1.10.8-1
rdobuilder f0f0ea
- Update to 1.10.8. Fixes bug #1325923
rdobuilder f0f0ea
rdobuilder f0f0ea
* Mon Apr 04 2016 Ralph Bean <rbean@redhat.com> - 1.10.7-1
rdobuilder f0f0ea
- new version
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.5-3
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.5-2
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
rdobuilder f0f0ea
rdobuilder f0f0ea
* Mon Jul 06 2015 Ralph Bean <rbean@redhat.com> - 1.10.5-1
rdobuilder f0f0ea
- new version
rdobuilder f0f0ea
rdobuilder f0f0ea
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.4-7
rdobuilder f0f0ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
rdobuilder f0f0ea
rdobuilder f0f0ea
* Fri May 15 2015 Ralph Bean <rbean@redhat.com> - 1.10.4-6
rdobuilder f0f0ea
- Don't build docs on epel7 (the rtd theme is problematic).
rdobuilder f0f0ea
rdobuilder f0f0ea
* Sat Apr 11 2015 Ralph Bean <rbean@redhat.com> - 1.10.4-5
rdobuilder f0f0ea
- Add python3 subpackage
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Mar 25 2015 Chandan Kumar <chkumar246@gmail.com> - 1.10.4-4
rdobuilder f0f0ea
- Added doc files for doc subpackage
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Mar 25 2015 Chandan Kumar <chkumar246@gmail.com> - 1.10.4-3
rdobuilder f0f0ea
- Fixed Docs
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Mar 24 2015 Chandan Kumar <chkumar246@gmail.com> - 1.10.4-2
rdobuilder f0f0ea
- Removed cflags and group section fro doc subpackage
rdobuilder f0f0ea
rdobuilder f0f0ea
* Tue Mar 24 2015 Chandan Kumar <chkumar246@gmail.com> - 1.10.4-1
rdobuilder f0f0ea
- Bumped to upstream version 1.10.4
rdobuilder f0f0ea
- Add docs
rdobuilder f0f0ea
rdobuilder f0f0ea
* Wed Mar 11 2015 Chandan Kumar <chkumar246@gmail.com> - 1.10.2-1
rdobuilder f0f0ea
- Initial package.