diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-12-20 13:34:33 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-12-20 20:45:47 +0100 |
commit | 8d20a73243ea382173fb85e2e557755e1714eec5 (patch) | |
tree | a5fcd7ca5f06f1d7ca7955924b53d4c84149fb4e /app-emacs | |
parent | media-video/droidcam: add 2.1.2 (diff) | |
download | gentoo-8d20a73243ea382173fb85e2e557755e1714eec5.tar.gz gentoo-8d20a73243ea382173fb85e2e557755e1714eec5.tar.bz2 gentoo-8d20a73243ea382173fb85e2e557755e1714eec5.zip |
app-emacs/ebib: add new dependency for 2.40 - compat
Closes: https://bugs.gentoo.org/920376
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ebib/ebib-2.40.3-r1.ebuild (renamed from app-emacs/ebib/ebib-2.40.3.ebuild) | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/app-emacs/ebib/ebib-2.40.3.ebuild b/app-emacs/ebib/ebib-2.40.3-r1.ebuild index 823cfbb7b24f..0f5056f76eaf 100644 --- a/app-emacs/ebib/ebib-2.40.3.ebuild +++ b/app-emacs/ebib/ebib-2.40.3-r1.ebuild @@ -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" } |