diff options
author | 2018-02-24 00:27:32 +0100 | |
---|---|---|
committer | 2018-02-24 00:37:02 +0100 | |
commit | 25d12e76367e2493f07906e4cbfd86bf7faa14fc (patch) | |
tree | c88a2602570d1abca1942758fe6456acaa749bc0 /dev-python/cliapp/cliapp-1.20170823.ebuild | |
parent | dev-python/markdown: Tested on ~amd64-fbsd (diff) | |
download | gentoo-25d12e76367e2493f07906e4cbfd86bf7faa14fc.tar.gz gentoo-25d12e76367e2493f07906e4cbfd86bf7faa14fc.tar.bz2 gentoo-25d12e76367e2493f07906e4cbfd86bf7faa14fc.zip |
dev-python/cliapp: Fix running tests
Diffstat (limited to 'dev-python/cliapp/cliapp-1.20170823.ebuild')
-rw-r--r-- | dev-python/cliapp/cliapp-1.20170823.ebuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/cliapp/cliapp-1.20170823.ebuild b/dev-python/cliapp/cliapp-1.20170823.ebuild index 6ca847d60c1a..bea4d92c06f8 100644 --- a/dev-python/cliapp/cliapp-1.20170823.ebuild +++ b/dev-python/cliapp/cliapp-1.20170823.ebuild @@ -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 } |