[packages/python3-httptools] Up to 0.6.4

arekm arekm at pld-linux.org
Sun May 4 03:22:25 CEST 2025


commit 3a8645fbc6ee49d10a8b36a9c4da779cb02acf88
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun May 4 01:35:43 2025 +0200

    Up to 0.6.4

 httptools-tests-cr.patch | 30 ------------------------------
 python3-httptools.spec   |  9 +++------
 2 files changed, 3 insertions(+), 36 deletions(-)
---
diff --git a/python3-httptools.spec b/python3-httptools.spec
index 3836739..c96e4db 100644
--- a/python3-httptools.spec
+++ b/python3-httptools.spec
@@ -5,19 +5,17 @@
 Summary:	Python binding for the nodejs HTTP parser
 Summary(pl.UTF-8):	Wiązanie Pythona do parsera HTTP z nodejs
 Name:		python3-httptools
-Version:	0.6.1
-Release:	3
+Version:	0.6.4
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/httptools/
 Source0:	https://files.pythonhosted.org/packages/source/h/httptools/httptools-%{version}.tar.gz
-# Source0-md5:	cb8a0c39723c10bdcf8c13d364d60b7c
-Patch0:		httptools-tests-cr.patch
+# Source0-md5:	2935c69c18c12febdc918198e4cdd0d1
 URL:		https://pypi.org/project/httptools/
 BuildRequires:	http-parser-devel >= 2.9.4
 BuildRequires:	llhttp-devel >= 8.1.1
 BuildRequires:	python3-Cython >= 0.29.24
-BuildRequires:	python3-Cython < 0.30
 BuildRequires:	python3-modules >= 1:3.8
 BuildRequires:	python3-setuptools
 %if %{with tests}
@@ -38,7 +36,6 @@ httptools to wiązanie Pythona do parsera HTTP z nodejs.
 
 %prep
 %setup -q -n httptools-%{version}
-%patch -P 0 -p1
 
 %build
 %py3_build build_ext \
diff --git a/httptools-tests-cr.patch b/httptools-tests-cr.patch
deleted file mode 100644
index 4d5384b..0000000
--- a/httptools-tests-cr.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Missing CR causes "Invalid header field char" error with llhttp 9.2.0
---- httptools-0.6.1/tests/test_parser.py.orig	2023-10-16 19:31:12.000000000 +0200
-+++ httptools-0.6.1/tests/test_parser.py	2024-03-11 20:49:42.077120716 +0100
-@@ -33,7 +33,7 @@ CHUNKED_REQUEST1_1 = b'''POST /test.php?
- User-Agent: Fooo\r
- Host: bar\r
- Transfer-Encoding: chunked\r
--
-+\r
- 5\r\nhello\r\n6\r\n world\r\n'''
- 
- CHUNKED_REQUEST1_2 = b'''0\r\nVary: *\r\nUser-Agent: spam\r\n\r\n'''
-@@ -42,7 +42,7 @@ CHUNKED_REQUEST1_3 = b'''POST /test.php?
- User-Agent: Fooo\r
- Host: bar\r
- Transfer-Encoding: chunked\r
--
-+\r
- b\r\n+\xce\xcfM\xb5MI,I\x04\x00\r\n0\r\n\r\n'''
- 
- 
-@@ -54,7 +54,7 @@ Sec-WebSocket-Protocol: sample\r
- Upgrade: WebSocket\r
- Sec-WebSocket-Key1: 4 @1  46546xW%0l 1 5\r
- Origin: http://example.com\r
--
-+\r
- Hot diggity dogg'''
- 
- UPGRADE_RESPONSE1 = b'''HTTP/1.1 101 Switching Protocols
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-httptools.git/commitdiff/3a8645fbc6ee49d10a8b36a9c4da779cb02acf88



More information about the pld-cvs-commit mailing list