diff --git a/Werkzeug-0.12.2.tar.gz b/Werkzeug-0.12.2.tar.gz deleted file mode 100644 index 7da79b8..0000000 --- a/Werkzeug-0.12.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:903a7b87b74635244548b30d30db4c8947fe64c5198f58899ddcd3a13c23bb26 -size 1169770 diff --git a/Werkzeug-0.14.1.tar.gz b/Werkzeug-0.14.1.tar.gz new file mode 100644 index 0000000..6b43dec --- /dev/null +++ b/Werkzeug-0.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3fd7a7d41976d9f44db327260e263132466836cef6f91512889ed60ad26557c +size 1185546 diff --git a/python-Werkzeug-doc.changes b/python-Werkzeug-doc.changes index 6f92ca7..049e1a5 100644 --- a/python-Werkzeug-doc.changes +++ b/python-Werkzeug-doc.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Wed Jan 3 23:07:03 UTC 2018 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 0.14.1: + * Resolved a regression with status code handling in the integrated + development server. + +- changes from version 0.14: + * HTTP exceptions are now automatically caught by + Request.application. + * Added support for edge as browser. + * Added support for platforms that lack SpooledTemporaryFile. + * Add support for etag handling through if-match + * Added support for the SameSite cookie attribute. + * Added werkzeug.wsgi.ProxyMiddleware + * Implemented has for NullCache + * get_multi on cache clients now returns lists all the time. + * Improved the watchdog observer shutdown for the reloader to not + crash on exit on older Python versions. + * Added support for filename* filename attributes according to RFC + 2231 + * Resolved an issue where machine ID for the reloader PIN was not + read accurately on windows. + * Added a workaround for syntax errors in init files in the + reloader. + * Added support for using the reloader with console scripts on + windows. + * The built-in HTTP server will no longer close a connection in + cases where no HTTP body is expected (204, 204, HEAD requests + etc.) + * The EnvironHeaders object now skips over empty content type and + lengths if they are set to falsy values. + * Werkzeug will no longer send the content-length header on 1xx or + 204/304 responses. + * Cookie values are now also permitted to include slashes and equal + signs without quoting. + * Relaxed the regex for the routing converter arguments. + * If cookies are sent without values they are now assumed to have an + empty value and the parser accepts this. Previously this could + have corrupted cookies that followed the value. + * The test Client and EnvironBuilder now support mimetypes like the + request object does. + * Added support for static weights in URL rules. + * Better handle some more complex reloader scenarios where sys.path + contained non directory paths. + * EnvironHeaders no longer raises weird errors if non string keys + are passed to it. + +------------------------------------------------------------------- +Fri Dec 8 18:07:40 UTC 2017 - arun@gmx.de + +- specfile: + * added CHANGES.rst and README.rst to %doc section + * require requests and hypothesis for tests + +- update to version 0.13: + * Deprecate support for Python 2.6 and 3.3. CI tests will not run + for these versions, and support will be dropped completely in the + next version. (pallets/meta#24) + * Raise TypeError when port is not an integer. (#1088) + * Fully deprecate werkzeug.script. Use Click instead. (#1090) + * response.age is parsed as a timedelta. Previously, it was + incorrectly treated as a datetime. The header value is an integer + number of seconds, not a date string. (#414) + * Fix a bug in TypeConversionDict where errors are not propagated + when using the converter. (#1102) + * Authorization.qop is a string instead of a set, to comply with RFC + 2617. (#984) + * An exception is raised when an encoded cookie is larger than, by + default, 4093 bytes. Browsers may silently ignore cookies larger + than this. BaseResponse has a new attribute max_cookie_size and + dump_cookie has a new argument max_size to configure this. (#780, + #1109) + * Fix a TypeError in + werkzeug.contrib.lint.GuardedIterator.close. (#1116) + * BaseResponse.calculate_content_length now correctly works for + Unicode responses on Python 3. It first encodes using + iter_encoded. (#705) + * Secure cookie contrib works with string secret key on Python + 3. (#1205) + * Shared data middleware accepts a list instead of a dict of static + locations to preserve lookup order. (#1197) + * HTTP header values without encoding can contain single + quotes. (#1208) + * The built-in dev server supports receiving requests with chunked + transfer encoding. (#1198) + ------------------------------------------------------------------- Tue Aug 8 19:29:05 UTC 2017 - tbechtold@suse.com diff --git a/python-Werkzeug-doc.spec b/python-Werkzeug-doc.spec index 9125f7f..8dbd11d 100644 --- a/python-Werkzeug-doc.spec +++ b/python-Werkzeug-doc.spec @@ -18,19 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Werkzeug-doc -Version: 0.12.2 +Version: 0.14.1 Release: 0 -Url: http://werkzeug.pocoo.org/ Summary: Documentation for python-Werkzeug License: BSD-3-Clause Group: Documentation/Other +URL: http://werkzeug.pocoo.org/ Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-Sphinx BuildRequires: python3-Werkzeug = %{version} BuildRequires: python3-setuptools -BuildArch: noarch Provides: %{python_module Werkzeug-doc = %{version}} +BuildArch: noarch %description Documentation and examples for python-Werkzeug @@ -47,8 +46,8 @@ sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylik cd docs && make html && rm -rf _build/html/.buildinfo # Build HTML Documentation %files -%defattr(-,root,root,-) -%doc AUTHORS LICENSE +%license LICENSE +%doc AUTHORS README.rst CHANGES.rst %doc docs/_build/html %doc examples diff --git a/python-Werkzeug.changes b/python-Werkzeug.changes index da63e2b..bb738d3 100644 --- a/python-Werkzeug.changes +++ b/python-Werkzeug.changes @@ -8,6 +8,95 @@ Tue Feb 27 18:52:40 UTC 2018 - aplanas@suse.com - Recommends only for SUSE +------------------------------------------------------------------- +Wed Jan 3 23:07:03 UTC 2018 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 0.14.1: + * Resolved a regression with status code handling in the integrated + development server. + +- changes from version 0.14: + * HTTP exceptions are now automatically caught by + Request.application. + * Added support for edge as browser. + * Added support for platforms that lack SpooledTemporaryFile. + * Add support for etag handling through if-match + * Added support for the SameSite cookie attribute. + * Added werkzeug.wsgi.ProxyMiddleware + * Implemented has for NullCache + * get_multi on cache clients now returns lists all the time. + * Improved the watchdog observer shutdown for the reloader to not + crash on exit on older Python versions. + * Added support for filename* filename attributes according to RFC + 2231 + * Resolved an issue where machine ID for the reloader PIN was not + read accurately on windows. + * Added a workaround for syntax errors in init files in the + reloader. + * Added support for using the reloader with console scripts on + windows. + * The built-in HTTP server will no longer close a connection in + cases where no HTTP body is expected (204, 204, HEAD requests + etc.) + * The EnvironHeaders object now skips over empty content type and + lengths if they are set to falsy values. + * Werkzeug will no longer send the content-length header on 1xx or + 204/304 responses. + * Cookie values are now also permitted to include slashes and equal + signs without quoting. + * Relaxed the regex for the routing converter arguments. + * If cookies are sent without values they are now assumed to have an + empty value and the parser accepts this. Previously this could + have corrupted cookies that followed the value. + * The test Client and EnvironBuilder now support mimetypes like the + request object does. + * Added support for static weights in URL rules. + * Better handle some more complex reloader scenarios where sys.path + contained non directory paths. + * EnvironHeaders no longer raises weird errors if non string keys + are passed to it. + +------------------------------------------------------------------- +Fri Dec 8 18:07:40 UTC 2017 - arun@gmx.de + +- specfile: + * added CHANGES.rst and README.rst to %doc section + +- update to version 0.13: + * Deprecate support for Python 2.6 and 3.3. CI tests will not run + for these versions, and support will be dropped completely in the + next version. (pallets/meta#24) + * Raise TypeError when port is not an integer. (#1088) + * Fully deprecate werkzeug.script. Use Click instead. (#1090) + * response.age is parsed as a timedelta. Previously, it was + incorrectly treated as a datetime. The header value is an integer + number of seconds, not a date string. (#414) + * Fix a bug in TypeConversionDict where errors are not propagated + when using the converter. (#1102) + * Authorization.qop is a string instead of a set, to comply with RFC + 2617. (#984) + * An exception is raised when an encoded cookie is larger than, by + default, 4093 bytes. Browsers may silently ignore cookies larger + than this. BaseResponse has a new attribute max_cookie_size and + dump_cookie has a new argument max_size to configure this. (#780, + #1109) + * Fix a TypeError in + werkzeug.contrib.lint.GuardedIterator.close. (#1116) + * BaseResponse.calculate_content_length now correctly works for + Unicode responses on Python 3. It first encodes using + iter_encoded. (#705) + * Secure cookie contrib works with string secret key on Python + 3. (#1205) + * Shared data middleware accepts a list instead of a dict of static + locations to preserve lookup order. (#1197) + * HTTP header values without encoding can contain single + quotes. (#1208) + * The built-in dev server supports receiving requests with chunked + transfer encoding. (#1198) + ------------------------------------------------------------------- Tue Aug 8 19:29:05 UTC 2017 - tbechtold@suse.com diff --git a/python-Werkzeug.spec b/python-Werkzeug.spec index 24845d3..013642e 100644 --- a/python-Werkzeug.spec +++ b/python-Werkzeug.spec @@ -19,23 +19,24 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Werkzeug -Version: 0.12.2 +Version: 0.14.1 Release: 0 Summary: The Swiss Army knife of Python web development License: BSD-3-Clause Group: Development/Languages/Python -Url: http://werkzeug.pocoo.org/ +URL: http://werkzeug.pocoo.org/ Source: https://files.pythonhosted.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz # PATCH-FIX-UPSTREAM 0001_create_a_thread_to_reap_death_process.patch bsc#954591 Patch0: 0001_create_a_thread_to_reap_death_process.patch +BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 -Recommends: python-watchdog Recommends: python-termcolor +Recommends: python-watchdog %endif %ifpython2 Provides: %{oldpython}-werkzeug = %{version} @@ -71,11 +72,13 @@ sed -i "1d" examples/manage-{i18nurls,simplewiki,shorty,couchy,cupoftee,webpylik %python_install %check -%python_exec setup.py test +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}} +export LANG=en_US.UTF-8 +%python_exec -m pytest %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS LICENSE CHANGES +%license LICENSE +%doc AUTHORS CHANGES.rst %{python_sitelib}/* %changelog