commit:     2a35e09442f4c53bb611a3b693c8f4dd19984dd2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 16:39:52 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 16:47:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a35e094

app-emacs/metamath-mode: new package; add 0_p20221005

2022.10.05 snapshot

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

 app-emacs/metamath-mode/Manifest                    |  1 +
 .../metamath-mode/files/50metamath-mode-gentoo.el   |  4 ++++
 app-emacs/metamath-mode/metadata.xml                | 14 ++++++++++++++
 .../metamath-mode/metamath-mode-0_p20221005.ebuild  | 21 +++++++++++++++++++++
 4 files changed, 40 insertions(+)

diff --git a/app-emacs/metamath-mode/Manifest b/app-emacs/metamath-mode/Manifest
new file mode 100644
index 000000000000..e77c15064768
--- /dev/null
+++ b/app-emacs/metamath-mode/Manifest
@@ -0,0 +1 @@
+DIST metamath-mode-0_p20221005.tar.gz 1490 BLAKE2B 
fabb0c6c69306e6998a144d19774d442c5803446218607f62c134d5912a891ffa09cedf06c19e16a05cf3790528ba4063054540834ecab42d6852068b88be682
 SHA512 
39b5dd4a3967ecdc29d7637fc592c9fd398d0fe3c12344e1930fc5082057f3cb78e564319655d063fce62bc4b9581fad7debb5cb4085e5cc642a7d9d7ccede45

diff --git a/app-emacs/metamath-mode/files/50metamath-mode-gentoo.el 
b/app-emacs/metamath-mode/files/50metamath-mode-gentoo.el
new file mode 100644
index 000000000000..fd0d03a31115
--- /dev/null
+++ b/app-emacs/metamath-mode/files/50metamath-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'metamath-mode "metamath-mode"
+  "Major mode for editing metamath files" t)
+(add-to-list 'auto-mode-alist '("\\.mm\\'" . metamath-mode))

diff --git a/app-emacs/metamath-mode/metadata.xml 
b/app-emacs/metamath-mode/metadata.xml
new file mode 100644
index 000000000000..946548fce536
--- /dev/null
+++ b/app-emacs/metamath-mode/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <stabilize-allarches />
+  <upstream>
+    <bugs-to>https://github.com/samrushing/metamath-mode/issues/</bugs-to>
+    <remote-id type="github">samrushing/metamath-mode</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/app-emacs/metamath-mode/metamath-mode-0_p20221005.ebuild 
b/app-emacs/metamath-mode/metamath-mode-0_p20221005.ebuild
new file mode 100644
index 000000000000..4bb809ed1bad
--- /dev/null
+++ b/app-emacs/metamath-mode/metamath-mode-0_p20221005.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=85bd63b88378e9f2dee2f7d5585ec6610bf098a6
+
+inherit elisp
+
+DESCRIPTION="Major GNU Emacs mode for metamath files"
+HOMEPAGE="https://github.com/samrushing/metamath-mode/";
+SRC_URI="https://github.com/samrushing/${PN}/archive/${H}.tar.gz
+       -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"

Reply via email to