Package-Manager: Portage-2.3.5, Repoman-2.3.2
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
}
python_test() {
- pushd "${BUILD_DIR}"/lib/ > /dev/null
+ pushd "${BUILD_DIR}"/lib/ > /dev/null || die
PYTHONPATH=.:${PN} nosetests --with-doctest ${PN} || die "tests failed under ${EPYTHON}"
- popd > /dev/null
+ popd > /dev/null || die
}