dev-python/iniparse: add 0.5.1_p20250425

Looks like we'd missed the last release but may as well do a snapshot
here to get the py3.14 fix only in master anyway.

Drop a redundant sed and patch, and also use d_e_t unittest too while
here.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-29 21:19:10 +01:00
parent d8b575db55
commit 5bc3228ea5
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 47 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST python-iniparse-3267e724a2d5ce0dbd388f62d549d870b76cb0f4.tar.gz 34557 BLAKE2B 11369d6dff3e51c075b53953d8c86c83d15b9a4e7dab97dd92f07fb7ee702d0b681c14921c710c517bff3e64a61e94b22e413624f034ef1b96635a51d646c42a SHA512 6f9f01b2d5ae4f80c6c59cc161224bdf87bf049a8f69b360e11653cf066ec9fbbdda937d0830115dc0399e75f4b0ef85faa2b1c484c0e87b6c1fcb460b9f64b5
DIST python-iniparse-ab623b0e287a9303bdb0c5213c485110e68dac12.tar.gz 33680 BLAKE2B 66ff134b1df28ae9c3e86110e7f8ad8dc0e24ed48f09db0c7554464e8d919aca49a7e43156c4acb8602af134c2f9d6c046d05cf1764f29285d8586329708a65a SHA512 57c43f7e0d28eab0e41bb819f7c06821d77f9bc5f3d0986f85dd4852b2edd468bb7b2737733e2f00faeac2e1211998d2e99b54ec92959eaf6d7d10897b176eaf

View File

@ -0,0 +1,46 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
EGIT_COMMIT=3267e724a2d5ce0dbd388f62d549d870b76cb0f4
MY_P=python-iniparse-${EGIT_COMMIT}
DESCRIPTION="Better INI parser for Python"
HOMEPAGE="
https://github.com/candlepin/python-iniparse/
https://pypi.org/project/iniparse/
"
SRC_URI="
https://github.com/candlepin/python-iniparse/archive/${EGIT_COMMIT}.tar.gz
-> ${MY_P}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="MIT PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/test[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
python_install_all() {
rm -rf "${ED}/usr/share/doc" || die
distutils-r1_python_install_all
}