Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
+
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
-DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )
- app-arch/unzip"
+DEPEND="
+ app-arch/unzip
+ doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] )"
RDEPEND=">=dev-cpp/gccxml-0.6"
python_compile_all() {
- if use doc; then
- esetup.py doc || die
- fi
+ use doc && esetup.py doc
}
python_test() {