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 <[email protected]>
-Date: Fri, 11 Oct 2024 17:11:21 -0400
-Subject: [PATCH 1/2] refactor: rename to python_multipart
-
-Signed-off-by: Henry Schreiner <[email protected]>
-
-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
-}

Reply via email to