diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest index 7bd188e49fc71..03b87c1d33512 100644 --- a/dev-python/python-multipart/Manifest +++ b/dev-python/python-multipart/Manifest @@ -1 +1,2 @@ DIST python-multipart-0.0.22.gh.tar.gz 93021 BLAKE2B 9207850473f4dcb8e49ed53a934086d46c62873140fac715f41f7a2b03ae4b958a6c942299ee535d3d8b345ca37cc2658afa3bc1e7aa525102fdd9c6ce437240 SHA512 6fcee170492ec68b29d79eadabab0c8a1e35f0ddd7ab9413956677149c81cc528ef96b52f4af543147b826a55e76807d8f03ee2971cce9d8f05cea8c87f27900 +DIST python-multipart-0.0.24.gh.tar.gz 104640 BLAKE2B 6959d38e53ee4ffa3cd26271e2f73fa12a31b9b5e3110a8c0b1076df1379096e18c967bdd5cdc1a392c8e866210c8b5232c6fa81d087fb3345c9a77090e70f92 SHA512 e33243abbd7955c6878be715ed17333966ffb3b1623ce123df3b1040eb3cc588c8ee50c275da052716065a6417ca5241da7b0c1ff1fc5b4cb7627829c5c532b3 diff --git a/dev-python/python-multipart/python-multipart-0.0.24.ebuild b/dev-python/python-multipart/python-multipart-0.0.24.ebuild new file mode 100644 index 0000000000000..c4eb7596995ed --- /dev/null +++ b/dev-python/python-multipart/python-multipart-0.0.24.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +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 +}