app-emacs/denote: bump to 4.1.3

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-12-04 17:24:00 +01:00
parent 705e942176
commit e441ee0c65
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 56 additions and 0 deletions

View File

@ -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

View File

@ -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
}