diff options
Diffstat (limited to 'dev-python/oslotest')
-rw-r--r-- | dev-python/oslotest/Manifest | 3 | ||||
-rw-r--r-- | dev-python/oslotest/files/oslotest-4.5.0-py3.12-fix.patch | 23 | ||||
-rw-r--r-- | dev-python/oslotest/oslotest-4.5.0-r3.ebuild | 40 |
3 files changed, 0 insertions, 66 deletions
diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest index 1148149c42a7..67cce6d19c68 100644 --- a/dev-python/oslotest/Manifest +++ b/dev-python/oslotest/Manifest @@ -1,6 +1,3 @@ -AUX oslotest-4.5.0-py3.12-fix.patch 884 BLAKE2B b96dd157301ef24bd0ed7915e773887051bb2465fe1526aa1265b96e5dbafc0f26f6339da7c30b4fc2ffc4b9dc238ee8e03e15717c0030ad0416af915ee76693 SHA512 65210bad8a7c059cbe6f47373655477f79ec64a3571e4b8aac6b668590e923b3bdb5313555289bfbcf2daf42c13fe30f5269b34bf3ad510a3d8b62751269e719 -DIST oslotest-4.5.0.tar.gz 38233 BLAKE2B 73fbf056467c5d86c647b0ff49ce2e75654c8a2ffbcda78f8ea49edddb55a4c5e0f065c7a95291468b2d5d73ec5f5152d16a2129ab17fc5e6d457284e684ec31 SHA512 2dc0644365621fe271e09f2f7be631f697749c9d343f1ce9b635986df41ec5be8787350b3f2eb6b6501f4baac1ec597b2f0ecada7936db967075ebce837e1517 DIST oslotest-5.0.0.tar.gz 37730 BLAKE2B 87f051841153ba860bfce1b4b7f69f2bf501020f51fbeffa11c4311b741e298ec95cd0beeb73b43fb5e0529765bf46b9f95bb609bca7e541bcccad3fd985104e SHA512 8b3e5a626734b8937d13555c66fbffbfbc5e0da418ab06865fc516151ae4df5d8477df5e343e913e3073b640e39b80ba32bb6015cab0c432770e8d19160d7107 -EBUILD oslotest-4.5.0-r3.ebuild 845 BLAKE2B 3d1136d032dafa547f30b3cc0e5785ef618093719c8a8a0dc882691c8638906ccd4bc58bd0a3ab5c61230903466f68920880c5ff2ab1bd6b90ae25f75fd046e3 SHA512 61b8307d82f83a6b183bf06a9fe517c3c6b18d136fe26a5e9d49fcbb040ac65373c0cd1b2cedbafb77b11167c5e30aba5edfd6eb37684d2467d32a79bff6ef01 EBUILD oslotest-5.0.0.ebuild 752 BLAKE2B 9197423f1b4143b648f5d6889781f62f1dd25b6ddf1bd6dc42ada765a63f51340be2d465de8b2368d4257e97d60ed6f0fedefdb9d5522edbf03b4f56ca8e9e82 SHA512 9e5135eb06a224072f13c360a105f49e4f82c327b62f775b5824dcd04ec8c79f857d7fa50da4705484fbb5e58440c38133f8c5c6693706775fb3a9a927d09c95 MISC metadata.xml 935 BLAKE2B ec63aed42de004f150dad32092560db0c3e76297cffdd791fa4f717af68ed6e88ee012923e1a41583ae56568e9e7ce8dcefa58d38cc66f675d78d9bf6a17601d SHA512 b116d2489597a1088c189a0db83950551c2da239d7a27319b63f886b63deb047fc6ef1b021db8044b14420bddbd759856d655e7d114df11bd918c1263ec8a1ed diff --git a/dev-python/oslotest/files/oslotest-4.5.0-py3.12-fix.patch b/dev-python/oslotest/files/oslotest-4.5.0-py3.12-fix.patch deleted file mode 100644 index d9325741d5d6..000000000000 --- a/dev-python/oslotest/files/oslotest-4.5.0-py3.12-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -Subject: [PATCH] Replace find_module function - -find_module function was deprecated in Python 3.4 [1] and later removed -in Python 3.12 [2], the find_spec function should be used instead. This -change is necessary for proper Python 3.12 support. - -[1] https://docs.python.org/3.4/library/importlib.html#importlib.abc.MetaPathFinder.find_module -[2] https://github.com/python/cpython/issues/98040 - -Upstream: https://review.opendev.org/c/openstack/oslotest/+/886646 - -diff --git a/oslotest/modules.py b/oslotest/modules.py -index f453b17..8fe04a2 100644 ---- a/oslotest/modules.py -+++ b/oslotest/modules.py -@@ -45,6 +45,6 @@ - def __init__(self, module): - self.module = module - -- def find_module(self, fullname, path): -+ def find_spec(self, fullname, path, target): - if fullname == self.module or fullname.startswith(self.module + '.'): - raise ImportError diff --git a/dev-python/oslotest/oslotest-4.5.0-r3.ebuild b/dev-python/oslotest/oslotest-4.5.0-r3.ebuild deleted file mode 100644 index bdd5c236c2ab..000000000000 --- a/dev-python/oslotest/oslotest-4.5.0-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo test framework" -HOMEPAGE=" - https://opendev.org/openstack/oslotest/ - https://github.com/openstack/oslotest/ - https://pypi.org/project/oslotest/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - >=dev-python/pbr-1.8[${PYTHON_USEDEP}] -" -RDEPEND=" - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/${P}-py3.12-fix.patch" -) - -distutils_enable_tests unittest - -src_prepare() { - sed -i -e '/subunit/d' requirements.txt || die - distutils-r1_src_prepare -} |