commit: 4156bccff7081a18bd5bcad1afa3f80693121606 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Wed Apr 16 07:28:42 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Wed Apr 16 08:16:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4156bccf
app-emacs/denote: bump to 4.0.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/denote/Manifest | 1 + app-emacs/denote/denote-4.0.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-emacs/denote/Manifest b/app-emacs/denote/Manifest index 3544d0c162fb..d563634ea595 100644 --- a/app-emacs/denote/Manifest +++ b/app-emacs/denote/Manifest @@ -1 +1,2 @@ DIST denote-3.1.0.tar.gz 261197 BLAKE2B f729aba152456f579bf1c5548390be906a326df7210672b6bf5072f4bd8b25273e791f627d22ebf9ba70a0ef78635ea91abca6cf7752c84e0ae8b27be436f078 SHA512 44b089c3fb9bc66646670134f5909512c21c7eb429553e0b5d16cec72fdd7825cdf94d3d96b70e0c06ab739eb4bd905ba0315bf639d0951e96487e69b8d033f3 +DIST denote-4.0.0.tar.gz 269318 BLAKE2B f8aab7a1c682ba4a8ff55796275670e2079e6a382ae81a5697995f4963de5a5b47ce594c76d0033247c91cad7f3a06e1d8b0751bb51043ad7cf97eb7369ca101 SHA512 d12c7c37daac149f330fa65a0f0d9611fc0d78b1bf50bfcefb3ee9c5f51e2d24d3a84832179ae3469e096cf52346707e232343102b70d533500916e535b05a25 diff --git a/app-emacs/denote/denote-4.0.0.ebuild b/app-emacs/denote/denote-4.0.0.ebuild new file mode 100644 index 000000000000..92d1a0bb7722 --- /dev/null +++ b/app-emacs/denote/denote-4.0.0.ebuild @@ -0,0 +1,53 @@ +# 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-get-identifier + ) + 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 +}
