From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A16E15817D for ; Sat, 15 Jun 2024 19:37:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72AA0E2BE2; Sat, 15 Jun 2024 19:37:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59AEDE2BE2 for ; Sat, 15 Jun 2024 19:37:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76C6F33BF03 for ; Sat, 15 Jun 2024 19:37:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E06291D10 for ; Sat, 15 Jun 2024 19:37:47 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1718479778.802df33d92add9baa0c5d639f508dcb49323c8f6.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/multipart/, dev-python/multipart/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/multipart/Manifest dev-python/multipart/files/multipart-urlencoded-test.patch dev-python/multipart/metadata.xml dev-python/multipart/multipart-0.2.4.ebuild X-VCS-Directories: dev-python/multipart/ dev-python/multipart/files/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 802df33d92add9baa0c5d639f508dcb49323c8f6 X-VCS-Branch: dev Date: Sat, 15 Jun 2024 19:37:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e871014-9ba3-44d8-b8af-baa1d037f011 X-Archives-Hash: b58a9cfe90aeac583853304cb1c3fe65 commit: 802df33d92add9baa0c5d639f508dcb49323c8f6 Author: Julien Roy jroy ca> AuthorDate: Sat Jun 15 19:29:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sat Jun 15 19:29:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=802df33d dev-python/multipart: treeclean Bug: https://bugs.gentoo.org/931388 Signed-off-by: Julien Roy jroy.ca> dev-python/multipart/Manifest | 1 - .../files/multipart-urlencoded-test.patch | 35 ---------------------- dev-python/multipart/metadata.xml | 20 ------------- dev-python/multipart/multipart-0.2.4.ebuild | 28 ----------------- 4 files changed, 84 deletions(-) diff --git a/dev-python/multipart/Manifest b/dev-python/multipart/Manifest deleted file mode 100644 index 5ed6fcea6..000000000 --- a/dev-python/multipart/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST multipart-0.2.4.tar.gz 22300 BLAKE2B 02e14136559b4af50938b4ab025f84055e8aa51d97e0f3415a6b6b9986ba72dd7226080592a8d603a94e2f4598ef7d0a4772e9bbef01121e10fce5cf483cd5e7 SHA512 8df8bad1f68d41e841e407f276745e7cb7352e9fb8c5d43569a7e5c4d8c0ae429e440933017244d01182271a12a6f43a4d15e353b1082df9563cbf9d6eb2c7f6 diff --git a/dev-python/multipart/files/multipart-urlencoded-test.patch b/dev-python/multipart/files/multipart-urlencoded-test.patch deleted file mode 100644 index e47f692c7..000000000 --- a/dev-python/multipart/files/multipart-urlencoded-test.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 4d4ac6b79c453918ebf40c690e8d57d982ee840b Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Fri, 9 Apr 2021 16:54:49 +0100 -Subject: [PATCH] Don't test semicolon separators in urlencoded data - -Python no longer accepts ";" as a separator for `urllib.parse.parse_qs` -by default (https://bugs.python.org/issue42967), causing the multipart -test suite to fail with recent Python versions (3.6.13, 3.7.10, 3.8.8, -3.9.2, 3.10.0a6). - -While we could detect the availability of the `separator` argument and -pass it, since `application/x-www-form-urlencoded` data in `POST` and -`PUT` requests is probably not an issue for web cache poisoning, the -current HTML spec seems clear that only "&" should be considered, so -follow along with Python's API change. ---- - test/test_multipart.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/test/test_multipart.py b/test/test_multipart.py -index 38c69d1..6fe864f 100644 ---- a/test/test_multipart.py -+++ b/test/test_multipart.py -@@ -233,10 +233,9 @@ def test_empty(self): - def test_urlencoded(self): - for ctype in ('application/x-www-form-urlencoded', 'application/x-url-encoded'): - self.env['CONTENT_TYPE'] = ctype -- forms, files = self.parse('a=b&c=d;e=f') -+ forms, files = self.parse('a=b&c=d') - self.assertEqual(forms['a'], 'b') - self.assertEqual(forms['c'], 'd') -- self.assertEqual(forms['e'], 'f') - - def test_urlencoded_latin1(self): - for ctype in ('application/x-www-form-urlencoded', 'application/x-url-encoded'): diff --git a/dev-python/multipart/metadata.xml b/dev-python/multipart/metadata.xml deleted file mode 100644 index f59dd1ead..000000000 --- a/dev-python/multipart/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Julien Roy - julien@jroy.ca - - - This module provides a parser for the multipart/form-data format. It can read from a file, a socket or a WSGI environment. The parser can be used to replace cgi.FieldStorage to work around its limitations. - - - - Marcel Hellkamp - marc@gsites.de - - https://github.com/defnull/multipart/issues - defnull/multipart - multipart - - diff --git a/dev-python/multipart/multipart-0.2.4.ebuild b/dev-python/multipart/multipart-0.2.4.ebuild deleted file mode 100644 index 0d128827f..000000000 --- a/dev-python/multipart/multipart-0.2.4.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Multipart parser for Python 3" -HOMEPAGE="https://github.com/defnull/multipart" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -distutils_enable_tests unittest - -PATCHES=( - # Merged in master but no release since, so backporting it - "${FILESDIR}/multipart-urlencoded-test.patch" -) - -src_test() { - cd "${S}/test" || die - distutils-r1_src_test -} From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5B4F15817D for ; Sat, 15 Jun 2024 19:41:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB844E2B9C; Sat, 15 Jun 2024 19:41:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A25D2E2B9C for ; Sat, 15 Jun 2024 19:41:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0D12340BEA for ; Sat, 15 Jun 2024 19:41:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4330F1D10 for ; Sat, 15 Jun 2024 19:41:31 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1718479778.802df33d92add9baa0c5d639f508dcb49323c8f6.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/multipart/, dev-python/multipart/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/multipart/Manifest dev-python/multipart/files/multipart-urlencoded-test.patch dev-python/multipart/metadata.xml dev-python/multipart/multipart-0.2.4.ebuild X-VCS-Directories: dev-python/multipart/ dev-python/multipart/files/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 802df33d92add9baa0c5d639f508dcb49323c8f6 X-VCS-Branch: master Date: Sat, 15 Jun 2024 19:41:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31d970fe-337b-438b-97a3-cda4e674d45b X-Archives-Hash: 2aa026d34b10ef716e2294a47083b92b Message-ID: <20240615194131.F7nTZM5VmIHbbVUjO3QuQFofTdG-4TtsbdLVLAqOtoc@z> commit: 802df33d92add9baa0c5d639f508dcb49323c8f6 Author: Julien Roy jroy ca> AuthorDate: Sat Jun 15 19:29:38 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sat Jun 15 19:29:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=802df33d dev-python/multipart: treeclean Bug: https://bugs.gentoo.org/931388 Signed-off-by: Julien Roy jroy.ca> dev-python/multipart/Manifest | 1 - .../files/multipart-urlencoded-test.patch | 35 ---------------------- dev-python/multipart/metadata.xml | 20 ------------- dev-python/multipart/multipart-0.2.4.ebuild | 28 ----------------- 4 files changed, 84 deletions(-) diff --git a/dev-python/multipart/Manifest b/dev-python/multipart/Manifest deleted file mode 100644 index 5ed6fcea6..000000000 --- a/dev-python/multipart/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST multipart-0.2.4.tar.gz 22300 BLAKE2B 02e14136559b4af50938b4ab025f84055e8aa51d97e0f3415a6b6b9986ba72dd7226080592a8d603a94e2f4598ef7d0a4772e9bbef01121e10fce5cf483cd5e7 SHA512 8df8bad1f68d41e841e407f276745e7cb7352e9fb8c5d43569a7e5c4d8c0ae429e440933017244d01182271a12a6f43a4d15e353b1082df9563cbf9d6eb2c7f6 diff --git a/dev-python/multipart/files/multipart-urlencoded-test.patch b/dev-python/multipart/files/multipart-urlencoded-test.patch deleted file mode 100644 index e47f692c7..000000000 --- a/dev-python/multipart/files/multipart-urlencoded-test.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 4d4ac6b79c453918ebf40c690e8d57d982ee840b Mon Sep 17 00:00:00 2001 -From: Colin Watson -Date: Fri, 9 Apr 2021 16:54:49 +0100 -Subject: [PATCH] Don't test semicolon separators in urlencoded data - -Python no longer accepts ";" as a separator for `urllib.parse.parse_qs` -by default (https://bugs.python.org/issue42967), causing the multipart -test suite to fail with recent Python versions (3.6.13, 3.7.10, 3.8.8, -3.9.2, 3.10.0a6). - -While we could detect the availability of the `separator` argument and -pass it, since `application/x-www-form-urlencoded` data in `POST` and -`PUT` requests is probably not an issue for web cache poisoning, the -current HTML spec seems clear that only "&" should be considered, so -follow along with Python's API change. ---- - test/test_multipart.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/test/test_multipart.py b/test/test_multipart.py -index 38c69d1..6fe864f 100644 ---- a/test/test_multipart.py -+++ b/test/test_multipart.py -@@ -233,10 +233,9 @@ def test_empty(self): - def test_urlencoded(self): - for ctype in ('application/x-www-form-urlencoded', 'application/x-url-encoded'): - self.env['CONTENT_TYPE'] = ctype -- forms, files = self.parse('a=b&c=d;e=f') -+ forms, files = self.parse('a=b&c=d') - self.assertEqual(forms['a'], 'b') - self.assertEqual(forms['c'], 'd') -- self.assertEqual(forms['e'], 'f') - - def test_urlencoded_latin1(self): - for ctype in ('application/x-www-form-urlencoded', 'application/x-url-encoded'): diff --git a/dev-python/multipart/metadata.xml b/dev-python/multipart/metadata.xml deleted file mode 100644 index f59dd1ead..000000000 --- a/dev-python/multipart/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Julien Roy - julien@jroy.ca - - - This module provides a parser for the multipart/form-data format. It can read from a file, a socket or a WSGI environment. The parser can be used to replace cgi.FieldStorage to work around its limitations. - - - - Marcel Hellkamp - marc@gsites.de - - https://github.com/defnull/multipart/issues - defnull/multipart - multipart - - diff --git a/dev-python/multipart/multipart-0.2.4.ebuild b/dev-python/multipart/multipart-0.2.4.ebuild deleted file mode 100644 index 0d128827f..000000000 --- a/dev-python/multipart/multipart-0.2.4.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Multipart parser for Python 3" -HOMEPAGE="https://github.com/defnull/multipart" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -distutils_enable_tests unittest - -PATCHES=( - # Merged in master but no release since, so backporting it - "${FILESDIR}/multipart-urlencoded-test.patch" -) - -src_test() { - cd "${S}/test" || die - distutils-r1_src_test -}