diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-01-07 14:28:25 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-01-07 14:32:32 -0500 |
commit | 475e56b8e1b576cb51f42240a1ccf1fe00f6eacb (patch) | |
tree | 572bf207d85f399a85f236004f0da23c407f0a5c /app-misc/ranger | |
parent | dev-libs/pugixml: force emake as cmake makefile generator (bug #601064) (diff) | |
download | gentoo-475e56b8e1b576cb51f42240a1ccf1fe00f6eacb.tar.gz gentoo-475e56b8e1b576cb51f42240a1ccf1fe00f6eacb.tar.bz2 gentoo-475e56b8e1b576cb51f42240a1ccf1fe00f6eacb.zip |
app-misc/ranger: version bump to 1.8.0
Diffstat (limited to 'app-misc/ranger')
-rw-r--r-- | app-misc/ranger/Manifest | 1 | ||||
-rw-r--r-- | app-misc/ranger/ranger-1.8.0.ebuild | 38 | ||||
-rw-r--r-- | app-misc/ranger/ranger-9999.ebuild | 9 |
3 files changed, 47 insertions, 1 deletions
diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index 3645e65c5ec3..62d41c68093a 100644 --- a/app-misc/ranger/Manifest +++ b/app-misc/ranger/Manifest @@ -1 +1,2 @@ DIST ranger-1.7.2.tar.gz 269713 SHA256 94f6e342daee4445f15db5a7440a11138487c49cc25da0c473bbf1b8978f5b79 SHA512 4815831bceb76bf15a68cdb09d3276192095b211ba06f0abeeec9529b0cb054341666c607f11b2c0acd1ff7de6fa3b71c9aab59db6bd5d1f0137e07619b522bd WHIRLPOOL 7985c470a789cd58a64d2e5e8eb7675ea4df8f71f0cac0bae7e49af599ab07d30a3ebe567e938649e69c812e8e2a4043e10004c708459a9a58b7c523fc34c6f3 +DIST ranger-1.8.0.tar.gz 227368 SHA256 ce02476cb93d51b901eb6f5f0fc9675c58bd0a2f11d2ce0cdb667e15ec314092 SHA512 dd630c8aaca479925bc48982a2fab7c6f8999512985e37f0d7c5906ec1f8ed4b7b59fb0320dee5abf8ab7513a6f58528cdf64eaf8ca8d4528260cfba5916af40 WHIRLPOOL 54d8e9e0efaec5feae5c7d34adeb5d6880076ae2dfedb2cd26e5cdd2c593e7b3cc6e6089436ef44fd39fd4574a0d79a45661621bce0d508bbe317ec718c562cd diff --git a/app-misc/ranger/ranger-1.8.0.ebuild b/app-misc/ranger/ranger-1.8.0.ebuild new file mode 100644 index 000000000000..b9efb3ed911c --- /dev/null +++ b/app-misc/ranger/ranger-1.8.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git" + inherit git-r3 +else + SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" +fi + +DESCRIPTION="A vim-inspired file manager for the console" +HOMEPAGE="http://ranger.nongnu.org/" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND="virtual/pager" + +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 +} + +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 +} diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index 982663acf811..a661a5eb28b2 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -23,6 +23,13 @@ SLOT="0" RDEPEND="virtual/pager" +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 +} + pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then elog "Ranger has many optional dependencies to support enhanced file previews." |