commit: 1f569f59422f100a5bd34cae4b85b2b7d8270ecc Author: Han Mertens <hanmertens <AT> outlook <DOT> com> AuthorDate: Mon Nov 9 20:17:36 2020 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Wed Nov 11 21:26:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f569f59
dev-python/uncertainties: add dev-pytohn/future as dependency. Closes: https://bugs.gentoo.org/732832 Signed-off-by: Han Mertens <hanmertens <AT> outlook.com> Closes: https://github.com/gentoo/gentoo/pull/18204 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> ...nties-3.1.4.ebuild => uncertainties-3.1.4-r1.ebuild} | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/dev-python/uncertainties/uncertainties-3.1.4.ebuild b/dev-python/uncertainties/uncertainties-3.1.4-r1.ebuild similarity index 75% rename from dev-python/uncertainties/uncertainties-3.1.4.ebuild rename to dev-python/uncertainties/uncertainties-3.1.4-r1.ebuild index f1decac029b..0aff696ff8d 100644 --- a/dev-python/uncertainties/uncertainties-3.1.4.ebuild +++ b/dev-python/uncertainties/uncertainties-3.1.4-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) @@ -16,20 +16,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc" -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) " distutils_enable_tests nose -ppython_compile_all() { - if use doc; then - PYTHONPATH="${BUILD_DIR}"/lib esetup.py build_sphinx - fi -} - python_compile_all() { use doc && "${PYTHON}" setup.py build_sphinx }