summaryrefslogtreecommitdiff
path: root/dev-python/iniparse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-16 00:09:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-16 00:09:44 +0100
commit0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (patch)
treed48a200142b883af377722ab54ec0c1d8c19912f /dev-python/iniparse
parent6a7029e0f7370d4d5dfe9e31cc2719a870482392 (diff)
gentoo auto-resync : 16:06:2024 - 00:09:44
Diffstat (limited to 'dev-python/iniparse')
-rw-r--r--dev-python/iniparse/Manifest2
-rw-r--r--dev-python/iniparse/iniparse-0.5_p20221102.ebuild18
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-python/iniparse/Manifest b/dev-python/iniparse/Manifest
index 7745b89cf9c6..0a5f487081fe 100644
--- a/dev-python/iniparse/Manifest
+++ b/dev-python/iniparse/Manifest
@@ -1,4 +1,4 @@
AUX iniparse-0.5_p20221102-py3.11.7.patch 930 BLAKE2B e214e94d64e3177143c38d97bd6fdfa94c8708fba9f8a1de28b4237e5e53fc67b5578137b23976888e5d03134400526c33d89a289295cfc630a842d414121b18 SHA512 44821a9a064c28299a4ef30b37f84735317a716b0a2702f6b78991c56e0a7056cb92722c03bd882cc372b82f4e0a096f729cfcd1d5653ad1d324dfd82d80206e
DIST python-iniparse-ab623b0e287a9303bdb0c5213c485110e68dac12.tar.gz 33680 BLAKE2B 66ff134b1df28ae9c3e86110e7f8ad8dc0e24ed48f09db0c7554464e8d919aca49a7e43156c4acb8602af134c2f9d6c046d05cf1764f29285d8586329708a65a SHA512 57c43f7e0d28eab0e41bb819f7c06821d77f9bc5f3d0986f85dd4852b2edd468bb7b2737733e2f00faeac2e1211998d2e99b54ec92959eaf6d7d10897b176eaf
-EBUILD iniparse-0.5_p20221102.ebuild 960 BLAKE2B e6fad58f8bf071f7908b34fae08f66a21322bc0993f4bb6b211227b38943b52d2807614ebc5f328bd8c44a16a43f2aa281d984a80e8ebd61fd9e069253f85b5a SHA512 8de778100ef8068a07cebe2774bbb1f86ec7c4bb2597ba68af562d7fc81b05f48edce380a788755ac34d518a71ca5d9f4b05d2bb5c90371aff06cc9b9ba5994f
+EBUILD iniparse-0.5_p20221102.ebuild 1237 BLAKE2B 2aff502816352e4a535729222eab85550adc3042d6b72f5de58ec38d9b1f85c1b7dab33aabb940ee68ffad753f3633bf3cf904ca5a0578392bfbd60c49542d8d SHA512 3424becc99c2ffbd7be50858b2d0ba5fd2ceabbba609dd931eb8daf1b5fbf2b4bfdedc8f5cceed436517e8110ac0003b50c1bac2ab8c85a53adeaf943f74ee54
MISC metadata.xml 401 BLAKE2B 6dad247b348f1fcf83bc9fc4cb14375004abd1e6c0bfb904925ab085ebd43876cab70dc8e0162ac881d6c16749266fc9fed4196ad9bb5aca0948a018f129f2a5 SHA512 5cc6e050fd3914dbb8206dd8b410b976f4aff0a75cec075554c27ff4af492517fef177663e532dc8a8ced6890710c6cbcc088163113e85d491d07d62812d1bee
diff --git a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild b/dev-python/iniparse/iniparse-0.5_p20221102.ebuild
index ed1508ff92c5..fdf3b827d469 100644
--- a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild
+++ b/dev-python/iniparse/iniparse-0.5_p20221102.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
@@ -33,10 +33,18 @@ BDEPEND="
${RDEPEND}
"
-PATCHES=(
- # https://github.com/candlepin/python-iniparse/pull/29
- "${FILESDIR}/${P}-py3.11.7.patch"
-)
+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