diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-10 07:09:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-10 07:09:04 +0000 |
| commit | a30a448aff4f450deba8f0bfc4fca47aaf67663a (patch) | |
| tree | bcf0ae861600503ba0e53907d4a66c7820e44732 /dev-python/PyUtilib/PyUtilib-6.0.0.ebuild | |
| parent | ea69f9cb1eba5e9fdead50428ff2bc672fe3f218 (diff) | |
| download | baldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.tar.gz baldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.tar.xz baldeagleos-repo-a30a448aff4f450deba8f0bfc4fca47aaf67663a.zip | |
Adding metadata
Diffstat (limited to 'dev-python/PyUtilib/PyUtilib-6.0.0.ebuild')
| -rw-r--r-- | dev-python/PyUtilib/PyUtilib-6.0.0.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild b/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild index 6c9007827289..cb1496477150 100644 --- a/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild +++ b/dev-python/PyUtilib/PyUtilib-6.0.0.ebuild @@ -3,7 +3,6 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend PYTHON_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_IN_SOURCE_BUILD=1 @@ -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 } |
