!9 update python-paste version to 3.5.0

From: @zzm_567
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2021-01-28 09:51:42 +08:00 committed by Gitee
commit 3475f5c7cc
4 changed files with 5 additions and 26 deletions

Binary file not shown.

BIN
Paste-3.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: python-paste Name: python-paste
Version: 2.0.3 Version: 3.5.0
Release: 13 Release: 1
Summary: Tools for using a Web Server Gateway Interface stack Summary: Tools for using a Web Server Gateway Interface stack
License: MIT and ZPLv2.0 and Python and (AFL or MIT) and (MIT or ASL 2.0) License: MIT and ZPLv2.0 and Python and (AFL or MIT) and (MIT or ASL 2.0)
URL: https://pythonpaste.readthedocs.io/en/latest/ URL: https://pythonpaste.readthedocs.io/en/latest/
Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
Patch0: python37.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-nose BuildRequires: python3-devel python3-nose
@ -65,6 +64,9 @@ popd
%doc docs/* %doc docs/*
%changelog %changelog
* Wed Jan 27 2021 zhanzhimin <zhanzhimin@huawei.com> - 3.5.0-1
- update to 3.5.0
* Wed Dec 16 2020 hanhui <hanhui15@huawei.com> - 2.0.3-13 * Wed Dec 16 2020 hanhui <hanhui15@huawei.com> - 2.0.3-13
- modify url - modify url

View File

@ -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 """