From 10d6d04aae2b6be9e7f7d8854bf074947b792ee6 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Tue, 24 May 2022 14:34:38 +0200 Subject: app-emacs/ebib: new package; add version 2.35.1_p20220501 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2022.05.01 snapshot Signed-off-by: Maciej Barć --- app-emacs/ebib/Manifest | 1 + app-emacs/ebib/ebib-2.35.1_p20220501.ebuild | 43 +++++++++++++++++++++++++++++ app-emacs/ebib/files/50ebib-gentoo.el | 5 ++++ app-emacs/ebib/metadata.xml | 19 +++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 app-emacs/ebib/Manifest create mode 100644 app-emacs/ebib/ebib-2.35.1_p20220501.ebuild create mode 100644 app-emacs/ebib/files/50ebib-gentoo.el create mode 100644 app-emacs/ebib/metadata.xml (limited to 'app-emacs/ebib') diff --git a/app-emacs/ebib/Manifest b/app-emacs/ebib/Manifest new file mode 100644 index 000000000000..b57a815428b6 --- /dev/null +++ b/app-emacs/ebib/Manifest @@ -0,0 +1 @@ +DIST ebib-2.35.1_p20220501.tar.gz 1043749 BLAKE2B 937b3e00f4f52c5b63949ae993e40ff340477c374914ce308256018d0c86fafb52cbacde74dab552303b6635ff87d57c29661a62971b0649f58a67e3b916a9c8 SHA512 d822edb2584effc6f385e2e71bf57d72e5763129fe84fec60bf1a9841822e3d59cc53a05cab293014dee7c63d14cbae43734a2070746f5c512e417a4085f3ef6 diff --git a/app-emacs/ebib/ebib-2.35.1_p20220501.ebuild b/app-emacs/ebib/ebib-2.35.1_p20220501.ebuild new file mode 100644 index 000000000000..7406f52e2731 --- /dev/null +++ b/app-emacs/ebib/ebib-2.35.1_p20220501.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=0e243a78f435038dda31953c5b48cbddf2a89e27 +NEED_EMACS=26.1 + +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/${H}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-emacs/parsebib" +BDEPEND=" + ${RDEPEND} + test? ( + app-emacs/ert-runner + app-emacs/with-simulated-input + ) +" + +DOCS=( README.md docs ) +SITEFILE="50${PN}-gentoo.el" + +src_test() { + ert-runner -L . -L test --reporter ert+duration --script test || die +} + +src_install() { + elisp_src_install + doinfo ${PN}.info +} diff --git a/app-emacs/ebib/files/50ebib-gentoo.el b/app-emacs/ebib/files/50ebib-gentoo.el new file mode 100644 index 000000000000..4345f7ef8470 --- /dev/null +++ b/app-emacs/ebib/files/50ebib-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'ebib "ebib" + "Ebib, a BibTeX database manager." t) +(autoload 'ebib-insert-citation "ebib" + "Insert a citation at POINT." t) diff --git a/app-emacs/ebib/metadata.xml b/app-emacs/ebib/metadata.xml new file mode 100644 index 000000000000..918804ccf762 --- /dev/null +++ b/app-emacs/ebib/metadata.xml @@ -0,0 +1,19 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + https://github.com/joostkremers/ebib/issues/ + joostkremers/ebib + + + Ebib is a BibTeX database manager that runs in GNU Emacs. With Ebib, you + can create and manage .bib-files, all within Emacs. It supports @string and + @preamble definitions, multi-line field values, searching, and integration + with Emacs' (La)TeX mode. + + -- cgit v1.2.3-65-gdbad