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 730A0158095 for ; Sun, 24 Jul 2022 10:52:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADEA6E0E4F; Sun, 24 Jul 2022 10:52:19 +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 77D36E0E4E for ; Sun, 24 Jul 2022 10:52:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 37635340F5D for ; Sun, 24 Jul 2022 10:52:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2A9654D for ; Sun, 24 Jul 2022 10:52:16 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1658659673.f5a238b85565e6e0d46f06ee75d320d6f2025232.matthew@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-28.1.2.0.ebuild X-VCS-Directories: app-emacs/compat/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: f5a238b85565e6e0d46f06ee75d320d6f2025232 X-VCS-Branch: master Date: Sun, 24 Jul 2022 10:52:16 +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: ffbea039-184a-4d4d-933d-359879d65bfc X-Archives-Hash: b52872f8812c0db6f9fcee7fde95949b commit: f5a238b85565e6e0d46f06ee75d320d6f2025232 Author: Matthew Smith gentoo org> AuthorDate: Sun Jul 24 10:47:53 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sun Jul 24 10:47:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a238b8 app-emacs/compat: add 28.1.2.0 Signed-off-by: Matthew Smith gentoo.org> app-emacs/compat/Manifest | 1 + app-emacs/compat/compat-28.1.2.0.ebuild | 43 +++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest index c3465f8b913d..7208e4487f42 100644 --- a/app-emacs/compat/Manifest +++ b/app-emacs/compat/Manifest @@ -1,2 +1,3 @@ DIST compat-28.1.1.1.tar.gz 71771 BLAKE2B 48feaada7e32f07b425048f8b993b2936450dbed8ba20e0f6319d4b098bcc8007323416bf300221a00fb13ff152698c2beaeea6e743d46b1d32b9c0a016a895c SHA512 e733836934671cb373f70a92a20084622e160f2731c5e5c6ce9df348820261db399da0e78d6b95293d9b6992469e96298e9fe83e331a4caaa377fc6ce61f7040 DIST compat-28.1.1.3.tar.gz 72597 BLAKE2B 82186713370fed7f97eb057cb330d77c1d758224ad37c0b7fbbd21221b0d2ffd68be805483f3e9577866f02079c83a5686918c87a1ed7c67c9acdd64aa3a560b SHA512 d65e5ce666607cd6d26cf771d6878caeb6641aff0fc924ec901955c1a03b6fe42e3527220448fa92a8d6c3f5bd65e6f915ed4ada1be01a29d7919f916826e48f +DIST compat-28.1.2.0.tar.gz 72597 BLAKE2B 82186713370fed7f97eb057cb330d77c1d758224ad37c0b7fbbd21221b0d2ffd68be805483f3e9577866f02079c83a5686918c87a1ed7c67c9acdd64aa3a560b SHA512 d65e5ce666607cd6d26cf771d6878caeb6641aff0fc924ec901955c1a03b6fe42e3527220448fa92a8d6c3f5bd65e6f915ed4ada1be01a29d7919f916826e48f diff --git a/app-emacs/compat/compat-28.1.2.0.ebuild b/app-emacs/compat/compat-28.1.2.0.ebuild new file mode 100644 index 000000000000..8a61c3a356a2 --- /dev/null +++ b/app-emacs/compat/compat-28.1.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=2c3233c0e09ef34176787b6e3da4319751ad91e7 +NEED_EMACS=24 + +inherit elisp + +DESCRIPTION="Compatibility libraries for Emacs" +HOMEPAGE="https://git.sr.ht/~pkal/compat/" +SRC_URI="https://git.sr.ht/~pkal/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~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 +}