summaryrefslogtreecommitdiff
path: root/app-emacs/earthfile-mode
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-28 00:57:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-28 00:57:36 +0000
commit2865ab43f3d9f17ce41a2b048f7ca1ea32177955 (patch)
tree707500345b262089fc01758ae9a45a4222e4bb59 /app-emacs/earthfile-mode
parenteaa317e2ed8d0c068526a9abdd1940406252c52e (diff)
gentoo auto-resync : 28:01:2024 - 00:57:36
Diffstat (limited to 'app-emacs/earthfile-mode')
-rw-r--r--app-emacs/earthfile-mode/Manifest4
-rw-r--r--app-emacs/earthfile-mode/earthfile-mode-0.1.0_p20230810.ebuild28
-rw-r--r--app-emacs/earthfile-mode/files/50earthfile-mode-gentoo.el5
-rw-r--r--app-emacs/earthfile-mode/metadata.xml14
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/earthfile-mode/Manifest b/app-emacs/earthfile-mode/Manifest
new file mode 100644
index 000000000000..32130c4ba195
--- /dev/null
+++ b/app-emacs/earthfile-mode/Manifest
@@ -0,0 +1,4 @@
+AUX 50earthfile-mode-gentoo.el 263 BLAKE2B 8c4c1870bdcc443a0e7d99874fd86b92cf4509ace9ded4c5a973cf0c5dee4cd17a78a8498b2da4b3908af2568b3ba45b09d5162a0ee4ccc2fc553978f0d3dd09 SHA512 caeb846e1e0cb923b0a2596bd2a737781f70b2b8647448a58911868c1a0cf8f0da551f8f07ed9413efd3cd3ff388d77e01e9bf18edf01afdd0505ab6d8a2cf0d
+DIST earthfile-mode-0.1.0_p20230810.tar.gz 397227 BLAKE2B 5d233689dff77debfafd77e2ee8d260ba993d2e19778d741750b79faa35d1553f6c1aeec00d5753547f6ce77a7ec01dc0117dd60418812d2eeadcc39fae71b42 SHA512 3d7d444ac441eaa2ced603f38fcbecad41abe55ca85c1d085ab45c534065e5afe8c2fc902e6334f28b38042e358de043917fb1e940628d63a34dc35a153720ef
+EBUILD earthfile-mode-0.1.0_p20230810.ebuild 665 BLAKE2B ec44579f274a0154e859f280a9224e83cbf7ea79cdde3415b41c0271051eabbf90d82736c941d983b8ceb80f360516b7dfd1cb755b710d2ae78a1a570d1b78e7 SHA512 74c810b392aae53e9b7246deaebbdd096c44a868b3524d18160e464709195f696e58082a60cac28178053bd6c11ec6dffd812268b5db08e922585c2f56ece92d
+MISC metadata.xml 457 BLAKE2B 94a23a5c04d1858556dc0c917658b5dca8fea7a58d0023fa856ed3a8a5f1f4d7efacd05b1484a7e7e1c5bc38340a175398cce7ded71bec02dc6c388267272c53 SHA512 f292ac5b926681c374d26ce7d25f59a9445130da0a6461865172616495cbada60d9896187323a70d72a86a1b0873846a085e1457213ee646ce7ab91e42f1306a
diff --git a/app-emacs/earthfile-mode/earthfile-mode-0.1.0_p20230810.ebuild b/app-emacs/earthfile-mode/earthfile-mode-0.1.0_p20230810.ebuild
new file mode 100644
index 000000000000..881895441851
--- /dev/null
+++ b/app-emacs/earthfile-mode/earthfile-mode-0.1.0_p20230810.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+[[ "${PV}" == *20230810 ]] && COMMIT=3029e5ab06171ca5947041e95053561e10e5ba41
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs major mode for editing Earthly Earthfiles"
+HOMEPAGE="https://github.com/earthly/earthly-emacs/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/earthly/earthly-emacs.git"
+else
+ SRC_URI="https://github.com/earthly/earthly-emacs/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/earthly-emacs-${COMMIT}"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/earthfile-mode/files/50earthfile-mode-gentoo.el b/app-emacs/earthfile-mode/files/50earthfile-mode-gentoo.el
new file mode 100644
index 000000000000..b43ef6dbef1e
--- /dev/null
+++ b/app-emacs/earthfile-mode/files/50earthfile-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'earthfile-mode "earthfile-mode.el"
+ "A major mode for editing Earthfile file." t)
+(add-to-list 'auto-mode-alist '("Earthfile\\'" . earthfile-mode))
+(add-to-list 'auto-mode-alist '("\\.earth\\'" . earthfile-mode))
diff --git a/app-emacs/earthfile-mode/metadata.xml b/app-emacs/earthfile-mode/metadata.xml
new file mode 100644
index 000000000000..0c7339f08efc
--- /dev/null
+++ b/app-emacs/earthfile-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/earthly/earthly-emacs/issues/</bugs-to>
+ <remote-id type="github">earthly/earthly-emacs</remote-id>
+ </upstream>
+</pkgmetadata>