public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-multipart/files/, dev-python/python-multipart/
@ 2023-04-05  8:10 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-04-05  8:10 UTC (permalink / raw
  To: gentoo-commits

commit:     fac6d97cd39e594440427d8967dad4a4c5314951
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  5 08:07:18 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 08:07:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac6d97c

dev-python/python-multipart: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-multipart/Manifest               |  1 -
 .../files/python-multipart-0.0.5-pyyaml.patch      | 29 -----------------
 .../python-multipart/python-multipart-0.0.5.ebuild | 36 ----------------------
 3 files changed, 66 deletions(-)

diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest
index 7ab83c256204..ac378bcb4544 100644
--- a/dev-python/python-multipart/Manifest
+++ b/dev-python/python-multipart/Manifest
@@ -1,2 +1 @@
-DIST python-multipart-0.0.5.gh.tar.gz 48018 BLAKE2B cfff5c1c57ada3ba3d50da71273435781d62d3907ca1b7e6180cd319f2680258b3e1e278dff760106e7ca9c116f4c5c7adf957601d6d8465bf300e6211b83773 SHA512 c2fabeb77a25119c4bbb71c3faa6de58e27ac2f0c768298eac62b519fc51e5d95fdea05c4f3846ed47205f297802982a001577a73b2feec2d9f585c784d6c3d7
 DIST python-multipart-0.0.6.gh.tar.gz 48648 BLAKE2B 4995136e6fcda8df952a6ee868238a507f3d5ea8f8454d4c4933e89b4897440f9186bd820af427f81b3240ca3610aa8300a944e4a0436291cc414f5e97daca30 SHA512 fb996725266996aefb5284b4815ecd8d0005344359f29780f0c2817125f625f3910be14d7d937e975b3ca9fb27a2a483401ab342a0c861df0e1112d447b1f083

diff --git a/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch b/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch
deleted file mode 100644
index 5d189dd5f225..000000000000
--- a/dev-python/python-multipart/files/python-multipart-0.0.5-pyyaml.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 4831a3f9b5007145f2cb9e3020e83581523d4079 Mon Sep 17 00:00:00 2001
-From: Carl George <carl@george.computer>
-Date: Tue, 19 Apr 2022 20:20:49 -0500
-Subject: [PATCH] Use yaml.safe_load instead of yaml.load (#46)
-
-yaml.load in PyYAML 6 requires a Loader argument.  PyYAML recommends
-using SafeLoader, which is implied if you call yaml.safe_load instead.
-
-https://github.com/yaml/pyyaml/pull/561
-https://msg.pyyaml.org/load
-
-Fixes #41
----
- multipart/tests/test_multipart.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/multipart/tests/test_multipart.py b/multipart/tests/test_multipart.py
-index 0e38c9c..ab33e7c 100644
---- a/multipart/tests/test_multipart.py
-+++ b/multipart/tests/test_multipart.py
-@@ -716,7 +716,7 @@ def test_not_aligned(self):
-             test_data = f.read()
- 
-         with open(yaml_file, 'rb') as f:
--            yaml_data = yaml.load(f)
-+            yaml_data = yaml.safe_load(f)
- 
-         http_tests.append({
-             'name': fname,

diff --git a/dev-python/python-multipart/python-multipart-0.0.5.ebuild b/dev-python/python-multipart/python-multipart-0.0.5.ebuild
deleted file mode 100644
index 935c1b98994b..000000000000
--- a/dev-python/python-multipart/python-multipart-0.0.5.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="A streaming multipart parser for Python"
-HOMEPAGE="
-	https://github.com/andrew-d/python-multipart/
-	https://pypi.org/project/python-multipart/
-"
-SRC_URI="
-	https://github.com/andrew-d/python-multipart/archive/${PV}.tar.gz
-		-> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86"
-
-BDEPEND="
-	test? (
-		dev-python/mock[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-	"${FILESDIR}"/${P}-pyyaml.patch
-)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-multipart/files/, dev-python/python-multipart/
@ 2024-11-09  9:55 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2024-11-09  9:55 UTC (permalink / raw
  To: gentoo-commits

commit:     807c7877b3a6bb4073832448c99d90e4570b85f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 08:35:01 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 09:55:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=807c7877

dev-python/python-multipart: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-multipart/Manifest               |  2 -
 .../files/python-multipart-0.0.12-rename.patch     | 54 ----------------------
 .../python-multipart-0.0.12-r100.ebuild            | 47 -------------------
 .../python-multipart-0.0.14.ebuild                 | 44 ------------------
 .../python-multipart-0.0.16.ebuild                 | 44 ------------------
 5 files changed, 191 deletions(-)

diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest
index b5c31e25c351..2bac2af8b622 100644
--- a/dev-python/python-multipart/Manifest
+++ b/dev-python/python-multipart/Manifest
@@ -1,4 +1,2 @@
 DIST python-multipart-0.0.12.gh.tar.gz 92904 BLAKE2B 25076627fdcb3a4bfc9eda74218f9d6d30ea18517da00c312f50c9d3ae156894b29e83bd38d4e11d7d06732999ae9640243e660d2a037253b9f511772a6c737b SHA512 271ed29f3025be5c058a56ec56ce373348dc27b4c8130c17609bd48d73fc975b2ac8387d4989be578e1be01a618aad87c1d3ec3a37dbe73dc45813ec961842d0
-DIST python-multipart-0.0.14.gh.tar.gz 94136 BLAKE2B 7e6c99fb6c3a61d655447fdda8df4aeaad7157ba42959627d69cf079c5146a6a4c35bf972ee728343816fa2ceef3da81cb4140dda42b86b19c0cac7affcea7e0 SHA512 c53d3e8faec421dd05cd9c3695e80555ee9fdd65cf616fb65b4a948fa2ca86119e076d7b6b7aa1add386306774a5de1a03811b36eaf1cc36d6ab5310573ed0f3
-DIST python-multipart-0.0.16.gh.tar.gz 94363 BLAKE2B c1f6494cbce56d7c0d6b9992e19b9661c65a89433d30b1bfa66b6a3af0a61175a3b109166ae08867a7321be7f12c351f7b61ddee374c31c36085ba19411e2fe1 SHA512 c2a58f96425217d08e71307e9d1a7649df70ee8a1d8587d1fc2d01e39863837cd56fe6acdcdac3c04e6790a744ac2074b82278073652a47b9178e584a040cb97
 DIST python-multipart-0.0.17.gh.tar.gz 94416 BLAKE2B daf9f5e2a94d804216fbf18778295cec3270139d5912ace80ab84d57d32115d7a53563d429f81fd2f0f55b9fe30b58f62ef1d095414f7bfe6bd3951dbb9d9e89 SHA512 52b5d5b154a18a2ae34ce7931076278b5a5edb2cbca5350c6898fd675fb57755cefc97642b2edae7e7d9903d877430da85f73347b9fcaaf1c20fa09dc12799fd

diff --git a/dev-python/python-multipart/files/python-multipart-0.0.12-rename.patch b/dev-python/python-multipart/files/python-multipart-0.0.12-rename.patch
deleted file mode 100644
index cee51b2df1c8..000000000000
--- a/dev-python/python-multipart/files/python-multipart-0.0.12-rename.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From d6e30eb0269fa04d4a16133bd94405f10240aeb0 Mon Sep 17 00:00:00 2001
-From: Henry Schreiner <henryschreineriii@gmail.com>
-Date: Fri, 11 Oct 2024 17:11:21 -0400
-Subject: [PATCH 1/2] refactor: rename to python_multipart
-
-Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
-
-diff --git a/pyproject.toml b/pyproject.toml
-index fb03f83..1a81077 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -62,13 +65,10 @@ Changelog = "https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md
- Source = "https://github.com/Kludex/python-multipart"
- 
- [tool.hatch.version]
--path = "multipart/__init__.py"
--
--[tool.hatch.build.targets.wheel]
--packages = ["multipart"]
-+path = "python_multipart/__init__.py"
- 
- [tool.hatch.build.targets.sdist]
--include = ["/multipart", "/tests", "CHANGELOG.md", "LICENSE.txt"]
-+include = ["/python_multipart", "/tests", "CHANGELOG.md", "LICENSE.txt", "_python_multipart.pth", "_python_multipart_loader.py"]
- 
- [tool.mypy]
- strict = true
-diff --git a/tests/test_multipart.py b/tests/test_multipart.py
-index b824f19..f5f8e7e 100644
---- a/tests/test_multipart.py
-+++ b/tests/test_multipart.py
-@@ -11,9 +11,9 @@
- 
- import yaml
- 
--from multipart.decoders import Base64Decoder, QuotedPrintableDecoder
--from multipart.exceptions import DecodeError, FileError, FormParserError, MultipartParseError, QuerystringParseError
--from multipart.multipart import (
-+from python_multipart.decoders import Base64Decoder, QuotedPrintableDecoder
-+from python_multipart.exceptions import DecodeError, FileError, FormParserError, MultipartParseError, QuerystringParseError
-+from python_multipart.multipart import (
-     BaseParser,
-     Field,
-     File,
-@@ -31,7 +31,7 @@
- if TYPE_CHECKING:
-     from typing import Any, Iterator, TypedDict
- 
--    from multipart.multipart import FieldProtocol, FileConfig, FileProtocol
-+    from python_multipart.multipart import FieldProtocol, FileConfig, FileProtocol
- 
-     class TestParams(TypedDict):
-         name: str
-

diff --git a/dev-python/python-multipart/python-multipart-0.0.12-r100.ebuild b/dev-python/python-multipart/python-multipart-0.0.12-r100.ebuild
deleted file mode 100644
index a0eff9b6a122..000000000000
--- a/dev-python/python-multipart/python-multipart-0.0.12-r100.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
-
-inherit distutils-r1
-
-DESCRIPTION="A streaming multipart parser for Python"
-HOMEPAGE="
-	https://github.com/Kludex/python-multipart/
-	https://pypi.org/project/python-multipart/
-"
-SRC_URI="
-	https://github.com/Kludex/python-multipart/archive/${PV}.tar.gz
-		-> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
-	test? (
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-	local PATCHES=(
-		# https://github.com/Kludex/python-multipart/pull/166
-		"${FILESDIR}/${P}-rename.patch"
-	)
-
-	distutils-r1_src_prepare
-
-	mv multipart python_multipart || die
-}
-
-python_test() {
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest
-}

diff --git a/dev-python/python-multipart/python-multipart-0.0.14.ebuild b/dev-python/python-multipart/python-multipart-0.0.14.ebuild
deleted file mode 100644
index 200957eb33c4..000000000000
--- a/dev-python/python-multipart/python-multipart-0.0.14.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
-
-inherit distutils-r1
-
-DESCRIPTION="A streaming multipart parser for Python"
-HOMEPAGE="
-	https://github.com/Kludex/python-multipart/
-	https://pypi.org/project/python-multipart/
-"
-SRC_URI="
-	https://github.com/Kludex/python-multipart/archive/${PV}.tar.gz
-		-> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
-	test? (
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-	distutils-r1_src_prepare
-
-	# do not install the backwards compatibility package
-	# we're patching revdeps instead
-	rm -r multipart || die
-}
-
-python_test() {
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest
-}

diff --git a/dev-python/python-multipart/python-multipart-0.0.16.ebuild b/dev-python/python-multipart/python-multipart-0.0.16.ebuild
deleted file mode 100644
index 200957eb33c4..000000000000
--- a/dev-python/python-multipart/python-multipart-0.0.16.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
-
-inherit distutils-r1
-
-DESCRIPTION="A streaming multipart parser for Python"
-HOMEPAGE="
-	https://github.com/Kludex/python-multipart/
-	https://pypi.org/project/python-multipart/
-"
-SRC_URI="
-	https://github.com/Kludex/python-multipart/archive/${PV}.tar.gz
-		-> ${P}.gh.tar.gz
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-BDEPEND="
-	test? (
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-	distutils-r1_src_prepare
-
-	# do not install the backwards compatibility package
-	# we're patching revdeps instead
-	rm -r multipart || die
-}
-
-python_test() {
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-09  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09  9:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-multipart/files/, dev-python/python-multipart/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2023-04-05  8:10 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox