public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/oslotest/, dev-python/oslotest/files/
@ 2024-03-16 12:08 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2024-03-16 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     1167572b8f6af5ecc257ded1c6f6625d9e16139e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 12:07:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 12:07:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1167572b

dev-python/oslotest: Remove old

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

 dev-python/oslotest/Manifest                       |  1 -
 .../oslotest/files/oslotest-4.5.0-py3.12-fix.patch | 23 -------------
 dev-python/oslotest/oslotest-4.5.0-r3.ebuild       | 40 ----------------------
 3 files changed, 64 deletions(-)

diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest
index ade5c56efa57..5a7cf8397eb9 100644
--- a/dev-python/oslotest/Manifest
+++ b/dev-python/oslotest/Manifest
@@ -1,2 +1 @@
-DIST oslotest-4.5.0.tar.gz 38233 BLAKE2B 73fbf056467c5d86c647b0ff49ce2e75654c8a2ffbcda78f8ea49edddb55a4c5e0f065c7a95291468b2d5d73ec5f5152d16a2129ab17fc5e6d457284e684ec31 SHA512 2dc0644365621fe271e09f2f7be631f697749c9d343f1ce9b635986df41ec5be8787350b3f2eb6b6501f4baac1ec597b2f0ecada7936db967075ebce837e1517
 DIST oslotest-5.0.0.tar.gz 37730 BLAKE2B 87f051841153ba860bfce1b4b7f69f2bf501020f51fbeffa11c4311b741e298ec95cd0beeb73b43fb5e0529765bf46b9f95bb609bca7e541bcccad3fd985104e SHA512 8b3e5a626734b8937d13555c66fbffbfbc5e0da418ab06865fc516151ae4df5d8477df5e343e913e3073b640e39b80ba32bb6015cab0c432770e8d19160d7107

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
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-16 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-16 12:08 [gentoo-commits] repo/gentoo:master commit in: dev-python/oslotest/, dev-python/oslotest/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox