summaryrefslogtreecommitdiff
path: root/app-emacs/persist
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/persist')
-rw-r--r--app-emacs/persist/Manifest2
-rw-r--r--app-emacs/persist/persist-0.6.1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/persist/Manifest b/app-emacs/persist/Manifest
index 31ec6b70a1cf..87d8815eecf2 100644
--- a/app-emacs/persist/Manifest
+++ b/app-emacs/persist/Manifest
@@ -1,3 +1,5 @@
+DIST persist-0.6.1.tar.gz 6777 BLAKE2B 4e5ae7cef591fcfb7fd7084e38294bc6000d9b1ed2d9b83ea54c1f6fe4f4cbb4144df51a5df9fcc654d459c58e105e58c53cfe841df0eeeafd95ed127797cb2d SHA512 e7b2d2e09cea26a37142d66e95f640e37640ebcf8434b284650c6126475c8844476c164b00ffc3cbecb021bb6963a19ede2720ae2e892d45d8986ede6de3f28a
DIST persist-0.6.tar.xz 5852 BLAKE2B 4cee1485109e3215ce739c0c286e2076c19cf86eb23305adc9203f40ac1d08ed1de19def3ffe4361d062bae75ba38ef380636bbf5fbe58f4aa7127771198e378 SHA512 280a1a26a61f1ee7b1e2186917e7b414b14886ef32fa1b63c0416267991ae65f5c46feaaa384a6c15d2f7975841a6bb9901353420db4d6f308cf72c5035bfd66
+EBUILD persist-0.6.1.ebuild 943 BLAKE2B 4e2b157786d5e1b2a1c986c1ef997ca5a462613bbda650cb62d895e4d6f07d705c6d6a853cf52e2b9d2ebd1fac653c3b2174b9181a906ce6e47f28f05b091c2e SHA512 586cb2092a9bdb48cbe5fb694a684f44e6396647627155e7642d9786d2e9f48aa7681a11e498ac59aa764ab0b1298eca5e56453484dd6b5fe120dff05640dc29
EBUILD persist-0.6.ebuild 485 BLAKE2B 7826d1bf99364c96a0a9c0e04d13fee339d699faee35e6625e5a0d3c8166b9326ca02bdfa60f03e0a56bda2b93554364e10d4501e87d7bdef18d62043bcae4f4 SHA512 a1a96087736110e8eeaaebae6b0d4ce4f789b951e5141df7a4600809cb284e9e3b4f321ad22e6c86eab4ffa831afd19fea52cf560b4ee5821d552ff9296e606b
MISC metadata.xml 269 BLAKE2B e431fc3cbf82ae368f62ce9c0a0779eef2141b1d6aef94a47a87d29c92f5fae3f9cbcfbe59ab14a74bee673698b61a7446e4ade1804f330a9e2926b43ad3e700 SHA512 2899510a1184404b72d35aea6d963bfe2be26922150cd2f1f68107c22055a12e5b9ac54d9c07ad539ddaa204624ddf61990a3272ef4aa3f31e10b0a78b2fcc9a
diff --git a/app-emacs/persist/persist-0.6.1.ebuild b/app-emacs/persist/persist-0.6.1.ebuild
new file mode 100644
index 000000000000..8f745ad5237e
--- /dev/null
+++ b/app-emacs/persist/persist-0.6.1.ebuild
@@ -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
+}