Install this version:
emerge -a =app-emacs/ag-0.48
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=24
MY_PN="${PN}.el"
MY_P="${MY_PN}-${PV}"
inherit elisp
DESCRIPTION="An Emacs front-end for ag ('the silver searcher')"
HOMEPAGE="https://github.com/Wilfred/ag.el"
SRC_URI="https://github.com/Wilfred/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
KEYWORDS="amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="doc test"
DOCS="README.md"
BDEPEND="
doc? ( dev-python/sphinx )
test? ( app-emacs/cask )
"
RDEPEND="
>=app-emacs/dash-2.8.0
>=app-emacs/s-1.9.0
"
S="${WORKDIR}/${MY_P}"
src_test() {
emake unit
}
src_compile() {
elisp_src_compile
use doc && emake -C docs || die
}
src_install() {
elisp_src_install
use doc && dodoc -r docs
}
Manage flags for this package:
euse -i <flag> -p app-emacs/ag |
euse -E <flag> -p app-emacs/ag |
euse -D <flag> -p app-emacs/ag
>=app-emacs/dash-2.8.0 >=app-emacs/s-1.9.0
doc? ( dev-python/sphinx ) test? ( app-emacs/cask )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ag-0.48.tar.gz | 263081 bytes | https://github.com/Wilfred/ag.el/archive/refs/tags/0.48.tar.gz |