public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/vue-html-mode/, app-emacs/vue-html-mode/files/
@ 2023-05-21 15:42 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2023-05-21 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e2c103e048145ae90f945d9603519d537c98d747
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May 21 15:30:18 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May 21 15:30:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c103e0

app-emacs/vue-html-mode: new package; add 0.2

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

 app-emacs/vue-html-mode/Manifest                   |  1 +
 .../vue-html-mode/files/50vue-html-mode-gentoo.el  |  3 +++
 app-emacs/vue-html-mode/metadata.xml               | 21 +++++++++++++++++++
 app-emacs/vue-html-mode/vue-html-mode-0.2.ebuild   | 24 ++++++++++++++++++++++
 4 files changed, 49 insertions(+)

diff --git a/app-emacs/vue-html-mode/Manifest b/app-emacs/vue-html-mode/Manifest
new file mode 100644
index 000000000000..dc03a9acea22
--- /dev/null
+++ b/app-emacs/vue-html-mode/Manifest
@@ -0,0 +1 @@
+DIST vue-html-mode-0.2.tar.gz 17744 BLAKE2B 460a6f67c00d3b2e7372209766c2dc1729ff5ac1ef9ca8951ac0677937130d5b54cb3c22702d304efe70aa57117af067b6a103197738efa1f5ee77f285e01c18 SHA512 8fe8f19059d64355af9ae2ac95aba2ac71b50153f5a3270fd75b70433bce3fa628a04abe03dea84671dabe5c604b7b0ae298b33214038ef9fa5dff8aaf418a56

diff --git a/app-emacs/vue-html-mode/files/50vue-html-mode-gentoo.el b/app-emacs/vue-html-mode/files/50vue-html-mode-gentoo.el
new file mode 100644
index 000000000000..0bc482778051
--- /dev/null
+++ b/app-emacs/vue-html-mode/files/50vue-html-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'vue-html-mode "vue-html-mode"
+  "Major mode for Vue.js templates." t)

diff --git a/app-emacs/vue-html-mode/metadata.xml b/app-emacs/vue-html-mode/metadata.xml
new file mode 100644
index 000000000000..d51da01a3b2d
--- /dev/null
+++ b/app-emacs/vue-html-mode/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gnu-emacs@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <longdescription>
+    The main features of this mode are syntax highlighting (enabled with
+    font-lock-mode or global-font-lock-mode), and html-mode integration. Vue
+    component files are best edited with the excellent vue-mode, which the
+    author of this package also contributes to. This mode is included in
+    vue-mode, and is the default mode for editing template blocks.
+  </longdescription>
+  <stabilize-allarches />
+  <upstream>
+    <bugs-to>https://github.com/AdamNiederer/vue-html-mode/issues/</bugs-to>
+    <remote-id type="github">AdamNiederer/vue-html-mode</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/app-emacs/vue-html-mode/vue-html-mode-0.2.ebuild b/app-emacs/vue-html-mode/vue-html-mode-0.2.ebuild
new file mode 100644
index 000000000000..420647bc0094
--- /dev/null
+++ b/app-emacs/vue-html-mode/vue-html-mode-0.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Major Emacs mode for editing Vue.js templates"
+HOMEPAGE="https://github.com/AdamNiederer/vue-html-mode/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/AdamNiederer/${PN}.git"
+else
+	SRC_URI="https://github.com/AdamNiederer/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-21 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-21 15:42 [gentoo-commits] repo/gentoo:master commit in: app-emacs/vue-html-mode/, app-emacs/vue-html-mode/files/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox