commit:     d60806b5ee222d33271c4ea04d994187cf961199
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 11:43:18 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 11:43:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d60806b5

dev-python/iniparse: Remove old

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

 dev-python/iniparse/Manifest                       |  1 -
 .../files/iniparse-0.5_p20221102-py3.11.7.patch    | 27 ----------
 dev-python/iniparse/iniparse-0.5_p20221102.ebuild  | 61 ----------------------
 3 files changed, 89 deletions(-)

diff --git a/dev-python/iniparse/Manifest b/dev-python/iniparse/Manifest
index d6023df7c69d..b31505e51f81 100644
--- a/dev-python/iniparse/Manifest
+++ b/dev-python/iniparse/Manifest
@@ -1,2 +1 @@
 DIST python-iniparse-3267e724a2d5ce0dbd388f62d549d870b76cb0f4.tar.gz 34557 
BLAKE2B 
11369d6dff3e51c075b53953d8c86c83d15b9a4e7dab97dd92f07fb7ee702d0b681c14921c710c517bff3e64a61e94b22e413624f034ef1b96635a51d646c42a
 SHA512 
6f9f01b2d5ae4f80c6c59cc161224bdf87bf049a8f69b360e11653cf066ec9fbbdda937d0830115dc0399e75f4b0ef85faa2b1c484c0e87b6c1fcb460b9f64b5
-DIST python-iniparse-ab623b0e287a9303bdb0c5213c485110e68dac12.tar.gz 33680 
BLAKE2B 
66ff134b1df28ae9c3e86110e7f8ad8dc0e24ed48f09db0c7554464e8d919aca49a7e43156c4acb8602af134c2f9d6c046d05cf1764f29285d8586329708a65a
 SHA512 
57c43f7e0d28eab0e41bb819f7c06821d77f9bc5f3d0986f85dd4852b2edd468bb7b2737733e2f00faeac2e1211998d2e99b54ec92959eaf6d7d10897b176eaf

diff --git a/dev-python/iniparse/files/iniparse-0.5_p20221102-py3.11.7.patch 
b/dev-python/iniparse/files/iniparse-0.5_p20221102-py3.11.7.patch
deleted file mode 100644
index e2c71c0fd582..000000000000
--- a/dev-python/iniparse/files/iniparse-0.5_p20221102-py3.11.7.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 033c0aa3e1a51cb70a97762252059e70cc2f671c Mon Sep 17 00:00:00 2001
-From: Daniel Garcia Moreno <[email protected]>
-Date: Wed, 20 Dec 2023 12:40:14 +0100
-Subject: [PATCH] Fix tests with python 3.11.7
-
----
- tests/test_compat.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/tests/test_compat.py b/tests/test_compat.py
-index 8d7c785..86d0524 100644
---- a/tests/test_compat.py
-+++ b/tests/test_compat.py
-@@ -1,3 +1,4 @@
-+import os
- from iniparse import compat as ConfigParser
- from io import StringIO
- try:
-@@ -263,6 +264,8 @@ class mystr(str):
- 
-     def test_read_returns_file_list(self):
-         file1 = test_support.findfile("cfgparser.1")
-+        if not os.path.exists(file1):
-+            file1 = test_support.findfile("configdata/cfgparser.1")
-         # check when we pass a mix of readable and non-readable files:
-         cf = self.newconfig()
-         parsed_files = cf.read([file1, "nonexistant-file"])

diff --git a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild 
b/dev-python/iniparse/iniparse-0.5_p20221102.ebuild
deleted file mode 100644
index 09339f421733..000000000000
--- a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1
-
-EGIT_COMMIT=ab623b0e287a9303bdb0c5213c485110e68dac12
-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}]
-       )
-"
-
-src_prepare() {
-       local PATCHES=(
-               # https://github.com/candlepin/python-iniparse/pull/29
-               "${FILESDIR}/${P}-py3.11.7.patch"
-       )
-
-       distutils-r1_src_prepare
-
-       # 
https://src.fedoraproject.org/rpms/python-iniparse/blob/rawhide/f/python-iniparse.spec
-       sed -e "s/unittest.makeSuite(\(.*\), 
'test')/unittest.defaultTestLoader.loadTestsFromTestCase(\1)/g" \
-               -i tests/test*.py || die
-}
-
-python_test() {
-       "${EPYTHON}" runtests.py -v || die
-}
-
-python_install_all() {
-       rm -rf "${ED}/usr/share/doc" || die
-       distutils-r1_python_install_all
-}

Reply via email to