diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-03 10:59:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-04 18:13:41 +0100 |
commit | eb20c6dee825a76e67c8de7d29fb6a31c69522ca (patch) | |
tree | b4ea8e216aa532f5998545e67bd21a6c1f5f5095 /www-apps | |
parent | www-apps/nikola: Remove old (diff) | |
download | gentoo-eb20c6dee825a76e67c8de7d29fb6a31c69522ca.tar.gz gentoo-eb20c6dee825a76e67c8de7d29fb6a31c69522ca.tar.bz2 gentoo-eb20c6dee825a76e67c8de7d29fb6a31c69522ca.zip |
www-apps/nikola: Restrict ipython to py3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nikola/nikola-7.8.15.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www-apps/nikola/nikola-7.8.15.ebuild b/www-apps/nikola/nikola-7.8.15.ebuild index 0b6076257213..4ae53a855542 100644 --- a/www-apps/nikola/nikola-7.8.15.ebuild +++ b/www-apps/nikola/nikola-7.8.15.ebuild @@ -17,6 +17,7 @@ LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" SLOT="0" KEYWORDS="amd64" IUSE="assets charts ghpages hyphenation ipython jinja watchdog webmedia websocket" +REQUIRED_USE="ipython? ( || ( $(python_gen_useflags -3) ) )" RESTRICT="test" # needs coveralls DEPEND=">=dev-python/docutils-0.12[${PYTHON_USEDEP}]" # needs rst2man to build manpage @@ -42,7 +43,11 @@ RDEPEND="${DEPEND} charts? ( >=dev-python/pygal-2.0.1[${PYTHON_USEDEP}] ) ghpages? ( >=dev-python/ghp-import-0.4.1[${PYTHON_USEDEP}] ) hyphenation? ( >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] ) - ipython? ( >=dev-python/ipython-2.0.0[notebook,${PYTHON_USEDEP}] ) + ipython? ( + $(python_gen_cond_dep ' + >=dev-python/ipython-2.0.0[notebook,${PYTHON_USEDEP}] + ' -3) + ) jinja? ( >=dev-python/jinja-2.7.2[${PYTHON_USEDEP}] ) watchdog? ( ~dev-python/watchdog-0.8.3[${PYTHON_USEDEP}] ) webmedia? ( >=dev-python/micawber-0.3.0[${PYTHON_USEDEP}] ) |