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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C80715802C for ; Mon, 16 Dec 2024 23:26:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A488E080E; Mon, 16 Dec 2024 23:26:07 +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 AF613E080E for ; Mon, 16 Dec 2024 23:26:04 +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 A49F933BF41 for ; Mon, 16 Dec 2024 23:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BB011F28 for ; Mon, 16 Dec 2024 23:26:02 +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: <1734391556.cc217925709ef8ad77a9b8040af409a7b909dee8.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.1.0.ebuild X-VCS-Directories: app-emacs/compat/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: cc217925709ef8ad77a9b8040af409a7b909dee8 X-VCS-Branch: master Date: Mon, 16 Dec 2024 23:26:02 +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: 55badcc8-08c4-4317-9dda-02d34ecc7f0f X-Archives-Hash: 45c262bde78249288c711d2f5f0fcaf9 commit: cc217925709ef8ad77a9b8040af409a7b909dee8 Author: Maciej Barć gentoo org> AuthorDate: Mon Dec 16 23:10:06 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Dec 16 23:25:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc217925 app-emacs/compat: bump to 30.0.1.0 Signed-off-by: Maciej Barć gentoo.org> app-emacs/compat/Manifest | 1 + app-emacs/compat/compat-30.0.1.0.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest index 8bf06fd151ce..099613812f0e 100644 --- a/app-emacs/compat/Manifest +++ b/app-emacs/compat/Manifest @@ -1 +1,2 @@ DIST compat-30.0.0.0.tar.gz 140329 BLAKE2B 7de4dffc518e521d0c15d3deb0f544972eb6660e19e3028f956b39b9ce355901f3d39339d9f2060a3b7754d67ec9ce92a720cc83afc468f3a2cedc189d8eb922 SHA512 04e2c26f6c1fbb78fc0f2de70913694b3f37614a6992b2a36cec5288c2083481701bdfb7d7e981582c8b22cf61b71e5a3e6011f86c1602331a26ad61c1fe2f66 +DIST compat-30.0.1.0.tar.gz 142477 BLAKE2B dc0f912f8c019846a6dde9c3013527589cb7b8f21cbc3478c16f0dd0edfca15a71f67df91b417ff26a401954b047bc7f6a7fc8efd6d874e3e96e17cf3acd16dd SHA512 cbab795c8ef890307eb6e161d900948a84948ea4b2462056a39ca21e8a4d0aebc985f7ff536658156e9d6e760e33b2b234bc2460f64193b9d07b733a267c1dfe diff --git a/app-emacs/compat/compat-30.0.1.0.ebuild b/app-emacs/compat/compat-30.0.1.0.ebuild new file mode 100644 index 000000000000..0de9f6e50e90 --- /dev/null +++ b/app-emacs/compat/compat-30.0.1.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 +}