|
|
f56304 |
%global srcname Werkzeug
|
|
|
7543e9 |
%global modname werkzeug
|
|
|
f56304 |
|
|
|
7543e9 |
Name: python-%{modname}
|
|
|
7543e9 |
Version: 2.0.1
|
|
|
7543e9 |
Release: 1%{?dist}
|
|
|
7543e9 |
Summary: Comprehensive WSGI web application library
|
|
|
f56304 |
|
|
|
f56304 |
License: BSD
|
|
|
7543e9 |
URL: https://werkzeug.palletsprojects.com
|
|
|
7543e9 |
Source0: %{pypi_source}
|
|
|
7543e9 |
|
|
|
7543e9 |
# Fixes PYTHONPATH handling in tests
|
|
|
7543e9 |
# Upstream: https://github.com/pallets/werkzeug/pull/2172
|
|
|
7543e9 |
Patch0: preserve-any-existing-PYTHONPATH-in-tests.patch
|
|
|
7543e9 |
# Fixes deprecations in Python 3.10
|
|
|
7543e9 |
# Upstream: https://github.com/pallets/werkzeug/commit/584f3cff7d5cb8a588189ae1137b814cf5c47e05
|
|
|
7543e9 |
Patch1: py310-deprecations.patch
|
|
|
f56304 |
|
|
|
f56304 |
BuildArch: noarch
|
|
|
f56304 |
|
|
|
7543e9 |
%global _description %{expand:
|
|
|
7543e9 |
Werkzeug
|
|
|
7543e9 |
========
|
|
|
7543e9 |
|
|
|
7543e9 |
Werkzeug started as simple collection of various utilities for WSGI
|
|
|
7543e9 |
applications and has become one of the most advanced WSGI utility
|
|
|
7543e9 |
modules. It includes a powerful debugger, full featured request and
|
|
|
7543e9 |
response objects, HTTP utilities to handle entity tags, cache control
|
|
|
7543e9 |
headers, HTTP dates, cookie handling, file uploads, a powerful URL
|
|
|
7543e9 |
routing system and a bunch of community contributed addon modules.
|
|
|
7543e9 |
|
|
|
7543e9 |
Werkzeug is unicode aware and doesn't enforce a specific template
|
|
|
7543e9 |
engine, database adapter or anything else. It doesn't even enforce
|
|
|
7543e9 |
a specific way of handling requests and leaves all that up to the
|
|
|
7543e9 |
developer. It's most useful for end user applications which should work
|
|
|
7543e9 |
on as many server environments as possible (such as blogs, wikis,
|
|
|
7543e9 |
bulletin boards, etc.).}
|
|
|
7543e9 |
|
|
|
7543e9 |
%description %{_description}
|
|
|
7543e9 |
|
|
|
7543e9 |
%package -n python3-%{modname}
|
|
|
7543e9 |
Summary: %{summary}
|
|
|
7543e9 |
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
7543e9 |
BuildRequires: make
|
|
|
7543e9 |
BuildRequires: python3-devel
|
|
|
7543e9 |
BuildRequires: python3dist(setuptools)
|
|
|
7543e9 |
# For tests
|
|
|
7543e9 |
BuildRequires: python3dist(pytest)
|
|
|
7543e9 |
BuildRequires: python3dist(pytest-timeout)
|
|
|
7543e9 |
BuildRequires: python3dist(pytest-xprocess)
|
|
|
7543e9 |
BuildRequires: python3dist(requests)
|
|
|
7543e9 |
BuildRequires: python3dist(requests-unixsocket)
|
|
|
7543e9 |
BuildRequires: python3dist(cryptography)
|
|
|
7543e9 |
BuildRequires: python3dist(greenlet)
|
|
|
7543e9 |
BuildRequires: python3dist(watchdog)
|
|
|
7543e9 |
|
|
|
7543e9 |
%description -n python3-%{modname} %{_description}
|
|
|
7543e9 |
|
|
|
7543e9 |
%package -n python3-werkzeug-doc
|
|
|
7543e9 |
Summary: Documentation for python3-werkzeug
|
|
|
7543e9 |
%{?python_provide:%python_provide python3-werkzeug-doc}
|
|
|
7543e9 |
BuildRequires: python3dist(sphinx)
|
|
|
7543e9 |
BuildRequires: python3dist(pallets-sphinx-themes)
|
|
|
7543e9 |
BuildRequires: python3dist(sphinx-issues)
|
|
|
7543e9 |
BuildRequires: python3dist(sphinxcontrib-log-cabinet)
|
|
|
7543e9 |
Requires: python3-werkzeug = %{version}-%{release}
|
|
|
f56304 |
|
|
|
7543e9 |
%description -n python3-werkzeug-doc
|
|
|
7543e9 |
Documentation and examples for python3-werkzeug.
|
|
|
f56304 |
|
|
|
f56304 |
|
|
|
7543e9 |
%prep
|
|
|
7543e9 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
7543e9 |
find examples/ -type f -name '*.png' -executable -print -exec chmod -x "{}" +
|
|
|
f56304 |
|
|
|
7543e9 |
%build
|
|
|
7543e9 |
%py3_build
|
|
|
7543e9 |
pushd docs
|
|
|
7543e9 |
make PYTHONPATH=../src/ SPHINXBUILD=sphinx-build-3 html
|
|
|
7543e9 |
rm -v _build/html/.buildinfo
|
|
|
7543e9 |
popd
|
|
|
f56304 |
|
|
|
7543e9 |
%install
|
|
|
7543e9 |
%py3_install
|
|
|
f56304 |
|
|
|
7543e9 |
%check
|
|
|
7543e9 |
%pytest
|
|
|
f56304 |
|
|
|
7543e9 |
%files -n python3-%{modname}
|
|
|
7543e9 |
%license LICENSE.rst
|
|
|
7543e9 |
%doc CHANGES.rst README.rst
|
|
|
7543e9 |
%{python3_sitelib}/%{srcname}-*.egg-info/
|
|
|
7543e9 |
%{python3_sitelib}/%{modname}/
|
|
|
f56304 |
|
|
|
7543e9 |
%files -n python3-werkzeug-doc
|
|
|
7543e9 |
%doc docs/_build/html examples
|
|
|
f56304 |
|
|
|
7543e9 |
%changelog
|
|
|
7543e9 |
* Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.1-1
|
|
|
7543e9 |
- Update to 2.0.1
|
|
|
7543e9 |
Resolves: rhbz#1795102
|
|
|
f56304 |
|
|
|
7543e9 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.0.1-6
|
|
|
7543e9 |
- Rebuilt for Python 3.10
|
|
|
f56304 |
|
|
|
7543e9 |
* Thu May 13 2021 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-5
|
|
|
7543e9 |
- Workaround failing tests with pytest 6.2+
|
|
|
7543e9 |
- Fixes: rhbz#1928083
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
|
|
|
7543e9 |
- Rebuilt for Python 3.9
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed Apr 08 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.0.1-1
|
|
|
7543e9 |
- Update to 1.0.1
|
|
|
f56304 |
|
|
|
7543e9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Tue Jan 07 2020 Lumír Balhar <lbalhar@redhat.com> - 0.16.0-1
|
|
|
7543e9 |
- New upstream version 0.16.0 (#1690599)
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed Sep 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-12
|
|
|
7543e9 |
- Subpackage python2-werkzeug has been removed
|
|
|
7543e9 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
f56304 |
|
|
|
7543e9 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-11
|
|
|
7543e9 |
- Rebuilt for Python 3.8
|
|
|
f56304 |
|
|
|
7543e9 |
* Mon Jul 29 2019 Petr Viktorin <pviktori@redhat.com> - 0.14.1-10
|
|
|
7543e9 |
- Remove non-essential Python 2 test dependencies
|
|
|
7543e9 |
https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Removing_Requirements
|
|
|
7543e9 |
- Use system Python interpreter in tests
|
|
|
f56304 |
|
|
|
7543e9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-9
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed Apr 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-8
|
|
|
7543e9 |
- Remove python2-werkzeug-doc
|
|
|
7543e9 |
https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
|
f56304 |
|
|
|
7543e9 |
* Sun Feb 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.14.1-7
|
|
|
7543e9 |
- Backport fix to tests using 'python' command
|
|
|
f56304 |
|
|
|
7543e9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-6
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-5
|
|
|
7543e9 |
- Make sure we ship Python 3 docs in the Python 3 docs package
|
|
|
f56304 |
|
|
|
7543e9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-4
|
|
|
7543e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f56304 |
|
|
|
7543e9 |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-3
|
|
|
7543e9 |
- Rebuilt for Python 3.7
|
|
|
f56304 |
|
|
|
7543e9 |
* Tue Jun 05 2018 Miro Hrončok <mhroncok@redhat.com> - 0.14.1-2
|
|
|
7543e9 |
- Don't BR watchdog, it is not needed
|
|
|
f56304 |
|
|
|
7543e9 |
* Wed May 09 2018 Adam Williamson <awilliam@redhat.com> - 0.14.1-1
|
|
|
7543e9 |
- Update to 0.14.1 (needed by httpbin)
|
|
|
7543e9 |
- Run tests during build
|
|
|
f56304 |
|
|
|
f56304 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-2
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 0.12.2-1
|
|
|
f56304 |
- Update to 0.12.2
|
|
|
f56304 |
|
|
|
f56304 |
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.11.10-8
|
|
|
f56304 |
- Cleanup spec file conditionals
|
|
|
f56304 |
|
|
|
f56304 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11.10-7
|
|
|
f56304 |
- Python 2 binary package renamed to python2-werkzeug
|
|
|
f56304 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.10-6
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.10-5
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.11.10-4
|
|
|
f56304 |
- Rebuild for Python 3.6
|
|
|
f56304 |
|
|
|
f56304 |
* Tue Dec 13 2016 Tomas Orsava <torsava@redhat.com> - 0.11.10-3
|
|
|
f56304 |
- Fixed the building of documentation
|
|
|
f56304 |
|
|
|
f56304 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.10-2
|
|
|
f56304 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f56304 |
|
|
|
f56304 |
* Sat May 28 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.11.10-1
|
|
|
f56304 |
- Upstream 0.11.19
|
|
|
f56304 |
- Fix unicode issues with python3
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Apr 14 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 0.11.6-1
|
|
|
f56304 |
- Upstream 0.11.6 (upstream #822)
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-4
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 0.10.4-3
|
|
|
f56304 |
- Rebuilt for Python3.5 rebuild
|
|
|
f56304 |
- Add werkzeug sphinx theme as a Source1
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-2
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Sat May 30 2015 Ricky Elrod <relrod@redhat.com> - 0.10.4-1
|
|
|
f56304 |
- Upstream 0.10.4.
|
|
|
f56304 |
|
|
|
f56304 |
* Fri Jul 18 2014 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.6-1
|
|
|
f56304 |
- Upstream 0.9.6
|
|
|
f56304 |
- Fixes RHBZ #1105819
|
|
|
f56304 |
|
|
|
f56304 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-3
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.4-2
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
f56304 |
|
|
|
f56304 |
* Mon Aug 26 2013 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.4-1
|
|
|
f56304 |
- Upstream 0.9.4
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Jul 25 2013 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.3-1
|
|
|
f56304 |
- Upstream 0.9.3
|
|
|
f56304 |
|
|
|
f56304 |
* Tue Jul 23 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9.2-1
|
|
|
f56304 |
- Upstream 0.9.2 release.
|
|
|
f56304 |
|
|
|
f56304 |
* Sat Jun 15 2013 Haïkel Guémar <hguemar@fedoraproject.org> - 0.9.1-1
|
|
|
f56304 |
- upstream 0.9.1
|
|
|
f56304 |
- add python3 flavor
|
|
|
f56304 |
|
|
|
f56304 |
* Fri Jun 14 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.9-1
|
|
|
f56304 |
- Upstream 0.9.0 release.
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-3
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Sun Feb 5 2012 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.3-1
|
|
|
f56304 |
- upstream 0.8.3 (fixes XSS security issues)
|
|
|
f56304 |
|
|
|
f56304 |
* Wed Jan 25 2012 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.2-1
|
|
|
f56304 |
- upstream 0.8.2
|
|
|
f56304 |
|
|
|
f56304 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.2-2
|
|
|
f56304 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
f56304 |
|
|
|
f56304 |
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.2-1
|
|
|
f56304 |
- Updating because upstream release of Werkzeug 0.6.2
|
|
|
f56304 |
|
|
|
f56304 |
* Fri Mar 05 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6-1
|
|
|
f56304 |
- Updating because upstream release of Werkzeug 0.6
|
|
|
f56304 |
|
|
|
f56304 |
* Tue Aug 25 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.5.1-1
|
|
|
f56304 |
- Initial package
|