From 1bcf01f1248bf62b35c5a4887e2d48aa592ac957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Thu, 23 Oct 2025 21:53:13 +0200 Subject: [PATCH] app-emacs/denote: bump to 4.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/denote/Manifest | 1 + app-emacs/denote/denote-4.1.1.ebuild | 55 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 app-emacs/denote/denote-4.1.1.ebuild diff --git a/app-emacs/denote/Manifest b/app-emacs/denote/Manifest index 9339de161ee81..72cb36a9e7808 100644 --- a/app-emacs/denote/Manifest +++ b/app-emacs/denote/Manifest @@ -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 diff --git a/app-emacs/denote/denote-4.1.1.ebuild b/app-emacs/denote/denote-4.1.1.ebuild new file mode 100644 index 0000000000000..d07d773bf84e8 --- /dev/null +++ b/app-emacs/denote/denote-4.1.1.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 +}