summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-24 14:34:38 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-24 14:35:04 +0200
commit10d6d04aae2b6be9e7f7d8854bf074947b792ee6 (patch)
treece63b08df009f0c71cb7de791f330d628b88f518 /app-emacs/ebib
parentapp-emacs/parsebib: new package; add version 3.1 (diff)
downloadgentoo-10d6d04aae2b6be9e7f7d8854bf074947b792ee6.tar.gz
gentoo-10d6d04aae2b6be9e7f7d8854bf074947b792ee6.tar.bz2
gentoo-10d6d04aae2b6be9e7f7d8854bf074947b792ee6.zip
app-emacs/ebib: new package; add version 2.35.1_p20220501
2022.05.01 snapshot Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/ebib')
-rw-r--r--app-emacs/ebib/Manifest1
-rw-r--r--app-emacs/ebib/ebib-2.35.1_p20220501.ebuild43
-rw-r--r--app-emacs/ebib/files/50ebib-gentoo.el5
-rw-r--r--app-emacs/ebib/metadata.xml19
4 files changed, 68 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/joostkremers/ebib/issues/</bugs-to>
+ <remote-id type="github">joostkremers/ebib</remote-id>
+ </upstream>
+ <longdescription>
+ 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.
+ </longdescription>
+</pkgmetadata>