LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="doc fab2 test"
+IUSE="doc fab2"
RDEPEND="
!fab2? ( !dev-python/fabric:0 )
dev-python/alabaster[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.4[${PYTHON_USEDEP}]
<dev-python/sphinx-1.7[${PYTHON_USEDEP}]
- )
- test? (
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
- >=dev-python/pytest-relaxed-1.1.4[${PYTHON_USEDEP}]
)"
+# Depends on pytest-relaxed which is broken
+RESTRICT="test"
+
python_compile() {
if use fab2; then
export PACKAGE_AS_FABRIC2=1
fi
}
-python_test() {
- # -p pytest_relaxed: this plugin has to be loaded explicitly
- pytest -s -v -p pytest_relaxed.plugin || die "Tests failed"
-}
-
python_install_all() {
use doc && local HTML_DOCS=( sites/docs/html/. )
distutils-r1_python_install_all