summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-01-15 20:13:09 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-01-15 22:20:38 +0100
commit0ae9f2dcb49aced2cb8b4c483616ee2caaebb7b5 (patch)
tree359044631b0e68a49b360f555e0f163102c4ac8a /app-emacs/citeproc-el
parentsys-kernel/gentoo-sources: drop 6.6.9 (diff)
downloadgentoo-0ae9f2dcb49aced2cb8b4c483616ee2caaebb7b5.tar.gz
gentoo-0ae9f2dcb49aced2cb8b4c483616ee2caaebb7b5.tar.bz2
gentoo-0ae9f2dcb49aced2cb8b4c483616ee2caaebb7b5.zip
app-emacs/citeproc-el: add missing compat dependency
Closes: https://bugs.gentoo.org/922150 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/citeproc-el')
-rw-r--r--app-emacs/citeproc-el/citeproc-el-0.9.4-r1.ebuild (renamed from app-emacs/citeproc-el/citeproc-el-0.9.4.ebuild)26
1 files changed, 16 insertions, 10 deletions
diff --git a/app-emacs/citeproc-el/citeproc-el-0.9.4.ebuild b/app-emacs/citeproc-el/citeproc-el-0.9.4-r1.ebuild
index 15506aca0ab1..19feb1b9cbbb 100644
--- a/app-emacs/citeproc-el/citeproc-el-0.9.4.ebuild
+++ b/app-emacs/citeproc-el/citeproc-el-0.9.4-r1.ebuild
@@ -9,17 +9,26 @@ inherit elisp
DESCRIPTION="CSL 1.0.2 Citation Processor for Emacs"
HOMEPAGE="https://github.com/andras-simonyi/citeproc-el"
-SRC_URI="https://github.com/andras-simonyi/${PN}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/andras-simonyi/${PN}.git"
+else
+ SRC_URI="https://github.com/andras-simonyi/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=app-editors/emacs-26:*[libxml2]
+ app-emacs/compat
app-emacs/dash
app-emacs/f
app-emacs/parsebib
@@ -38,10 +47,7 @@ BDEPEND="
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
-src_test() {
- ${EMACS} ${EMACSFLAGS} -L . -L test \
- -l citeproc-test-human.el \
- -l test/citeproc-test-int-biblatex.el \
- -l test/citeproc-test-int-formatters.el \
- -f ert-run-tests-batch-and-exit || die
-}
+elisp-enable-tests ert test \
+ -l citeproc-test-human.el \
+ -l test/citeproc-test-int-biblatex.el \
+ -l test/citeproc-test-int-formatters.el