diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-05-21 17:39:42 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-05-21 17:39:42 +0200 |
commit | b70e4310652e840d23dfd6a4eb5ef4fa4122579e (patch) | |
tree | 61770d215d7a8919dc0b663d96b7c86880021557 /app-emacs | |
parent | app-emacs/vue-html-mode: new package; add 0.2 (diff) | |
download | gentoo-b70e4310652e840d23dfd6a4eb5ef4fa4122579e.tar.gz gentoo-b70e4310652e840d23dfd6a4eb5ef4fa4122579e.tar.bz2 gentoo-b70e4310652e840d23dfd6a4eb5ef4fa4122579e.zip |
app-emacs/vue-mode: new package; add 0.4
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/vue-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/vue-mode/files/50vue-mode-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/vue-mode/metadata.xml | 14 | ||||
-rw-r--r-- | app-emacs/vue-mode/vue-mode-0.4.ebuild | 40 |
4 files changed, 59 insertions, 0 deletions
diff --git a/app-emacs/vue-mode/Manifest b/app-emacs/vue-mode/Manifest new file mode 100644 index 000000000000..472af6eaae10 --- /dev/null +++ b/app-emacs/vue-mode/Manifest @@ -0,0 +1 @@ +DIST vue-mode-0.4.tar.gz 12023 BLAKE2B bb20f56544b8bd67ece2753febb88c854b1ba243aeb7bc394cfece877a521c16fcb9284c4fcb2099b1cf65a0ae63252502668cf69f78043eebb68e295c620505 SHA512 2612b9928a6a2b209b82326e5600287072a284a7d4c431029d775be517893cef6825c0bb011689ab9d7258631ea2007d1613343b6bf8bf0676847a2dcfd039c6 diff --git a/app-emacs/vue-mode/files/50vue-mode-gentoo.el b/app-emacs/vue-mode/files/50vue-mode-gentoo.el new file mode 100644 index 000000000000..15091349f763 --- /dev/null +++ b/app-emacs/vue-mode/files/50vue-mode-gentoo.el @@ -0,0 +1,4 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'vue-mode "vue-mode" + "Major mode for vue component based on mmm-mode" t) +(add-to-list 'auto-mode-alist '("\\.vue\\'" . vue-mode)) diff --git a/app-emacs/vue-mode/metadata.xml b/app-emacs/vue-mode/metadata.xml new file mode 100644 index 000000000000..aa019a01b771 --- /dev/null +++ b/app-emacs/vue-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>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/AdamNiederer/vue-mode/issues/</bugs-to> + <remote-id type="github">AdamNiederer/vue-mode</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emacs/vue-mode/vue-mode-0.4.ebuild b/app-emacs/vue-mode/vue-mode-0.4.ebuild new file mode 100644 index 000000000000..9cad8b7de4e8 --- /dev/null +++ b/app-emacs/vue-mode/vue-mode-0.4.ebuild @@ -0,0 +1,40 @@ +# 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 vue component based on mmm-mode" +HOMEPAGE="https://github.com/AdamNiederer/vue-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" + +RDEPEND=" + app-emacs/edit-indirect + app-emacs/mmm-mode + app-emacs/ssass-mode + app-emacs/vue-html-mode +" +BDEPEND=" + ${RDEPEND} + test? ( + app-emacs/undercover + app-emacs/s + ) +" + +DOCS=( README.md ) +SITEFILE="50${PN}-gentoo.el" + +elisp-enable-tests ert-runner test |