summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-16 01:28:00 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-16 01:29:03 +0200
commit8d4f7a76902e5883141ae8d11e4e57d8e25c29fb (patch)
treeeeacb9c8e5a69f34d023409e55f78a5247b9e752 /app-emacs/dockerfile-mode
parentkde-apps/spectacle: Move dev-qt/qdbus to RDEPEND-only, slot 0 compat (diff)
downloadgentoo-8d4f7a76902e5883141ae8d11e4e57d8e25c29fb.tar.gz
gentoo-8d4f7a76902e5883141ae8d11e4e57d8e25c29fb.tar.bz2
gentoo-8d4f7a76902e5883141ae8d11e4e57d8e25c29fb.zip
app-emacs/dockerfile-mode: new package; add version 1.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/dockerfile-mode')
-rw-r--r--app-emacs/dockerfile-mode/Manifest1
-rw-r--r--app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild19
-rw-r--r--app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el5
-rw-r--r--app-emacs/dockerfile-mode/metadata.xml14
4 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/dockerfile-mode/Manifest b/app-emacs/dockerfile-mode/Manifest
new file mode 100644
index 000000000000..9fe84aaaec05
--- /dev/null
+++ b/app-emacs/dockerfile-mode/Manifest
@@ -0,0 +1 @@
+DIST dockerfile-mode-1.6.tar.gz 7795 BLAKE2B 3ba19ed2957d6d5bb1c8a43710bfda7c5681159820d313a19d03a00ba7982237ec09c4b1af5d6f304d4fcb9c228b7ff92ec0af1ae0efd4f2f18aedaf2a3a790a SHA512 64077ed231544bc737a5d7fd3bafd43f46861eb39e31908b90a50a6a7c4ea71f82239d7b4eb4cf2abb852da2a619c82aaeb236f7b0c537ff85b0ce4c1090a0de
diff --git a/app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild b/app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild
new file mode 100644
index 000000000000..8ac741485198
--- /dev/null
+++ b/app-emacs/dockerfile-mode/dockerfile-mode-1.6.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs mode for handling Dockerfiles"
+HOMEPAGE="https://github.com/spotify/dockerfile-mode/"
+SRC_URI="https://github.com/spotify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el b/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el
new file mode 100644
index 000000000000..f4f04b32e72c
--- /dev/null
+++ b/app-emacs/dockerfile-mode/files/50dockerfile-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'dockerfile-mode "dockerfile-mode"
+ "A major mode to edit Dockerfiles." t)
+(add-to-list 'auto-mode-alist '("/Dockerfile\\(?:\\.[^/\\]*\\)?\\'" . dockerfile-mode))
+(add-to-list 'auto-mode-alist '("\\.dockerfile\\'" . dockerfile-mode))
diff --git a/app-emacs/dockerfile-mode/metadata.xml b/app-emacs/dockerfile-mode/metadata.xml
new file mode 100644
index 000000000000..6d2d3a593327
--- /dev/null
+++ b/app-emacs/dockerfile-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/spotify/dockerfile-mode/issues/</bugs-to>
+ <remote-id type="github">spotify/dockerfile-mode</remote-id>
+ </upstream>
+</pkgmetadata>