diff options
Diffstat (limited to 'dev-python/cliapp/cliapp-1.20170823.ebuild')
-rw-r--r-- | dev-python/cliapp/cliapp-1.20170823.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/cliapp/cliapp-1.20170823.ebuild b/dev-python/cliapp/cliapp-1.20170823.ebuild new file mode 100644 index 000000000000..6ca847d60c1a --- /dev/null +++ b/dev-python/cliapp/cliapp-1.20170823.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="Framework for Unix-like command line programs" +HOMEPAGE="http://liw.fi/cliapp/" +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" + +MY_DEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + " + +DEPEND="${PYTHON_DEPS} + ${MY_DEPEND}" +# test? ( >=dev-python/CoverageTestRunner-1.11 dev-python/pep8 ) +# " + +RDEPEND=" + ${MY_DEPEND} + " + +src_test() { + addwrite /proc/self/comm + distutils-r1_src_test +} + +python_test() { + ${PYTHON} -m CoverageTestRunner --ignore-missing-from=without-tests || die +} |