app-emacs/persist: bump to 0.6.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-09-13 18:24:02 +02:00
parent a4cfc89f4f
commit ee6e6db55f
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST persist-0.6.1.tar.gz 6777 BLAKE2B 4e5ae7cef591fcfb7fd7084e38294bc6000d9b1ed2d9b83ea54c1f6fe4f4cbb4144df51a5df9fcc654d459c58e105e58c53cfe841df0eeeafd95ed127797cb2d SHA512 e7b2d2e09cea26a37142d66e95f640e37640ebcf8434b284650c6126475c8844476c164b00ffc3cbecb021bb6963a19ede2720ae2e892d45d8986ede6de3f28a
DIST persist-0.6.tar.xz 5852 BLAKE2B 4cee1485109e3215ce739c0c286e2076c19cf86eb23305adc9203f40ac1d08ed1de19def3ffe4361d062bae75ba38ef380636bbf5fbe58f4aa7127771198e378 SHA512 280a1a26a61f1ee7b1e2186917e7b414b14886ef32fa1b63c0416267991ae65f5c46feaaa384a6c15d2f7975841a6bb9901353420db4d6f308cf72c5035bfd66

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
[[ "${PV}" == "0.6.1" ]] && COMMIT="5ea8f32ef50ce2b444d6918e17eedce9f74629af"
inherit elisp
DESCRIPTION="Persist variables between Emacs sessions"
HOMEPAGE="https://elpa.gnu.org/packages/persist.html"
SRC_URI="https://git.savannah.gnu.org/gitweb/?p=emacs/elpa.git;a=snapshot;h=${COMMIT};sf=tgz
-> ${P}.tar.gz"
S="${WORKDIR}/elpa-${COMMIT:0:7}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# ELISP_TEXINFO="${PN}.texi" # Broken.
SITEFILE="50${PN}-gentoo.el"
elisp-enable-tests ert test -l test/persist-tests.el
src_prepare() {
default
# Skip failing tests. Tests are marked as "WORK IN PROGRESS" at the
# top of the file.
local -a skip_tests=(
test-persist-save-hash
)
local skip_test=""
for skip_test in "${skip_tests[@]}"; do
sed -i "/${skip_test}/a (ert-skip nil)" test/persist-tests.el || die
done
}