summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-09-11 11:26:43 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-09-11 11:26:55 +0200
commitfc08fb764aaf1c7040d10567f434147567fb0aad (patch)
tree9c4c1d800222498cb7849cd8c69f95d4ca91ae0b /app-misc
parentdev-vcs/git: Synced/fixed live ebuilds. (diff)
downloadgentoo-fc08fb764aaf1c7040d10567f434147567fb0aad.tar.gz
gentoo-fc08fb764aaf1c7040d10567f434147567fb0aad.tar.bz2
gentoo-fc08fb764aaf1c7040d10567f434147567fb0aad.zip
app-misc/ranger: version bump.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/ranger/Manifest1
-rw-r--r--app-misc/ranger/ranger-1.9.2.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest
index ce47a2493147..99e05fa91b41 100644
--- a/app-misc/ranger/Manifest
+++ b/app-misc/ranger/Manifest
@@ -1 +1,2 @@
DIST ranger-1.9.1.tar.gz 245872 BLAKE2B 3ed48c4fe0cb42be7e001508a9c1f558e415e155eb5f68c9a8eb3e6d906ad287080391ab0310c0e9d67c9bc3210621827dc11107d99ac4173a4d8c64d74ab28b SHA512 c7fdc8f423860c7c420d7be61ebcc92629e444529c982f24260a9eeb68452adbbc6d40d53921c556da3d08a75b1c718bb05257cf869a15f7d932e8f00836cfe3
+DIST ranger-1.9.2.tar.gz 265295 BLAKE2B 93e4d8ff1ad41c9bdf94af4a3ed9ab013048d1a601242553592b0e246f000b3a0226644b126ae7ec1c70562ff80b3f6c6711ee0e53dc1b7363c9ddf8f5fa75cc SHA512 5eb4743beaf0478d745cce8e5bfc2ac07c98ab5784e9394772782d06c0bb27dcd5478ead191ac527f21cce76db09a51eb46db0fabc7993684a6b5aaec0d43104
diff --git a/app-misc/ranger/ranger-1.9.2.ebuild b/app-misc/ranger/ranger-1.9.2.ebuild
new file mode 100644
index 000000000000..363a06f282ac
--- /dev/null
+++ b/app-misc/ranger/ranger-1.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/ranger/ranger.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+DESCRIPTION="A vim-inspired file manager for the console"
+HOMEPAGE="https://ranger.github.io/"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="virtual/pager"
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+ # use versioned doc path
+ sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ py.test -v tests/ranger || die "Tests failed under ${EPYTHON}"
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "Ranger has many optional dependencies to support enhanced file previews."
+ elog "See the README or homepage for more details."
+ fi
+}