diff options
Diffstat (limited to 'dev-python/fs')
-rw-r--r-- | dev-python/fs/fs-2.4.16.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/fs/fs-2.4.16.ebuild b/dev-python/fs/fs-2.4.16.ebuild index 89667905fa83..42594826f09b 100644 --- a/dev-python/fs/fs-2.4.16.ebuild +++ b/dev-python/fs/fs-2.4.16.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..11} ) inherit distutils-r1 optfeature pypi DESCRIPTION="Filesystem abstraction layer" @@ -40,6 +40,13 @@ EPYTEST_IGNORE=( tests/test_ftpfs.py ) +src_prepare() { + # fix for python 3.12 + sed -e 's/self.assertRaisesRegexp/self.assertRaisesRegex/g' -i fs/test.py || die + + distutils-r1_src_prepare +} + pkg_postinst() { optfeature "S3 support" dev-python/boto optfeature "SFTP support" dev-python/paramiko |