From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E3621581C1 for ; Fri, 12 Jul 2024 12:35:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38A312BC085; Fri, 12 Jul 2024 12:35:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07BDA2BC07D for ; Fri, 12 Jul 2024 12:35:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C3BC33BEED for ; Fri, 12 Jul 2024 12:35:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7EA691E19 for ; Fri, 12 Jul 2024 12:35:34 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1720787730.9135c39fba064553d15884e108ddfd504485ff89.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/compat/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/compat/Manifest app-emacs/compat/compat-30.0.0.0.ebuild X-VCS-Directories: app-emacs/compat/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 9135c39fba064553d15884e108ddfd504485ff89 X-VCS-Branch: master Date: Fri, 12 Jul 2024 12:35:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e91de5ce-c4fb-4ad5-9052-5083c4ce5316 X-Archives-Hash: 096fda6d78b6dc7fbddbf314ba481695 commit: 9135c39fba064553d15884e108ddfd504485ff89 Author: Maciej Barć gentoo org> AuthorDate: Fri Jul 12 12:18:06 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Jul 12 12:35:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9135c39f app-emacs/compat: bump to 30.0.0.0 Signed-off-by: Maciej Barć gentoo.org> app-emacs/compat/Manifest | 1 + app-emacs/compat/compat-30.0.0.0.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest index 6e0e36dbf0f1..a84805aac48a 100644 --- a/app-emacs/compat/Manifest +++ b/app-emacs/compat/Manifest @@ -1 +1,2 @@ DIST compat-29.1.4.5.tar.gz 130079 BLAKE2B 84b3293bec535d7f653d0aa3fac069e230c030ccf809d0a606b068d9d663e078274d15d57ca56fc180208de69ae4fee554fbc3d5e8c78394789ee756665e980f SHA512 9682224a1ab5238c7f584121652c55df257fd050279e8356632b2aafef4045dc89b2dfd20cf8f5030dda1d96db40c993cdc3ac0efd0263d23beee8310def0849 +DIST compat-30.0.0.0.tar.gz 140329 BLAKE2B 7de4dffc518e521d0c15d3deb0f544972eb6660e19e3028f956b39b9ce355901f3d39339d9f2060a3b7754d67ec9ce92a720cc83afc468f3a2cedc189d8eb922 SHA512 04e2c26f6c1fbb78fc0f2de70913694b3f37614a6992b2a36cec5288c2083481701bdfb7d7e981582c8b22cf61b71e5a3e6011f86c1602331a26ad61c1fe2f66 diff --git a/app-emacs/compat/compat-30.0.0.0.ebuild b/app-emacs/compat/compat-30.0.0.0.ebuild new file mode 100644 index 000000000000..0de9f6e50e90 --- /dev/null +++ b/app-emacs/compat/compat-30.0.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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_compile() { + emake compile "${PN}.info" +} + +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 +}