diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-18 04:04:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-18 04:04:23 +0100 |
commit | 483d7c056fba15727fe24545f93627a1d1e1e2eb (patch) | |
tree | 80d144b60f8e1dc0d14c15cb3e5950da12c80074 /dev-python/httptools | |
parent | 8796aaedb3257bbe4d80b0033408b2210b2259d6 (diff) |
gentoo auto-resync : 18:10:2024 - 04:04:23
Diffstat (limited to 'dev-python/httptools')
-rw-r--r-- | dev-python/httptools/Manifest | 5 | ||||
-rw-r--r-- | dev-python/httptools/files/httptools-0.6.2-llhttp-9.patch | 55 | ||||
-rw-r--r-- | dev-python/httptools/httptools-0.6.4.ebuild (renamed from dev-python/httptools/httptools-0.6.2.ebuild) | 8 |
3 files changed, 3 insertions, 65 deletions
diff --git a/dev-python/httptools/Manifest b/dev-python/httptools/Manifest index 6a23c4069f7d..c0aba5eea6ba 100644 --- a/dev-python/httptools/Manifest +++ b/dev-python/httptools/Manifest @@ -1,4 +1,3 @@ -AUX httptools-0.6.2-llhttp-9.patch 1696 BLAKE2B 07985d2e9dea617f57099a28c6bfa41d91ce7333020fa21c5789c7fee298a07603bd3e5202d42b83b9651e0b89e93c7a7308fdf3f09a64cd6a89a38b47f92234 SHA512 7f8ac2799a7802b0ed6fd6970c1052af89113c487a52c536824944e8ba4d4ae0a33c6105319468479793d1c29a6b3104ffae612205b975388f493aa55876ff77 -DIST httptools-0.6.2.gh.tar.gz 15209 BLAKE2B f9dbb15a46db4ff6d9ce418fa9854fe465d22c5ca7b758389f2d132f0e031015faea37241f68e8f47e3957da39de9930481e50d0b08e0308ad7d3bb918fc86bb SHA512 a4f79cfd82b1ab3d1bb4dc50cb4c720cdc5b2f94cb72ef693e4385726a02687f1a45d649c8cc22388f1215c9497f329b67eed90f065859380dbd54dd3046c89b -EBUILD httptools-0.6.2.ebuild 1535 BLAKE2B b7d92e4a849a60fc717c92b1b763cc360893c012277a7571b36700c3415c90573e7ae8911d784acb22137789660dc92e957ac683d9c2ec032f01db01462efb31 SHA512 9f63109f428bd621806e47d71ae68798ab5cbb079df6b434d615bd9903a3153cc242a24505ee5704b1d4ab9e32841c8516200036f17ecfde0323cba2eca37c2d +DIST httptools-0.6.4.gh.tar.gz 15756 BLAKE2B 1f128fb566d677f783798236a12fc1729f819fb4e4cd52f43c4879ac6cff8a5c69fb147fef1dadda89e47b560652b15e7ab07e3e5b00f1e8a6ee23afe2efb879 SHA512 3a2518204b22ce00c1fa3f2387138f768511ff03a2a2ddf0b9c44a4d5de65c93bfd8d3ac9f4e9417805c7c9708a8cb39ec4889e08933fdc029607bcae5b54331 +EBUILD httptools-0.6.4.ebuild 1402 BLAKE2B 6d1e64f2edee4f315a4bb0d1f1750782c8feecd40689c2815125ac09f84010c2d5c80f1b9b830ab4dc4ee421554598e71fa41b2c850207ca048f59f1d9896da8 SHA512 3ec9760c135c0b2d53fb802f337d8cc8e6a17293024954916ec57bf33164f1485ee94e1feace14fa25dda4db25c89cf2331a234dc3d723048fd998677af67e48 MISC metadata.xml 351 BLAKE2B 85cf600c898bf9dce98d5cbe23e664426bc190fe466689c2bb0b487edd4ec2da13ed75c18bc346341fac12339bee4ffaae1440012046743e8c6dcebc1f7dbc52 SHA512 9d1d095ba908ef136f0e47ce40730ed9b38189bd75a2c0659045d438cb25195a5c99c3fc3b5e1b933e83532f9f9cac58148123976a01e70e75141b207a751a53 diff --git a/dev-python/httptools/files/httptools-0.6.2-llhttp-9.patch b/dev-python/httptools/files/httptools-0.6.2-llhttp-9.patch deleted file mode 100644 index 8f5dc017d246..000000000000 --- a/dev-python/httptools/files/httptools-0.6.2-llhttp-9.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff --git a/tests/test_parser.py b/tests/test_parser.py -index a169a9a..d3b8db7 100644 ---- a/tests/test_parser.py -+++ b/tests/test_parser.py -@@ -6,12 +6,10 @@ from unittest import mock - - RESPONSE1_HEAD = b'''HTTP/1.1 200 OK - Date: Mon, 23 May 2005 22:38:34 GMT --Server: Apache/1.3.3.7 -- (Unix) (Red-Hat/Linux) -+Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) - Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT - ETag: "3f80f-1b6-3e1cb03b" --Content-Type: text/html; -- charset=UTF-8 -+Content-Type: text/html; charset=UTF-8 - Content-Length: 130 - Accept-Ranges: bytes - Connection: close -@@ -33,7 +31,7 @@ CHUNKED_REQUEST1_1 = b'''POST /test.php?a=b+c HTTP/1.1\r - 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 +40,7 @@ CHUNKED_REQUEST1_3 = b'''POST /test.php?a=b+c HTTP/1.1\r - 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 +52,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 -@@ -89,7 +87,7 @@ class TestResponseParser(unittest.TestCase): - self.assertEqual(len(headers), 8) - self.assertEqual(headers.get(b'Connection'), b'close') - self.assertEqual(headers.get(b'Content-Type'), -- b'text/html; charset=UTF-8') -+ b'text/html; charset=UTF-8') - - self.assertFalse(m.on_body.called) - p.feed_data(bytearray(RESPONSE1_BODY)) diff --git a/dev-python/httptools/httptools-0.6.2.ebuild b/dev-python/httptools/httptools-0.6.4.ebuild index fea990adb5f0..e77f340c1122 100644 --- a/dev-python/httptools/httptools-0.6.2.ebuild +++ b/dev-python/httptools/httptools-0.6.4.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~ppc64 ~riscv ~sparc" # don't ask me why they use both DEPEND=" @@ -38,12 +38,6 @@ BDEPEND=" distutils_enable_tests pytest -PATCHES=( - # https://github.com/MagicStack/httptools/issues/111 - # https://github.com/MagicStack/httptools/pull/112 - "${FILESDIR}/${P}-llhttp-9.patch" -) - src_configure() { cat > setup.cfg <<-EOF || die [build_ext] |