commit:     0f589c2f4d814350a9e2fad85153431f1ade0f26
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 19:40:59 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 13:11:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f589c2f

app-emacs/emacs-ebuild-snippets: bump to 2.2.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/emacs-ebuild-snippets/Manifest           |  1 +
 .../emacs-ebuild-snippets-2.2.0.ebuild             | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/app-emacs/emacs-ebuild-snippets/Manifest 
b/app-emacs/emacs-ebuild-snippets/Manifest
index 8748f740ae06..aa91a0b09f0e 100644
--- a/app-emacs/emacs-ebuild-snippets/Manifest
+++ b/app-emacs/emacs-ebuild-snippets/Manifest
@@ -1 +1,2 @@
 DIST emacs-ebuild-snippets-2.1.0.tar.bz2 12381 BLAKE2B 
2681b73049dec8e6bb5b3704dfd1619ea2ca5ab6757ad04c0f9530dc734b57a9d885a10b991b0973cfd12349cd100e25c554b2e55c4c84976c3390f4cbbc77e7
 SHA512 
d492941a20a3e5f01b3b39d2c90b17473f2b4470b6cd80153a2b8c1df3074aa95d9e14384ea1fba3348026c1704ebe2096ee8fe27227afa1ea6512c6fae7c6dc
+DIST emacs-ebuild-snippets-2.2.0.tar.bz2 13180 BLAKE2B 
aeb01a50b1cdaa7833b7573a91863d9fc9efc7abf71aafaccdf9d8f209e8e9e6a1f6bb7f4e781b2bb220bd5d62e59c33a3cf50589a4939298651522894dc5094
 SHA512 
51ce064101e6e9987dcdd91c490a46aa6758605d3a84f6ce38a4661315f032e2bfe61da53c13a6d5d2ff21470f500b5a3e3c7e593bfc07098689b8533e6fb5fd

diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.2.0.ebuild 
b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.2.0.ebuild
new file mode 100644
index 000000000000..d4ecac40855b
--- /dev/null
+++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~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
+}

Reply via email to