commit:     e9bdecc6d32e8998ec283daa0087786757abf764
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  6 22:41:16 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep  6 23:11:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9bdecc6

app-emacs/denote: bump to 3.1.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/denote/Manifest            |  1 +
 app-emacs/denote/denote-3.1.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-emacs/denote/Manifest b/app-emacs/denote/Manifest
index 2996283b9622..66779d7109d5 100644
--- a/app-emacs/denote/Manifest
+++ b/app-emacs/denote/Manifest
@@ -1 +1,2 @@
 DIST denote-3.0.8.tar.gz 244541 BLAKE2B 
bbabd44e0a4f1dada6988fc40bca17df801e888c78585111db4e8366a2f26218dc6a161d822b4e58d38be3495e2b3f96e0a3e90544e0419080d9848aa33d9aff
 SHA512 
93b46c6a9b582c7e2d571bbb56f48c67a173a448d59346161a0b7f11cd3c9f51ab4ec4e7dbc56860e1130454a29538e7802cc5ff9bcc5d0c1888e15ee153ac6a
+DIST denote-3.1.0.tar.gz 261197 BLAKE2B 
f729aba152456f579bf1c5548390be906a326df7210672b6bf5072f4bd8b25273e791f627d22ebf9ba70a0ef78635ea91abca6cf7752c84e0ae8b27be436f078
 SHA512 
44b089c3fb9bc66646670134f5909512c21c7eb429553e0b5d16cec72fdd7825cdf94d3d96b70e0c06ab739eb4bd905ba0315bf639d0951e96487e69b8d033f3

diff --git a/app-emacs/denote/denote-3.1.0.ebuild 
b/app-emacs/denote/denote-3.1.0.ebuild
new file mode 100644
index 000000000000..d68a28164d3f
--- /dev/null
+++ b/app-emacs/denote/denote-3.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="28.1"
+
+inherit elisp
+
+DESCRIPTION="Simple notes for Emacs with an efficient file-naming scheme"
+HOMEPAGE="https://protesilaos.com/emacs/denote/
+       https://github.com/protesilaos/denote/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protesilaos/${PN}.git";
+else
+       SRC_URI="https://github.com/protesilaos/${PN}/archive/${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( CHANGELOG.org README.md )
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests ert tests
+
+src_prepare() {
+       default
+
+       # Skip failing test. Tests are marked as "WORK IN PROGRESS" at the
+       # top of the file.
+       local -a skip_tests=(
+               denote-test--denote-get-identifier
+               denote-test--denote-journal-extras-daily--title-format
+       )
+       local skip_test=""
+       for skip_test in "${skip_tests[@]}"; do
+               sed -i "/${skip_test}/a (ert-skip nil)" tests/denote-test.el || 
die
+       done
+}
+
+src_compile() {
+       elisp-org-export-to texinfo README.org
+       elisp_src_compile
+       elisp-make-autoload-file
+}

Reply via email to