# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
NEED_EMACS="25"
MY_PN="emacs-${PN}"

inherit elisp-common akater-live-release

DESCRIPTION="Elisp package that provides cached data about underlying Gentoo system to Emacs"
HOMEPAGE="https://gitlab.com/akater/emacs-gentoo-cache"

EGIT_REPO_URI="https://gitlab.com/akater/${MY_PN}.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"

IUSE="test"

DOCS="" # README.org is a relative symlink

SITEFILE="50${PN}-gentoo.el"

BDEPEND="
	app-emacs/akater-misc
	app-emacs/eix
	app-emacs/mmxx-macros
	app-emacs/shmu
"
RDEPEND="
	app-emacs/akater-misc
	app-emacs/shmu
	app-portage/eix
"

DEPEND="test? ( app-emacs/ort )"