From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/compat/
Date: Tue, 01 Jul 2025 00:33:18 +0000 (UTC) [thread overview]
Message-ID: <1751329993.b820bc08c713f776a62060952e9ef3044d943f46.xgqt@gentoo> (raw)
commit: b820bc08c713f776a62060952e9ef3044d943f46
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 23:09:22 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 1 00:33:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b820bc08
app-emacs/compat: bump to 30.1.0.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/compat/Manifest | 1 +
app-emacs/compat/compat-30.1.0.1.ebuild | 67 +++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest
index cd71486300e6..2d84431ebeea 100644
--- a/app-emacs/compat/Manifest
+++ b/app-emacs/compat/Manifest
@@ -1,2 +1,3 @@
DIST compat-30.0.2.0.tar.gz 142328 BLAKE2B aed05c7b352076a455185760e2a90515f15e4606d2845791ec7e77e89724bc6177cca6669d5f7955b6d1c728824502e634340b0db12cd800b6e61c567e20ae73 SHA512 4706d161e352987897cf23bd50c9afdb4e861e39f829031a0f5c4693c8c0b84a181ec1a21023438d0d3b85d2164edcdd839bacb11ef158ec60d4a945d7b1d436
DIST compat-30.1.0.0.tar.gz 143888 BLAKE2B 095e3a85278d5b212e54ad39d027333a03bb176fe599f49160e1286c322318c0d46b6a80f70f7b0a58426300c1fdc0b4bfaf2ad790ac8b716e87f525ad10257f SHA512 e95f159d69446d2ea0a21a3a993343de4b38f1f754a2fbc742ac53507baca45000476c6f3385d5b2ab107596ae501b8da3467a10db62465fa00e8c4ce620d4cc
+DIST compat-30.1.0.1.tar.gz 143977 BLAKE2B 9142e0cbb1e0fc4c0f76787b5daa67977bb3dc644c6634679dd00c3428fc3f4a3f98d4b59fe6f5bbaa2747507b2ec4c84f98a0f0372dd8bc5e52151d22cd0ca4 SHA512 ae68489643c49bf669d06efb339f1bd402a8e50677c4eaa474d0c9c3721cd2bbd41c9479f82ae87c37cdcdcf95c98ae6791656c1a3d36b8a9edbe4c9a1acd507
diff --git a/app-emacs/compat/compat-30.1.0.1.ebuild b/app-emacs/compat/compat-30.1.0.1.ebuild
new file mode 100644
index 000000000000..1997dd5aeb02
--- /dev/null
+++ b/app-emacs/compat/compat-30.1.0.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Compatibility libraries for Emacs"
+HOMEPAGE="https://github.com/emacs-compat/compat/
+ https://git.sr.ht/~pkal/compat/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/emacs-compat/${PN}.git"
+else
+ SRC_URI="https://github.com/emacs-compat/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+BDEPEND="
+ sys-apps/texinfo
+"
+
+ELISP_TEXINFO="${PN}.texi"
+
+src_prepare() {
+ elisp_src_prepare
+
+ # Skip failing test.
+ local -a skip_tests=(
+ compat-read-answer
+ compat-read-multiple-choice
+ )
+ local skip_test=""
+ for skip_test in "${skip_tests[@]}"; do
+ sed -i "/${skip_test}/a (ert-skip nil)" ./compat-tests.el || die
+ done
+}
+
+src_test() {
+ local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 'json-parse-string))")"
+ if [[ "${has_json}" != t ]] ; then
+ local line
+ while read line ; do
+ ewarn "${line}"
+ done <<-EOF
+ Your current Emacs version does not support native JSON parsing,
+ which is required for running tests of ${CATEGORY}/${PN}.
+ Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs"
+ to select that version.
+ EOF
+ else
+ emake test
+ fi
+}
+
+src_install() {
+ rm ./compat-tests.el || die
+
+ elisp_src_install
+}
next reply other threads:[~2025-07-01 0:33 UTC|newest]
Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-01 0:33 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-09 21:26 [gentoo-commits] repo/gentoo:master commit in: app-emacs/compat/ Maciej Barć
2025-08-07 22:22 Sam James
2025-08-07 20:54 Maciej Barć
2025-07-04 1:18 Sam James
2025-06-22 11:51 Sam James
2025-04-16 8:16 Maciej Barć
2025-02-19 7:32 Arthur Zamarin
2025-02-04 23:21 Sam James
2025-01-06 22:18 Maciej Barć
2024-12-23 17:56 Ulrich Müller
2024-12-23 11:59 Maciej Barć
2024-12-16 23:26 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-07-12 12:35 Maciej Barć
2024-05-14 22:21 Maciej Barć
2024-04-23 1:31 Sam James
2024-03-20 19:30 Maciej Barć
2024-01-15 21:20 Maciej Barć
2024-01-03 8:10 Sam James
2023-12-15 2:33 Sam James
2023-11-13 12:38 Maciej Barć
2023-09-10 15:35 Maciej Barć
2023-09-02 15:35 Sam James
2023-08-02 14:11 Maciej Barć
2023-06-24 22:39 Sam James
2023-05-13 14:51 Jakov Smolić
2023-05-13 10:57 Maciej Barć
2023-05-13 10:57 Maciej Barć
2023-04-27 23:32 Sam James
2023-04-02 1:45 Sam James
2023-03-28 0:57 Maciej Barć
2023-03-13 22:48 Sam James
2023-03-13 12:01 Maciej Barć
2023-03-13 12:01 Maciej Barć
2023-03-06 15:33 Maciej Barć
2023-03-06 15:33 Maciej Barć
2023-02-12 0:48 Maciej Barć
2023-02-10 20:36 Sam James
2023-02-08 15:01 Maciej Barć
2023-02-08 15:01 Maciej Barć
2023-02-08 15:01 Maciej Barć
2023-02-02 17:46 Maciej Barć
2023-01-27 13:02 Maciej Barć
2023-01-27 13:02 Maciej Barć
2023-01-27 13:02 Maciej Barć
2023-01-23 7:57 Maciej Barć
2023-01-18 10:30 Maciej Barć
2023-01-16 14:32 Sam James
2023-01-16 12:20 Maciej Barć
2023-01-16 12:20 Maciej Barć
2023-01-09 21:16 Maciej Barć
2023-01-09 21:16 Maciej Barć
2023-01-09 21:16 Maciej Barć
2023-01-06 19:17 Maciej Barć
2023-01-03 23:25 Sam James
2023-01-03 23:25 Sam James
2022-10-17 19:23 Sam James
2022-10-17 17:30 Arthur Zamarin
2022-10-15 14:28 Arthur Zamarin
2022-10-08 20:29 Maciej Barć
2022-10-08 20:29 Maciej Barć
2022-08-27 1:27 Maciej Barć
2022-08-14 20:06 Sam James
2022-07-24 10:52 Matthew Smith
2022-07-24 10:52 Matthew Smith
2022-06-21 20:38 Ulrich Müller
2022-06-21 20:02 Ulrich Müller
2022-06-21 19:47 Maciej Barć
2022-06-21 19:36 Maciej Barć
2022-06-21 17:48 Maciej Barć
2022-06-21 13:36 Maciej Barć
2022-05-29 14:47 Matthew Smith
2022-05-29 7:41 Matthew Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1751329993.b820bc08c713f776a62060952e9ef3044d943f46.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox