python-aiohttp 3.8.1-1 (znver1;x86_64;aarch64) 2022-15127
0

Status rejected
Submitter cris [@T] beebames.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/230269
Packages
python-aiohttp-3.8.1-1.znver1.source
python-aiohttp-3.8.1-1.znver1.binary
python-aiohttp-debuginfo-3.8.1-1.znver1.debuginfo
python-aiohttp-debugsource-3.8.1-1.znver1.binary
python-aiohttp-3.8.1-1.x86_64.source
python-aiohttp-3.8.1-1.x86_64.binary
python-aiohttp-debuginfo-3.8.1-1.x86_64.debuginfo
python-aiohttp-debugsource-3.8.1-1.x86_64.binary
python-aiohttp-3.8.1-1.aarch64.binary
python-aiohttp-3.8.1-1.aarch64.source
python-aiohttp-debuginfo-3.8.1-1.aarch64.debuginfo
python-aiohttp-debugsource-3.8.1-1.aarch64.binary
Build Date 2022-09-03 17:36:02 +0000 UTC
Last Updated 2022-09-13 00:40:48.690153178 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary df3648234fb7d7b1846a51a9983ecfcc5c3027fb

commit df3648234fb7d7b1846a51a9983ecfcc5c3027fb
Author:     Crispin Boylan <crispin.boylan@beintrepid.co.uk>
AuthorDate: Sat Sep 3 15:22:21 2022 +0100
Commit:     Crispin Boylan <crispin.boylan@beintrepid.co.uk>
CommitDate: Sat Sep 3 15:22:21 2022 +0100

    3.8.1
---
 .abf.yml                   |  2 +-
 chardet5.patch             | 13 -------------
 python-aiohttp.spec        | 18 ++++++++----------
 unbundle-http-parser.patch | 23 -----------------------
 4 files changed, 9 insertions(+), 47 deletions(-)
 delete mode 100644 chardet5.patch
 delete mode 100644 unbundle-http-parser.patch

diff --git a/.abf.yml b/.abf.yml
index 58ce998..90aeac9 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  aiohttp-3.7.4.tar.gz: bbd5ccb719ca8af7ecdade5505a63b2d2a317c44
+  aiohttp-3.8.1.tar.gz: 7151fd1cd9258b5a0ae60127af2d33e4c2604c91
diff --git a/chardet5.patch b/chardet5.patch
deleted file mode 100644
index cf4decf..0000000
--- a/chardet5.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/setup.py b/setup.py
-index a79e473..3208bcd 100644
---- a/setup.py
-+++ b/setup.py
-@@ -65,7 +65,7 @@ except IndexError:
- 
- install_requires = [
-     "attrs>=17.3.0",
--    "chardet>=2.0,<4.0",
-+    "chardet>=2.0,<5.0",
-     "multidict>=4.5,<7.0",
-     "async_timeout>=3.0,<4.0",
-     "yarl>=1.0,<2.0",
diff --git a/python-aiohttp.spec b/python-aiohttp.spec
index acfb88b..a2d7db9 100644
--- a/python-aiohttp.spec
+++ b/python-aiohttp.spec
@@ -1,18 +1,12 @@
 %global srcname aiohttp
-%global debug_package %{nil}
 
 Name:		python-%{srcname}
-Version:	3.7.4
+Version:	3.8.1
 Release:	1
 Summary:	Python HTTP client/server for asyncio
 License:	ASL 2.0
 URL:		https://github.com/aio-libs/aiohttp
-Source0:	%{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
-# Unbundle http-parser
-Patch0:		unbundle-http-parser.patch
-Patch1:		chardet5.patch
-
-BuildRequires:	http-parser-devel
+Source0:	https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc/aiohttp-%{version}.tar.gz
 BuildRequires:	pkgconfig(python)
 BuildRequires:	python-setuptools
 BuildRequires:	python-cython
@@ -24,15 +18,19 @@ with middlewares and pluggable routing.
 
 %prep
 %autosetup -p 1 -n %{srcname}-%{version}
-
+# Remove files generated by Cython to regenerate them
+	
+	
+ 
 %build
+cython -3 aiohttp/*.pyx -I aiohttp
 %py_build
 
 %install
 %py_install
 
 %files
-%doc CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst
+%doc CHANGES.rst docs/contributing.rst CONTRIBUTORS.txt README.rst
 %license LICENSE.txt
 %{python_sitearch}/%{srcname}-*.egg-info/
 %{python_sitearch}/%{srcname}/
diff --git a/unbundle-http-parser.patch b/unbundle-http-parser.patch
deleted file mode 100644
index d2b5f87..0000000
--- a/unbundle-http-parser.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Nur aiohttp-3.7.1/aiohttp/_cparser.pxd aiohttp-3.7.1-new/aiohttp/_cparser.pxd
---- aiohttp-3.7.1/aiohttp/_cparser.pxd	2020-10-25 08:26:45.000000000 +0100
-+++ aiohttp-3.7.1-new/aiohttp/_cparser.pxd	2020-10-26 09:07:05.024487885 +0100
-@@ -1,7 +1,7 @@
- from libc.stdint cimport uint16_t, uint32_t, uint64_t
- 
- 
--cdef extern from "../vendor/http-parser/http_parser.h":
-+cdef extern from "http_parser.h":
-     ctypedef int (*http_data_cb) (http_parser*,
-                                   const char *at,
-                                   size_t length) except -1
-diff -Nur aiohttp-3.7.1/setup.py aiohttp-3.7.1-new/setup.py
---- aiohttp-3.7.1/setup.py	2020-10-25 08:26:45.000000000 +0100
-+++ aiohttp-3.7.1-new/setup.py	2020-10-26 09:07:05.024487885 +0100
-@@ -27,7 +27,6 @@
-         "aiohttp._http_parser",
-         [
-             "aiohttp/_http_parser.c",
--            "vendor/http-parser/http_parser.c",
-             "aiohttp/_find_header.c",
-         ],
-         define_macros=[("HTTP_PARSER_STRICT", 0)],
Not Available

benbullard79 [@T] cox.netNo Comment.803d 04hrs