commit: 87967d26ef17000ea7f041091072cfb764be0798
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 19:58:45 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 20:21:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87967d26
dev-python/pyproj: Fix USE doc
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-python/pyproj/pyproj-2.4.1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/pyproj/pyproj-2.4.1.ebuild
b/dev-python/pyproj/pyproj-2.4.1.ebuild
index e46bd9bcde9..4caf7eaf135 100644
--- a/dev-python/pyproj/pyproj-2.4.1.ebuild
+++ b/dev-python/pyproj/pyproj-2.4.1.ebuild
@@ -21,7 +21,7 @@ RDEPEND=">=sci-libs/proj-6.2.0"
DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx )
+ doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
@@ -30,6 +30,10 @@ BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
distutils_enable_tests pytest
+python_check_deps() {
+ use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
python_prepare_all() {
distutils-r1_python_prepare_all
append-cflags -fno-strict-aliasing