From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1700840-garchives=archives.gentoo.org@lists.gentoo.org> 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 29F5815802C for <garchives@archives.gentoo.org>; Mon, 16 Dec 2024 18:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74CB5E07C5; Mon, 16 Dec 2024 18:46:46 +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 55AE9E07C5 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Dec 2024 18:46:46 +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 4EBF5335D21 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Dec 2024 18:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD3F71D95 for <gentoo-commits@lists.gentoo.org>; Mon, 16 Dec 2024 18:46:43 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1734374791.a84a6e2978051e307ba125f36809f98d90e4762a.ulm@gentoo> Subject: [gentoo-commits] repo/proj/emacs:master commit in: eclass/ X-VCS-Repository: repo/proj/emacs X-VCS-Files: eclass/elisp-common.eclass X-VCS-Directories: eclass/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a84a6e2978051e307ba125f36809f98d90e4762a X-VCS-Branch: master Date: Mon, 16 Dec 2024 18:46:43 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f42d0b4e-3677-4090-b360-b92cb8f99d87 X-Archives-Hash: 377cd3e2652ab27ee30cfb4ff5779f88 commit: a84a6e2978051e307ba125f36809f98d90e4762a Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Mon Dec 16 18:46:31 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Dec 16 18:46:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=a84a6e29 elisp-common.eclass: Sync from Gentoo repository Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/elisp-common.eclass | 55 +++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index ad9d3c7..117544e 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -25,7 +25,7 @@ # When relying on the emacs USE flag, you need to add # # @CODE -# emacs? ( >=app-editors/emacs-25.3:* ) +# emacs? ( >=app-editors/emacs-25.3:* ) # @CODE # # to your DEPEND/RDEPEND line and use the functions provided here to @@ -39,7 +39,7 @@ # NEED_EMACS with the Emacs version, as in the following example: # # @CODE -# NEED_EMACS=26.1 +# NEED_EMACS=26.1 # @CODE # # Please note that this should be done only for packages that are known @@ -54,7 +54,7 @@ # are loadable. # # @CODE -# elisp-compile *.el +# elisp-compile *.el # @CODE # # Function elisp-make-autoload-file() can be used to generate a file @@ -75,7 +75,7 @@ # (see below) the change, as it defaults to ${PN}. # # @CODE -# elisp-install ${PN} *.el *.elc +# elisp-install ${PN} *.el *.elc # @CODE # # To let the Emacs support be activated by Emacs on startup, you need @@ -84,9 +84,9 @@ # Normally this would look like this: # # @CODE -# (add-to-list 'load-path "@SITELISP@") -# (add-to-list 'auto-mode-alist '("\\.csv\\'" . csv-mode)) -# (autoload 'csv-mode "csv-mode" "Major mode for csv files." t) +# (add-to-list 'load-path "@SITELISP@") +# (add-to-list 'auto-mode-alist '("\\.csv\\'" . csv-mode)) +# (autoload 'csv-mode "csv-mode" "Major mode for csv files." t) # @CODE # # If your Emacs support files are installed in a subdirectory of @@ -117,13 +117,13 @@ # your ebuild (e.g., right after S or RDEPEND): # # @CODE -# SITEFILE="50${PN}-gentoo.el" +# SITEFILE="50${PN}-gentoo.el" # @CODE # # Which is then installed by # # @CODE -# elisp-site-file-install "${FILESDIR}/${SITEFILE}" +# elisp-site-file-install "${FILESDIR}/${SITEFILE}" # @CODE # # in src_install(). Any characters after the "-gentoo" part and before @@ -137,7 +137,7 @@ # and install a site-init file that does just that: # # @CODE -# elisp-make-site-file "${SITEFILE}" +# elisp-make-site-file "${SITEFILE}" # @CODE # # Again, this must be called in src_install(). See the function's @@ -153,7 +153,7 @@ # version. In this case, you can add an explicit check in pkg_setup: # # @CODE -# elisp-check-emacs-version +# elisp-check-emacs-version # @CODE # # When having optional Emacs support, you should prepend "use emacs &&" @@ -165,13 +165,13 @@ # emerging and unmerging by using # # @CODE -# pkg_postinst() { -# elisp-site-regen -# } +# pkg_postinst() { +# elisp-site-regen +# } # -# pkg_postrm() { -# elisp-site-regen -# } +# pkg_postrm() { +# elisp-site-regen +# } # @CODE # # Again, with optional Emacs support, you should prepend "use emacs &&" @@ -260,7 +260,6 @@ elisp-emacs-version() { } # @FUNCTION: elisp-check-emacs-version -# @USAGE: [version] # @DESCRIPTION: # Test if the eselected Emacs version is at least the version of # GNU Emacs specified in the NEED_EMACS variable, or die otherwise. @@ -356,8 +355,8 @@ elisp-make-autoload-file() { # # Example: # @CODE -# elisp-org-export-to texinfo README.org -# mv README.texi ${PN}.texi || die +# elisp-org-export-to texinfo README.org +# mv README.texi ${PN}.texi || die # @CODE elisp-org-export-to() { @@ -512,16 +511,16 @@ elisp-test-ert() { # # Example: # @CODE -# inherit elisp-common +# inherit elisp-common # -# ... +# ... # -# elisp-enable-tests --optional ert-runner "${S}"/elisp -t "!org" +# elisp-enable-tests --optional ert-runner "${S}"/elisp -t "!org" # -# src_test() { -# emake -C tests test -# elisp-test -# } +# src_test() { +# emake -C tests test +# elisp-test +# } # @CODE elisp-enable-tests() { @@ -662,7 +661,7 @@ elisp-site-file-install() { # this will add the package's SITELISP subdirectory to Emacs' load-path: # # @CODE -# (add-to-list 'load-path "@SITELISP@") +# (add-to-list 'load-path "@SITELISP@") # @CODE # # Additional arguments are appended as lines to the destination file.