Accepting request 658977 from devel:languages:python
- update to 3.0.5: * make tests pass after 2031 * Use correct variable when building message for exception * Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL anyways. (#16) * Fix error on httpserver shutdown * Add support for limited testing with travis-ci * Merged in hroncok/paste/py37 (pull request #41) * Don't raise StopIteration from generator, return instead * Fix up testing after switch to pytest * Make iterators Python3-compatible * Remove use of future * Don't raise StopIteration inside a generator * add link to read the docs to README * Release 3.0.2 * Release 3.0.5 * Prepare docs for publishing to RTFD * Run tox with Python 3.6 and 3.7 * Prepare a 3.0.0 release * release 3.0.1 * py3 fixes for form handling in paste.fixture (#8) * release 3.0.3 * Special case py37 * release 3.0.4 * Switch from nose to pytest * Pytest fixes (#9) * paste.fixture: fix form offset handling (#12) * Add a simple .gitignore * Don't delete dict item while iterating over same dict (#14) * Depend on pytest instead of nose (#13) * Fix proxy test OBS-URL: https://build.opensuse.org/request/show/658977 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Paste?expand=0&rev=18
This commit is contained in:
commit
fed889824c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2346a347824c32641bf020c17967b49ae74d3310ec1bc9b958d4b84e2d985218
|
||||
size 643935
|
3
Paste-3.0.5.tar.gz
Normal file
3
Paste-3.0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1bb2068807ce3592d313ce9b1a25a7ac842a504e7e3b005027193d17a043d1a8
|
||||
size 631325
|
@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 17 21:04:26 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
- update to 3.0.5:
|
||||
* make tests pass after 2031
|
||||
* Use correct variable when building message for exception
|
||||
* Remove use of OpenSSL.tsafe, which links to OpenSSL.SSL anyways. (#16)
|
||||
* Fix error on httpserver shutdown
|
||||
* Add support for limited testing with travis-ci
|
||||
* Merged in hroncok/paste/py37 (pull request #41)
|
||||
* Don't raise StopIteration from generator, return instead
|
||||
* Fix up testing after switch to pytest
|
||||
* Make iterators Python3-compatible
|
||||
* Remove use of future
|
||||
* Don't raise StopIteration inside a generator
|
||||
* add link to read the docs to README
|
||||
* Release 3.0.2
|
||||
* Release 3.0.5
|
||||
* Prepare docs for publishing to RTFD
|
||||
* Run tox with Python 3.6 and 3.7
|
||||
* Prepare a 3.0.0 release
|
||||
* release 3.0.1
|
||||
* py3 fixes for form handling in paste.fixture (#8)
|
||||
* release 3.0.3
|
||||
* Special case py37
|
||||
* release 3.0.4
|
||||
* Switch from nose to pytest
|
||||
* Pytest fixes (#9)
|
||||
* paste.fixture: fix form offset handling (#12)
|
||||
* Add a simple .gitignore
|
||||
* Don't delete dict item while iterating over same dict (#14)
|
||||
* Depend on pytest instead of nose (#13)
|
||||
* Fix proxy test
|
||||
* Enable coverage reporting via codecov (#10)
|
||||
* Update README and setup.py for new location
|
||||
* Added tag 2.0.3 for changeset 768835f3c1b7
|
||||
- Drop python37.patch. No longer needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 18 09:19:55 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -19,16 +19,17 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-Paste
|
||||
Version: 2.0.3
|
||||
Version: 3.0.5
|
||||
Release: 0
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://pythonpaste.org
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
|
||||
Patch0: python37.patch
|
||||
# Test build requirements:
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six > 1.4.0}
|
||||
BuildRequires: fdupes
|
||||
@ -58,11 +59,6 @@ interfaces.
|
||||
%setup -q -n Paste-%{version}
|
||||
# remove test requiring internet access
|
||||
rm tests/test_proxy.py
|
||||
# remove .orig files (see https://bitbucket.org/ianb/paste/issues/11/pypi-tarball-of-version-202-contains-orig)
|
||||
rm paste/urlmap.py.orig
|
||||
rm paste/httpserver.py.orig
|
||||
rm paste/util/template.py.orig
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
@ -1,23 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Miro Hrončok <miro@hroncok.cz>
|
||||
# Date 1528476582 -7200
|
||||
# Fri Jun 08 18:49:42 2018 +0200
|
||||
# Branch py37
|
||||
# Node ID c5a2c7e3191cdcebf3fa5f0e52f55910ed2120b9
|
||||
# Parent 0e5a48796ab969d874c6b772c5c33561ac2d1b0d
|
||||
Don't raise StopIteration from generator, return instead
|
||||
|
||||
See https://www.python.org/dev/peps/pep-0479/
|
||||
|
||||
diff -r 0e5a48796ab9 -r c5a2c7e3191c paste/auth/digest.py
|
||||
--- a/paste/auth/digest.py Tue Mar 08 16:29:31 2016 -0800
|
||||
+++ b/paste/auth/digest.py Fri Jun 08 18:49:42 2018 +0200
|
||||
@@ -57,7 +57,7 @@
|
||||
prev = item
|
||||
|
||||
yield prev.strip()
|
||||
- raise StopIteration
|
||||
+ return
|
||||
|
||||
def _auth_to_kv_pairs(auth_string):
|
||||
""" split a digest auth string into key, value pairs """
|
Loading…
x
Reference in New Issue
Block a user