From: Arthur Zamarin <arthurzam@gentoo.org>
To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Cc: common-lisp@gentoo.org
Subject: Re: [gentoo-dev] [PATCH 1/2] common-lisp-3.eclass: Support EAPI 8
Date: Sat, 8 Jun 2024 22:43:58 +0300 [thread overview]
Message-ID: <f5bcf7cd-b4a0-4bd8-9a89-7674fedaa413@gentoo.org> (raw)
In-Reply-To: <20240608194034.7741-1-ulm@gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 2284 bytes --]
On 08/06/2024 22.40, Ulrich Müller wrote:
> Minor stylistic changes.
>
> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
> ---
> eclass/common-lisp-3.eclass | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass
> index 26d31268a598..12c7221e41ce 100644
> --- a/eclass/common-lisp-3.eclass
> +++ b/eclass/common-lisp-3.eclass
> @@ -1,17 +1,17 @@
> -# Copyright 1999-2023 Gentoo Authors
> +# Copyright 1999-2024 Gentoo Authors
> # Distributed under the terms of the GNU General Public License v2
>
> # @ECLASS: common-lisp-3.eclass
> # @MAINTAINER:
> # Common Lisp project <common-lisp@gentoo.org>
> -# @SUPPORTED_EAPIS: 6 7
> +# @SUPPORTED_EAPIS: 6 7 8
> # @BLURB: functions to support the installation of Common Lisp libraries
> # @DESCRIPTION:
> # Since Common Lisp libraries share similar structure, this eclass aims
> # to provide a simple way to write ebuilds with these characteristics.
>
> case ${EAPI} in
> - 6|7) ;;
> + 6|7|8) ;;
> *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
> esac
>
> @@ -121,7 +121,7 @@ common-lisp-install-sources() {
>
> local fpredicate=$(common-lisp-get-fpredicate "${ftype}")
>
> - for path in "${@}" ; do
> + for path ; do
> if [[ -f ${path} ]] ; then
> common-lisp-install-one-source ${fpredicate} "${path}" "$(dirname "${path}")"
> elif [[ -d ${path} ]] ; then
> @@ -148,7 +148,7 @@ common-lisp-install-sources() {
> # Installs ${1} asdf file in CLSOURCEROOT/CLPACKAGE and symlinks it in
> # CLSYSTEMROOT.
> common-lisp-install-one-asdf() {
> - [[ $# != 1 ]] && die "${FUNCNAME[0]} must receive exactly one argument"
> + [[ $# = 1 ]] || die "${FUNCNAME[0]} must receive exactly one argument"
>
> # the suffix «.asd» is optional
> local source=${1%.asd}.asd
> @@ -168,7 +168,7 @@ common-lisp-install-asdf() {
>
> [[ $# = 0 ]] && set - ${CLSYSTEMS}
> [[ $# = 0 ]] && set - $(find . -type f -name \*.asd)
> - for sys in "${@}" ; do
> + for sys ; do
> common-lisp-install-one-asdf ${sys}
> done
> }
LGTM, thanks!
--
Arthur Zamarin
arthurzam@gentoo.org
Gentoo Linux developer (Python, pkgcore stack, QA, Arch Teams, GURU)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-06-08 19:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-08 19:40 [gentoo-dev] [PATCH 1/2] common-lisp-3.eclass: Support EAPI 8 Ulrich Müller
2024-06-08 19:40 ` [gentoo-dev] [PATCH 2/2] common-lisp-3.eclass: sbcl supports --no-sysinit --no-userinit Ulrich Müller
2024-06-08 19:43 ` Arthur Zamarin [this message]
2024-06-08 19:45 ` [gentoo-dev] Re: [PATCH 1/2] common-lisp-3.eclass: Support EAPI 8 Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5bcf7cd-b4a0-4bd8-9a89-7674fedaa413@gentoo.org \
--to=arthurzam@gentoo.org \
--cc=common-lisp@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=ulm@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox