diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-07 16:03:38 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-09 17:26:48 +0100 |
commit | 0a178f3dd5df4b56265e83fd9eab92edf1ab673d (patch) | |
tree | bb2ab16e8f58e566c35c7f843ef26008b1463be2 /media-gfx/inkscape/inkscape-9999.ebuild | |
parent | media-gfx/gimp: Switch to PYTHON_MULTI_USEDEP API (diff) | |
download | gentoo-0a178f3dd5df4b56265e83fd9eab92edf1ab673d.tar.gz gentoo-0a178f3dd5df4b56265e83fd9eab92edf1ab673d.tar.bz2 gentoo-0a178f3dd5df4b56265e83fd9eab92edf1ab673d.zip |
media-gfx/inkscape: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/inkscape/inkscape-9999.ebuild')
-rw-r--r-- | media-gfx/inkscape/inkscape-9999.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/media-gfx/inkscape/inkscape-9999.ebuild b/media-gfx/inkscape/inkscape-9999.ebuild index 1a10390a90dc..bc57307639b5 100644 --- a/media-gfx/inkscape/inkscape-9999.ebuild +++ b/media-gfx/inkscape/inkscape-9999.ebuild @@ -40,9 +40,7 @@ COMMON_DEPEND="${PYTHON_DEPS} >=dev-libs/libxslt-1.1.25 dev-libs/gdl:3 dev-libs/popt - dev-python/lxml[${PYTHON_USEDEP}] media-gfx/potrace - media-gfx/scour[${PYTHON_USEDEP}] media-libs/fontconfig media-libs/freetype:2 media-libs/libpng:0= @@ -51,6 +49,10 @@ COMMON_DEPEND="${PYTHON_DEPS} x11-libs/libX11 >=x11-libs/pango-1.37.2 x11-libs/gtk+:3 + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_MULTI_USEDEP}] + media-gfx/scour[${PYTHON_MULTI_USEDEP}] + ') cdr? ( app-text/libwpg:0.3 dev-libs/librevenge @@ -84,7 +86,9 @@ COMMON_DEPEND="${PYTHON_DEPS} # install these so we could of course just not depend on those and rely # on that. RDEPEND="${COMMON_DEPEND} - dev-python/numpy[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_MULTI_USEDEP}] + ') dia? ( app-office/dia ) postscript? ( app-text/ghostscript-gpl ) " |