diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-04-25 13:24:06 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-04-25 13:26:50 -0400 |
commit | db774a58f6dfe1ec257ab8c924361b46b0393cf7 (patch) | |
tree | ebde658a049714ffb7a971ba7904c34d6ebb6dfe /app-misc/ranger/ranger-9999.ebuild | |
parent | www-apache/mod_gnutls: do not attempt to generate documentation (diff) | |
download | gentoo-db774a58f6dfe1ec257ab8c924361b46b0393cf7.tar.gz gentoo-db774a58f6dfe1ec257ab8c924361b46b0393cf7.tar.bz2 gentoo-db774a58f6dfe1ec257ab8c924361b46b0393cf7.zip |
app-misc/ranger: version bump to 1.9.0_beta5
Diffstat (limited to 'app-misc/ranger/ranger-9999.ebuild')
-rw-r--r-- | app-misc/ranger/ranger-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index 142a220a0369..ac8d37af176d 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -19,8 +19,10 @@ DESCRIPTION="A vim-inspired file manager for the console" HOMEPAGE="http://ranger.nongnu.org/" LICENSE="GPL-3" SLOT="0" +IUSE="test" RDEPEND="virtual/pager" +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" src_prepare() { # use versioned doc path @@ -29,6 +31,10 @@ src_prepare() { distutils-r1_src_prepare } +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} + pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then elog "Ranger has many optional dependencies to support enhanced file previews." |