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 CDE6015A7DA for ; Mon, 13 Mar 2023 19:47:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 011B7E085A; Mon, 13 Mar 2023 19:47:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 DD40AE085A for ; Mon, 13 Mar 2023 19:47:11 +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 116AA343BE5 for ; Mon, 13 Mar 2023 19:47:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99D248E0 for ; Mon, 13 Mar 2023 19:47:09 +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: <1678736769.6116db998e5239605bf659f883186dd6ff749f94.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: 6116db998e5239605bf659f883186dd6ff749f94 X-VCS-Branch: master Date: Mon, 13 Mar 2023 19:47:09 +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: a1d9f1ce-b1c6-41ee-97b4-c0dd2687e499 X-Archives-Hash: 5417ff57e61847b51f712ce8577a6d28 commit: 6116db998e5239605bf659f883186dd6ff749f94 Author: Maciej Barć gentoo org> AuthorDate: Mon Mar 13 19:46:09 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Mar 13 19:46:09 2023 +0000 URL: https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git/commit/?id=6116db99 ebuild.yas: add SRC corrections; unquoite PV Signed-off-by: Maciej Barć gentoo.org> snippets/ebuild-mode/ebuild.yas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/snippets/ebuild-mode/ebuild.yas b/snippets/ebuild-mode/ebuild.yas index 5823db8..1c16d3e 100644 --- a/snippets/ebuild-mode/ebuild.yas +++ b/snippets/ebuild-mode/ebuild.yas @@ -31,11 +31,12 @@ EAPI=${1:8} DESCRIPTION="$2" HOMEPAGE="$3" -if [[ "\${PV}" == *9999* ]] ; then +if [[ \${PV} == *9999* ]] ; then inherit git-r3 - EGIT_REPO_URI="$3" + EGIT_REPO_URI="$3.git" else - SRC_URI="$3" + SRC_URI="$3/archive/${PV}.tar.gz + -> ${P}.tar.gz" KEYWORDS="${4:~amd64 ~x86}" fi