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 0016215864F for ; Sun, 26 Mar 2023 00:35:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C88F4E077F; Sun, 26 Mar 2023 00:35:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B0005E077F for ; Sun, 26 Mar 2023 00:35:25 +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 A9AFD33BE65 for ; Sun, 26 Mar 2023 00:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EEA094F for ; Sun, 26 Mar 2023 00:35:23 +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: <1679790921.013161e35c4cfcc47f00640178b9088251e24d16.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-ebuild-snippets/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild X-VCS-Directories: app-emacs/emacs-ebuild-snippets/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 013161e35c4cfcc47f00640178b9088251e24d16 X-VCS-Branch: master Date: Sun, 26 Mar 2023 00:35:23 +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: a17d95b3-c979-4974-866e-5f7b13a0ae43 X-Archives-Hash: f1165ab1129c350a1ef8e20b9ff0ea99 commit: 013161e35c4cfcc47f00640178b9088251e24d16 Author: Maciej Barć gentoo org> AuthorDate: Sun Mar 26 00:34:47 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Mar 26 00:35:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=013161e3 app-emacs/emacs-ebuild-snippets: add live 9999 version Signed-off-by: Maciej Barć gentoo.org> .../emacs-ebuild-snippets-9999.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild new file mode 100644 index 000000000000..4d5a6435a1cf --- /dev/null +++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24 + +inherit elisp + +DESCRIPTION="Yasnippets for editing ebuilds and eclasses" +HOMEPAGE="https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitweb.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + app-emacs/ebuild-mode + app-emacs/yasnippet +" +BDEPEND="${RDEPEND}" + +src_prepare() { + sh ./scripts/changeme.sh "${EPREFIX}${SITEETC}/${PN}" || die + + default +} + +src_install() { + elisp-install ${PN} *.el{,c} + elisp-site-file-install "${S}"/gentoo/50${PN}-gentoo.el + + insinto "${SITEETC}/${PN}" + doins -r snippets +}