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 94E72158089 for ; Fri, 20 Oct 2023 08:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BEF62BC048; Fri, 20 Oct 2023 08:53:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 54B3B2BC048 for ; Fri, 20 Oct 2023 08:53:33 +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 9447D335D27 for ; Fri, 20 Oct 2023 08:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9B9B1298 for ; Fri, 20 Oct 2023 08:53:30 +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: <1697791029.4cf20807eb1f8074e8b11e42f9df4a8c01fcb129.xgqt@gentoo> Subject: [gentoo-commits] proj/emacs-ebuild-snippets:master commit in: snippets/ebuild-mode/ X-VCS-Repository: proj/emacs-ebuild-snippets X-VCS-Files: snippets/ebuild-mode/ebuild.yas X-VCS-Directories: snippets/ebuild-mode/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 4cf20807eb1f8074e8b11e42f9df4a8c01fcb129 X-VCS-Branch: master Date: Fri, 20 Oct 2023 08:53:30 +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: eb8a221a-5cd4-49d2-840a-96732db72331 X-Archives-Hash: ad8b98043cc891520653cace1d4c2d72 commit: 4cf20807eb1f8074e8b11e42f9df4a8c01fcb129 Author: Maciej Barć gentoo org> AuthorDate: Fri Oct 20 08:37:09 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Oct 20 08:37:09 2023 +0000 URL: https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git/commit/?id=4cf20807 ebuild.yas: change key, update live template Signed-off-by: Maciej Barć gentoo.org> snippets/ebuild-mode/ebuild.yas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snippets/ebuild-mode/ebuild.yas b/snippets/ebuild-mode/ebuild.yas index 27dbf3e..77df6bb 100644 --- a/snippets/ebuild-mode/ebuild.yas +++ b/snippets/ebuild-mode/ebuild.yas @@ -19,7 +19,7 @@ # name: ebuild -# key: /ebuild +# key: ebuild= # -- @@ -31,12 +31,14 @@ EAPI=${1:8} DESCRIPTION="$2" HOMEPAGE="$3" -if [[ \${PV} == *9999* ]] ; then +if [[ "\${PV}" == *9999* ]] ; then inherit git-r3 + EGIT_REPO_URI="$3.git" else SRC_URI="$3/archive/\${PV}.tar.gz -> \${P}.tar.gz" + KEYWORDS="${4:~amd64 ~x86}" fi