Compare commits
11 Commits
3475f5c7cc
...
8ccbd5d7a4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ccbd5d7a4 | ||
|
|
a5856c37db | ||
|
|
11f8d7ca39 | ||
|
|
3fea494f66 | ||
|
|
b51666deca | ||
|
|
34f5cada99 | ||
|
|
472975a812 | ||
|
|
5c21e3b5f5 | ||
|
|
988d7d25ed | ||
|
|
30ad380e07 | ||
|
|
d408081b13 |
Binary file not shown.
BIN
Paste-3.7.1.tar.gz
Normal file
BIN
Paste-3.7.1.tar.gz
Normal file
Binary file not shown.
25
backport-python3-socke-use-SocketIO.patch
Normal file
25
backport-python3-socke-use-SocketIO.patch
Normal 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
|
||||
|
||||
@ -1,16 +1,17 @@
|
||||
Name: python-paste
|
||||
Version: 3.5.0
|
||||
Release: 1
|
||||
Version: 3.7.1
|
||||
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)
|
||||
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/
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel python3-nose
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
|
||||
Patch0001: backport-python3-socke-use-SocketIO.patch
|
||||
|
||||
%description
|
||||
Paste provides several pieces of "middleware" (or filters) that can be nested
|
||||
@ -64,6 +65,21 @@ popd
|
||||
%doc docs/*
|
||||
|
||||
%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
|
||||
- update to 3.5.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user