diff options
Diffstat (limited to 'app-misc/ranger/ranger-9999.ebuild')
-rw-r--r-- | app-misc/ranger/ranger-9999.ebuild | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index 16d8225c231a..345261546a35 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -1,26 +1,31 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-9999.ebuild,v 1.3 2013/01/11 22:25:09 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ranger/ranger-9999.ebuild,v 1.4 2013/03/02 06:41:49 radhermit Exp $ -EAPI="5" +EAPI=5 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} ) PYTHON_REQ_USE="ncurses" -inherit distutils-r1 git-2 +inherit distutils-r1 -EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git" + inherit git-2 +else + SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi DESCRIPTION="A vim-inspired file manager for the console" HOMEPAGE="http://ranger.nongnu.org/" - LICENSE="GPL-3" SLOT="0" -KEYWORDS="" -IUSE="" RDEPEND="virtual/pager" pkg_postinst() { - elog "Ranger has many optional dependencies to support enhanced file previews." - elog "See the README or homepage for more details." + if ! has_version ${CATEGORY}/${PN} ; then + elog "Ranger has many optional dependencies to support enhanced file previews." + elog "See the README or homepage for more details." + fi } |