diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-06 20:58:45 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-06 21:21:28 +0100 |
commit | 87967d26ef17000ea7f041091072cfb764be0798 (patch) | |
tree | 38d8dbc7c9518ed664cd6dc8ad7da537265312d9 /dev-python | |
parent | dev-python/pycairo: Fix USE doc (diff) | |
download | gentoo-87967d26ef17000ea7f041091072cfb764be0798.tar.gz gentoo-87967d26ef17000ea7f041091072cfb764be0798.tar.bz2 gentoo-87967d26ef17000ea7f041091072cfb764be0798.zip |
dev-python/pyproj: Fix USE doc
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyproj/pyproj-2.4.1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pyproj/pyproj-2.4.1.ebuild b/dev-python/pyproj/pyproj-2.4.1.ebuild index e46bd9bcde94..4caf7eaf1353 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 |