mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/cliapp: Fix running tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -14,10 +14,7 @@ SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/snapshot/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# test deps not supporting python 3
|
||||
RESTRICT="test"
|
||||
IUSE=""
|
||||
|
||||
MY_DEPEND="
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
@@ -25,8 +22,6 @@ MY_DEPEND="
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${MY_DEPEND}"
|
||||
# test? ( >=dev-python/CoverageTestRunner-1.11 dev-python/pep8 )
|
||||
# "
|
||||
|
||||
RDEPEND="
|
||||
${MY_DEPEND}
|
||||
@@ -38,5 +33,5 @@ src_test() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${PYTHON} -m CoverageTestRunner --ignore-missing-from=without-tests || die
|
||||
"${EPYTHON}" -m unittest discover -v -p '*_tests.py' || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user