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 4559415813A for ; Mon, 06 Jan 2025 22:18:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8C21E0817; Mon, 06 Jan 2025 22:18:27 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73779E07C7 for ; Mon, 06 Jan 2025 22:18:27 +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 8692F34106C for ; Mon, 06 Jan 2025 22:18:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9DDF1D3B for ; Mon, 06 Jan 2025 22:18:24 +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: <1736201899.9e16db1a39c1cbba6801529a20dcb6e829decb80.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.2.0.ebuild X-VCS-Directories: app-emacs/compat/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 9e16db1a39c1cbba6801529a20dcb6e829decb80 X-VCS-Branch: master Date: Mon, 06 Jan 2025 22:18:24 +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: 591ada44-5cc5-4537-9dcd-f6cf32044c6e X-Archives-Hash: 226d5581c1a155e9a8582abbe282c0ef commit: 9e16db1a39c1cbba6801529a20dcb6e829decb80 Author: Maciej Barć gentoo org> AuthorDate: Mon Jan 6 21:34:31 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Jan 6 22:18:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e16db1a app-emacs/compat: bump to 30.0.2.0 Signed-off-by: Maciej Barć gentoo.org> app-emacs/compat/Manifest | 1 + app-emacs/compat/compat-30.0.2.0.ebuild | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/app-emacs/compat/Manifest b/app-emacs/compat/Manifest index 099613812f0e..337bf4f24898 100644 --- a/app-emacs/compat/Manifest +++ b/app-emacs/compat/Manifest @@ -1,2 +1,3 @@ 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 +DIST compat-30.0.2.0.tar.gz 142328 BLAKE2B aed05c7b352076a455185760e2a90515f15e4606d2845791ec7e77e89724bc6177cca6669d5f7955b6d1c728824502e634340b0db12cd800b6e61c567e20ae73 SHA512 4706d161e352987897cf23bd50c9afdb4e861e39f829031a0f5c4693c8c0b84a181ec1a21023438d0d3b85d2164edcdd839bacb11ef158ec60d4a945d7b1d436 diff --git a/app-emacs/compat/compat-30.0.2.0.ebuild b/app-emacs/compat/compat-30.0.2.0.ebuild new file mode 100644 index 000000000000..dca8f1fa5a52 --- /dev/null +++ b/app-emacs/compat/compat-30.0.2.0.ebuild @@ -0,0 +1,53 @@ +# 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_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 +}