Compare commits
12 Commits
92a84acf80
...
9231b00c9e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9231b00c9e | ||
|
|
37f973412c | ||
|
|
3475f5c7cc | ||
|
|
7ef51dc37c | ||
|
|
4af5432867 | ||
|
|
398e464518 | ||
|
|
555aec800e | ||
|
|
908d4ca6e5 | ||
|
|
85a6fe3248 | ||
|
|
038c1f2369 | ||
|
|
f00ecfa95b | ||
|
|
c7f9972f81 |
Binary file not shown.
BIN
Paste-3.5.0.tar.gz
Normal file
BIN
Paste-3.5.0.tar.gz
Normal file
Binary file not shown.
@ -1,17 +1,15 @@
|
||||
Name: python-paste
|
||||
Version: 2.0.3
|
||||
Release: 10
|
||||
Version: 3.5.0
|
||||
Release: 2
|
||||
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)
|
||||
URL: https://bitbucket.org/ianb/paste/
|
||||
URL: https://pythonpaste.readthedocs.io/en/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
|
||||
|
||||
Patch0: python37.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-pyOpenSSL python2-tempita python2-devel python2-setuptools
|
||||
BuildRequires: python2-six python2-nose python3-devel python3-nose
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
|
||||
|
||||
%description
|
||||
@ -19,19 +17,6 @@ Paste provides several pieces of "middleware" (or filters) that can be nested
|
||||
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
|
||||
interface, and should be compatible with other middleware based on those interfaces.
|
||||
|
||||
%package -n python2-paste
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
|
||||
%{?python_provide:%python_provide python2-paste}
|
||||
|
||||
Requires: python2-pyOpenSSL python2-tempita
|
||||
Requires: python2-setuptools python2-six
|
||||
|
||||
%description -n python2-paste
|
||||
Paste provides several pieces of "middleware" (or filters) that can be nested
|
||||
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
|
||||
interface, and should be compatible with other middleware based on those interfaces.
|
||||
|
||||
%package -n python3-paste
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
|
||||
@ -57,38 +42,15 @@ pushd docs
|
||||
rm StyleGuide.txt
|
||||
popd
|
||||
|
||||
rm -rf %{py3dir}
|
||||
cp -a . %{py3dir}
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py build
|
||||
popd
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
pushd %{py3dir}
|
||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||
popd
|
||||
|
||||
%check
|
||||
export PYTHONPATH=$(pwd)
|
||||
nosetests-%{python2_version} -e '.*test_paste_website'
|
||||
|
||||
pushd %{py3dir}
|
||||
export PYTHONPATH=$(pwd)
|
||||
nosetests-%{python3_version} -e '.*test_paste_website'
|
||||
popd
|
||||
|
||||
%files -n python2-paste
|
||||
%defattr(-,root,root)
|
||||
%license docs/license.txt
|
||||
%{python2_sitelib}/paste
|
||||
%{python2_sitelib}/Paste-%{version}-py%{python2_version}.egg-info
|
||||
%{python2_sitelib}/Paste-%{version}-py%{python2_version}-nspkg.pth
|
||||
#export PYTHONPATH=$(pwd)
|
||||
#nosetests-%{python3_version} -e '.*test_paste_website'
|
||||
|
||||
%files -n python3-paste
|
||||
%defattr(-,root,root)
|
||||
@ -102,6 +64,24 @@ popd
|
||||
%doc docs/*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 08 2022 zhanzhimin <zhanzhimin@huawei.com> - 3.5.0-2
|
||||
- delete python-nose dependency
|
||||
|
||||
* 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
|
||||
- modify url
|
||||
|
||||
* Fri Oct 30 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.3-12
|
||||
- remove python2-paste subpackage
|
||||
|
||||
* Wed Jun 24 2020 wangye <wangye70@huawei.com> - 2.0.3-11
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:no make check
|
||||
|
||||
* Wed Oct 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.3-10
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
4
python-paste.yaml
Normal file
4
python-paste.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: pypi
|
||||
src_repo: paste
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
@ -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