app-emacs/denote: bump to 4.1.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-23 21:53:13 +02:00
parent 7e5f201adb
commit 1bcf01f124
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.0.0.tar.gz 269318 BLAKE2B f8aab7a1c682ba4a8ff55796275670e2079e6a382ae81a5697995f4963de5a5b47ce594c76d0033247c91cad7f3a06e1d8b0751bb51043ad7cf97eb7369ca101 SHA512 d12c7c37daac149f330fa65a0f0d9611fc0d78b1bf50bfcefb3ee9c5f51e2d24d3a84832179ae3469e096cf52346707e232343102b70d533500916e535b05a25
DIST denote-4.1.1.tar.gz 288844 BLAKE2B 6fcf4ec4f88cbb57380d3b9ec9a5e953c5c5be187565c15bccf0b61729084a1a21549f77c0da969af39c008ef946e937a04c92426008f576ce8040a695b8f9a4 SHA512 6cff5ac22cc1dff66d77f67edb1849c226001f55da22674cef2ea823d1d354075d949316b578f4a0421e79a604f7ad061b090eb762901f2332c78c07b620cfa6

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
}