diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-10 04:21:55 +0100 |
commit | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch) | |
tree | 6c418a1546fff5becab5d8b9ed6803323e7f316e /dev-python/PyUtilib/PyUtilib-6.0.0.ebuild | |
parent | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff) |
gentoo resync : 10.09.2021
Diffstat (limited to 'dev-python/PyUtilib/PyUtilib-6.0.0.ebuild')
-rw-r--r-- | dev-python/PyUtilib/PyUtilib-6.0.0.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild b/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild index d0f3e6c38855..fe1c027f23da 100644 --- a/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild +++ b/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild @@ -3,8 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit distutils-r1 @@ -18,6 +17,9 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )" + PATCHES=( "${FILESDIR}/PyUtilib-6.0.0-tests.patch" ) @@ -36,5 +38,12 @@ python_test() { local -x PYTHONPATH="${PWD}:${TEST_DIR}/lib" \ COLUMNS=80 + if [[ ${EPYTHON} == python3.10 ]]; then + # Fix for very small output change of expected output in new version + sed -e 's/optional arguments/options/' -i \ + "${BUILD_DIR}/../doc/workflow/examples/"*.txt \ + pyutilib/misc/tests/test_config.py || die + fi + eunittest } |