summaryrefslogtreecommitdiff
path: root/app-emacs
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2025-12-04 17:24:00 +0100
committerMaciej Barć <xgqt@gentoo.org>2025-12-04 17:47:51 +0100
commite441ee0c65b2dece09349b2d067d02df0aff213e (patch)
tree9db9d689f5aade18bcb90f4aec4b1ad5be7dc43e /app-emacs
parent705e9421767a98436ff6435f7a46fd44fdd649f0 (diff)
downloadgentoo-e441ee0c65b2dece09349b2d067d02df0aff213e.tar.gz
gentoo-e441ee0c65b2dece09349b2d067d02df0aff213e.tar.bz2
gentoo-e441ee0c65b2dece09349b2d067d02df0aff213e.zip
app-emacs/denote: bump to 4.1.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/denote/Manifest1
-rw-r--r--app-emacs/denote/denote-4.1.3.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/denote/Manifest b/app-emacs/denote/Manifest
index 2c9be716e155..d7400e35ed8d 100644
--- a/app-emacs/denote/Manifest
+++ b/app-emacs/denote/Manifest
@@ -1 +1,2 @@
DIST denote-4.1.2.tar.gz 290331 BLAKE2B d216ab2000461d6bd5cc46206e5b4be70b713025d16412a6af099a5ea483dc9246d886efceb2a048ede19af05faf88bf9d3195694ec57a75f32b6943b216482c SHA512 caa66de07c7df26c776553b06df54ab0e97e1ccc628e9a8258b92c969f04532de36b689469fa1d19b3acd3906ab2404dd3070fd213369940e5f17cad74040d89
+DIST denote-4.1.3.tar.gz 290390 BLAKE2B 5e542c3fcd78cda8654df591ae1673f48f7661f374625e3e7e59a81f6e94e55ee62c6f0999b546a963c020c334f2a7aca65d9d0fc7d58148cd191e2eda1f5c90 SHA512 ac17096f6459341e64c9e58c1b9368fe2ca13849cf6de5d516533371198bb4a85a9aaa99010c6f88a768f8d66141eb324e820c147cd451f0d14e399fc264606e
diff --git a/app-emacs/denote/denote-4.1.3.ebuild b/app-emacs/denote/denote-4.1.3.ebuild
new file mode 100644
index 000000000000..d07d773bf84e
--- /dev/null
+++ b/app-emacs/denote/denote-4.1.3.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
+}