mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/ebib: add new dependency for 2.40 - compat
Closes: https://bugs.gentoo.org/920376 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -10,20 +10,28 @@ inherit elisp
|
||||
DESCRIPTION="BibTeX database manager for Emacs"
|
||||
HOMEPAGE="https://joostkremers.github.io/ebib/
|
||||
https://github.com/joostkremers/ebib/"
|
||||
SRC_URI="https://github.com/joostkremers/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/joostkremers/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/joostkremers/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-emacs/parsebib"
|
||||
RDEPEND="
|
||||
>=app-emacs/compat-29.1.4.4
|
||||
app-emacs/parsebib
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
app-emacs/ert-runner
|
||||
app-emacs/with-simulated-input
|
||||
)
|
||||
"
|
||||
@@ -31,11 +39,10 @@ BDEPEND="
|
||||
DOCS=( README.md docs )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
ert-runner -L . -L test --reporter ert+duration --script test || die
|
||||
}
|
||||
elisp-enable-tests ert-runner test
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
doinfo ${PN}.info
|
||||
|
||||
doinfo "${PN}.info"
|
||||
}
|
||||
Reference in New Issue
Block a user