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 64019158089 for ; Mon, 13 Nov 2023 12:38:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EC162BC01D; Mon, 13 Nov 2023 12:38:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19C8C2BC01D for ; Mon, 13 Nov 2023 12:38:12 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AE66335D6A for ; Mon, 13 Nov 2023 12:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E0F7136B for ; Mon, 13 Nov 2023 12:38:09 +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: <1699879080.3f36bd4d40e605b647fdb807474c080a6a89b427.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-29.1.4.4.ebuild X-VCS-Directories: app-emacs/compat/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 3f36bd4d40e605b647fdb807474c080a6a89b427 X-VCS-Branch: master Date: Mon, 13 Nov 2023 12:38:09 +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: 62a9ff00-cef4-4f1a-b278-e95b457a0550 X-Archives-Hash: f356610f6e299725f10b8136b35a3065 commit: 3f36bd4d40e605b647fdb807474c080a6a89b427 Author: Maciej Barć gentoo org> AuthorDate: Mon Nov 13 12:16:04 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Nov 13 12:38:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f36bd4d app-emacs/compat: bump to 29.1.4.4 Signed-off-by: Maciej Barć gentoo.org> app-emacs/compat/Manifest | 1 + app-emacs/compat/compat-29.1.4.4.ebuild | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest index d7aab19cc37c..aa24480a8ca7 100644 --- a/app-emacs/compat/Manifest +++ b/app-emacs/compat/Manifest @@ -1 +1,2 @@ DIST compat-29.1.4.2.tar.gz 128695 BLAKE2B e02d431c307b08d07888362a20fb597cfcb275b645522229a116169eff7f875ff3dbf23bb1344249fa8ac2b25cf7ade20752ce9e97188a49d851ba5ae1dfa8cb SHA512 a31fb1564b1bad20f0f7a0a400e9834e88c2e21b8c022ce4696e27cddc351b7c882765235accde0b3f4a417680699bc5bb69f7485436c8e64d799e8a5ac9e390 +DIST compat-29.1.4.4.tar.gz 129900 BLAKE2B 460aa851cbb341290cef250e70bf501a30cd174cd135ea429f7a3aa71597804c802c4225424072b49b4b7726b6e31c0ba36e6c0a4e154a2048075697656c2d31 SHA512 b6ecfde494dc5b1e96ed6d6cb450b3b647761c30128859a03d0d054e633227dd0714dd4ee8d39cf9eb4d702e9f08feaba41c39d91e6871724c458173e16d9e89 diff --git a/app-emacs/compat/compat-29.1.4.4.ebuild b/app-emacs/compat/compat-29.1.4.4.ebuild new file mode 100644 index 000000000000..4c6643fbd200 --- /dev/null +++ b/app-emacs/compat/compat-29.1.4.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 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/" +SRC_URI="https://github.com/emacs-compat/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +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 +}