summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-06-23 18:46:58 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-06-23 18:46:58 +0200
commite73b815ce0a9831070571d32ba17c744fc322439 (patch)
treeb780d9df2ffb9066ef5e50e4a151074143a6746c /app-emacs/web-mode
parentapp-emacs/lsp-mode: bump to 8.0.0_p20220620 (diff)
downloadgentoo-e73b815ce0a9831070571d32ba17c744fc322439.tar.gz
gentoo-e73b815ce0a9831070571d32ba17c744fc322439.tar.bz2
gentoo-e73b815ce0a9831070571d32ba17c744fc322439.zip
app-emacs/web-mode: new package; add version 17.2.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/web-mode')
-rw-r--r--app-emacs/web-mode/Manifest1
-rw-r--r--app-emacs/web-mode/files/50web-mode-gentoo.el3
-rw-r--r--app-emacs/web-mode/metadata.xml21
-rw-r--r--app-emacs/web-mode/web-mode-17.2.1.ebuild17
4 files changed, 42 insertions, 0 deletions
diff --git a/app-emacs/web-mode/Manifest b/app-emacs/web-mode/Manifest
new file mode 100644
index 000000000000..4bc80c9f2151
--- /dev/null
+++ b/app-emacs/web-mode/Manifest
@@ -0,0 +1 @@
+DIST web-mode-17.2.1.tar.gz 155440 BLAKE2B bae77ca300f77ad4dd520b048194eb66b592e57086e9720ec98c59c30e06a4f86e55f74f427b5ae1bf7e8a2c7f243168ad9c38c9911dc3ab4f98bad0ee8632a2 SHA512 bfd68cae6a79f9a77b512c94cdb1ce0ffedb763ee741c4c5b1e59caaedf46b40ee2920dce5d1023689b9382d4573975f5d397fc9fc96232deb558d0952d7beef
diff --git a/app-emacs/web-mode/files/50web-mode-gentoo.el b/app-emacs/web-mode/files/50web-mode-gentoo.el
new file mode 100644
index 000000000000..93f8e6529970
--- /dev/null
+++ b/app-emacs/web-mode/files/50web-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'web-mode "web-mode"
+ "Major mode for editing web templates." t)
diff --git a/app-emacs/web-mode/metadata.xml b/app-emacs/web-mode/metadata.xml
new file mode 100644
index 000000000000..8be48d9935f1
--- /dev/null
+++ b/app-emacs/web-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>
+ web-mode.el is an emacs major mode for editing web templates aka HTML files
+ embedding parts (CSS/JavaScript) and blocks (pre rendered by client/server
+ side engines). web-mode.el is compatible with many template engines: PHP,
+ JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker, Velocity,
+ Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template, Dust.js,
+ Google Closure (soy), React/JSX, Angularjs, ejs, Nunjucks, etc.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/fxbois/web-mode/issues/</bugs-to>
+ <remote-id type="github">fxbois/web-mode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/web-mode/web-mode-17.2.1.ebuild b/app-emacs/web-mode/web-mode-17.2.1.ebuild
new file mode 100644
index 000000000000..edb07d0bd07e
--- /dev/null
+++ b/app-emacs/web-mode/web-mode-17.2.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Web template editing mode for Emacs"
+HOMEPAGE="https://web-mode.org/ https://github.com/fxbois/web-mode/"
+SRC_URI="https://github.com/fxbois/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"