Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
8ccbd5d7a4
!23 python3 socke use SocketIO
From: @teng-lei0416 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2024-05-22 01:56:40 +00:00
滕磊
a5856c37db python3 socke use SocketIO 2024-05-21 14:06:23 +08:00
openeuler-ci-bot
11f8d7ca39
!17 update to 3.7.1
From: @zppzhangpan 
Reviewed-by: @robertxw 
Signed-off-by: @robertxw
2024-02-01 02:39:06 +00:00
zhangpan
3fea494f66 update to 3.7.1 2024-01-15 07:20:00 +00:00
openeuler-ci-bot
b51666deca
!16 update to 3.5.2
From: @jackssir 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2022-11-21 03:04:47 +00:00
lvfei
34f5cada99 update to 3.5.2 2022-11-20 21:04:42 -05:00
openeuler-ci-bot
472975a812
!14 [合规提升]spec文件的License声明有歧义
From: @YixiongChen 
Reviewed-by: @MrRlu 
Signed-off-by: @MrRlu
2022-08-08 11:18:53 +00:00
chenyx2012
5c21e3b5f5
update python-paste.spec. 2022-07-28 03:36:26 +00:00
chenyx2012
988d7d25ed
License compliance rectification 2022-07-28 02:36:09 +00:00
openeuler-ci-bot
30ad380e07
!13 remove BuildRequires python-nose
From: @wcc_140409 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2022-05-06 07:52:17 +00:00
19909236985
d408081b13 remove BuildRequires python-nose 2022-05-06 15:01:36 +08:00
4 changed files with 46 additions and 5 deletions

Binary file not shown.

BIN
Paste-3.7.1.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,25 @@
From commit ID:449855bda4c78f3e594f54736fc781fab87c1910 Mon Sep 17 00:00:00 2001
From:commit ref <https://github.com/pasteorg/paste/pull/68> commiter:huiwen
Date: Wed, 8 May 2024 19:48:50 +0800
Subject: [PATCH] fix of broken Python 2 code
---
paste/httpserver.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/paste/httpserver.py b/paste/httpserver.py
index 8023bfd..b040ad4 100755
--- a/paste/httpserver.py
+++ b/paste/httpserver.py
@@ -353,7 +353,7 @@ else:
def __init__(self, conn):
self.__conn = conn
def makefile(self, mode, bufsize):
- return socket._fileobject(self.__conn, mode, bufsize)
+ return socket.SocketIO(self.__conn, mode)
def __getattr__(self, attrib):
return getattr(self.__conn, attrib)
--
2.43.0

View File

@ -1,16 +1,17 @@
Name: python-paste Name: python-paste
Version: 3.5.0 Version: 3.7.1
Release: 1 Release: 2
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-2.1 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
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-nose BuildRequires: python3-devel
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
Patch0001: backport-python3-socke-use-SocketIO.patch
%description %description
Paste provides several pieces of "middleware" (or filters) that can be nested Paste provides several pieces of "middleware" (or filters) that can be nested
@ -64,6 +65,21 @@ popd
%doc docs/* %doc docs/*
%changelog %changelog
* Tue May 7 2024 tenglei <tenglei@kylinos.cn> - 3.7.1-2
- python3 socke use SocketIO
* Mon Jan 15 2024 zhangpan <zhangpan103@h-partners.com> - 3.7.1-1
- update to 3.7.1
* Mon Nov 21 2022 lvfei <lvfei@kylinos.cn> - 3.5.2-1
- update to 3.5.2
* Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 3.5.0-3
- License compliance rectification
* Fri May 6 2022 wuchaochao <cyanrose@yeah.net> - 3.5.0-2
- remove BuildRequires python-nose
* Wed Jan 27 2021 zhanzhimin <zhanzhimin@huawei.com> - 3.5.0-1 * Wed Jan 27 2021 zhanzhimin <zhanzhimin@huawei.com> - 3.5.0-1
- update to 3.5.0 - update to 3.5.0