sys-apps/nvimpager - 0.14.0 (guru)

Search

Install

Install this version:

emerge -a =sys-apps/nvimpager-0.14.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/nvimpager-0.14.0

Or alternatively:

emerge --autounmask-write -a =sys-apps/nvimpager-0.14.0

Package Information

Description:
Use nvim as a pager to view manpages, diff, etc with nvim's syntax highlighting
Homepage:
https://github.com/lucc/nvimpager
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
0.14.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-{1..2} luajit )

inherit lua-single

DESCRIPTION="Use nvim as a pager to view manpages, diff, etc with nvim's syntax highlighting"
HOMEPAGE="https://github.com/lucc/nvimpager"
SRC_URI="https://github.com/lucc/nvimpager/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
REQUIRED_USE="test? ( ${LUA_REQUIRED_USE} )"
RESTRICT="!test? ( test )"

DEPEND="
	>=app-editors/neovim-0.12.3[-nvimpager]
	app-shells/bash
"
RDEPEND="${DEPEND}"
BDEPEND="
	app-text/scdoc
	test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
"

src_compile() { :; }

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}

src_test() {
	# some tests are broken on neovim-0.10.0
	# https://github.com/lucc/nvimpager/issues/99
	emake test BUSTED='busted --exclude-tags=nix,v10'
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-apps/nvimpager | euse -E <flag> -p sys-apps/nvimpager | euse -D <flag> -p sys-apps/nvimpager

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	>=app-editors/neovim-0.12.3[-nvimpager]
	app-shells/bash

RDEPEND

	>=app-editors/neovim-0.12.3[-nvimpager]
	app-shells/bash

BDEPEND

	app-text/scdoc
	test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )

Manifest for 0.14.0

Type File Size Source URLs
DIST nvimpager-0.14.0.tar.gz 32736 bytes https://github.com/lucc/nvimpager/archive/v0.14.0.tar.gz