commit:     58cb70e64272b3e9b63c036b2a452f7aad05028f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  8 00:16:04 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 00:18:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58cb70e6

app-emacs/emacs-ebuild-snippets: new package; 2.0.2

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

 app-emacs/emacs-ebuild-snippets/Manifest           |  1 +
 .../emacs-ebuild-snippets-2.0.2.ebuild             | 36 ++++++++++++++++++++++
 app-emacs/emacs-ebuild-snippets/metadata.xml       | 13 ++++++++
 3 files changed, 50 insertions(+)

diff --git a/app-emacs/emacs-ebuild-snippets/Manifest 
b/app-emacs/emacs-ebuild-snippets/Manifest
new file mode 100644
index 000000000000..494eae56f9be
--- /dev/null
+++ b/app-emacs/emacs-ebuild-snippets/Manifest
@@ -0,0 +1 @@
+DIST emacs-ebuild-snippets-2.0.2.tar.bz2 11606 BLAKE2B 
5316355ec5fb7bae942ec27e8c7400f5f4570f9bdfc0588c2a92f908146da1475b87351f0654f58f99b41d752b357e255997d4fd3d89b3676790faea5acee3be
 SHA512 
2cff09b32beec77fc6dc2033bdc2bafa31f89450b98865b5000ac95455436d3b840299652c7258b133038d41e4ac6f477f2b6637a5803484f3ec4dce86600944

diff --git a/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild 
b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild
new file mode 100644
index 000000000000..55588ea7d0fc
--- /dev/null
+++ b/app-emacs/emacs-ebuild-snippets/emacs-ebuild-snippets-2.0.2.ebuild
@@ -0,0 +1,36 @@
+# 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";
+SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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
+}

diff --git a/app-emacs/emacs-ebuild-snippets/metadata.xml 
b/app-emacs/emacs-ebuild-snippets/metadata.xml
new file mode 100644
index 000000000000..691b278a637b
--- /dev/null
+++ b/app-emacs/emacs-ebuild-snippets/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gnu-em...@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <stabilize-allarches />
+  <upstream>
+    <remote-id type="gitlab">xgqt/emacs-ebuild-snippets</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to