commit: 2e7ad6db3fe3b35798f77e96184a5a6f03ec03ab Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu May 29 06:40:34 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu May 29 06:42:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e7ad6db
dev-python/fs: Strip explicit namespace Closes: https://bugs.gentoo.org/956780 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/fs/{fs-2.4.16.ebuild => fs-2.4.16-r1.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/fs/fs-2.4.16.ebuild b/dev-python/fs/fs-2.4.16-r1.ebuild similarity index 87% rename from dev-python/fs/fs-2.4.16.ebuild rename to dev-python/fs/fs-2.4.16-r1.ebuild index 2ba5a88e4499..9415a924f5de 100644 --- a/dev-python/fs/fs-2.4.16.ebuild +++ b/dev-python/fs/fs-2.4.16-r1.ebuild @@ -24,9 +24,6 @@ RDEPEND=" dev-python/pytz[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/six-1.10[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-lang/python-3.12.0_p1 - ' python3_12) " # NB: we skip tests requiring pyftpdlib BDEPEND=" @@ -46,7 +43,10 @@ EPYTEST_IGNORE=( src_prepare() { # fix for python 3.12 - sed -e 's/self.assertRaisesRegexp/self.assertRaisesRegex/g' -i fs/test.py || die + sed -i -e 's/self.assertRaisesRegexp/self.assertRaisesRegex/g' fs/test.py || die + + # remove explicit namespace (this is the only package in the namespace) + sed -i -e '/pkg_resources/d' fs/__init__.py || die distutils-r1_src_prepare }
