commit:     d42ba2c2e14176c9a164d62d95ebf123037b02cc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 21:07:32 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 21:39:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d42ba2c2

app-emacs/denote: bump to 4.1.2

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

 app-emacs/denote/Manifest            |  1 +
 app-emacs/denote/denote-4.1.2.ebuild | 55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-emacs/denote/Manifest b/app-emacs/denote/Manifest
index e711d948b5ee..7ad661b20c86 100644
--- a/app-emacs/denote/Manifest
+++ b/app-emacs/denote/Manifest
@@ -1 +1,2 @@
 DIST denote-4.1.1.tar.gz 288844 BLAKE2B 
6fcf4ec4f88cbb57380d3b9ec9a5e953c5c5be187565c15bccf0b61729084a1a21549f77c0da969af39c008ef946e937a04c92426008f576ce8040a695b8f9a4
 SHA512 
6cff5ac22cc1dff66d77f67edb1849c226001f55da22674cef2ea823d1d354075d949316b578f4a0421e79a604f7ad061b090eb762901f2332c78c07b620cfa6
+DIST denote-4.1.2.tar.gz 290331 BLAKE2B 
d216ab2000461d6bd5cc46206e5b4be70b713025d16412a6af099a5ea483dc9246d886efceb2a048ede19af05faf88bf9d3195694ec57a75f32b6943b216482c
 SHA512 
caa66de07c7df26c776553b06df54ab0e97e1ccc628e9a8258b92c969f04532de36b689469fa1d19b3acd3906ab2404dd3070fd213369940e5f17cad74040d89

diff --git a/app-emacs/denote/denote-4.1.2.ebuild 
b/app-emacs/denote/denote-4.1.2.ebuild
new file mode 100644
index 000000000000..d07d773bf84e
--- /dev/null
+++ b/app-emacs/denote/denote-4.1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 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=(
+               dt-denote--date-convert
+               dt-denote--make-denote-directory
+               dt-denote-get-identifier
+               dt-denote-identifier-p
+       )
+       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