mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/fs: Strip explicit namespace
Closes: https://bugs.gentoo.org/956780 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
c897db2b59
commit
2e7ad6db3f
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user