mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 22:53:31 +02:00
37 lines
717 B
Bash
37 lines
717 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
NEED_EMACS="28.1"
|
|
|
|
inherit elisp
|
|
|
|
DESCRIPTION="Utilities to create transient menus for POSTing to an API for GNU Emacs"
|
|
HOMEPAGE="https://codeberg.org/martianh/tp.el/"
|
|
|
|
if [[ "${PV}" == *9999* ]] ; then
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://codeberg.org/martianh/${PN}.el.git"
|
|
else
|
|
SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
|
|
-> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}.el"
|
|
|
|
KEYWORDS="amd64 ~x86"
|
|
fi
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
|
|
RDEPEND="
|
|
>=app-editors/emacs-${NEED_EMACS}[json(+)]
|
|
app-emacs/transient
|
|
"
|
|
BDEPEND="
|
|
${RDEPEND}
|
|
"
|
|
|
|
DOCS=( readme.org )
|
|
SITEFILE="50${PN}-gentoo.el"
|