summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-06-05 18:28:22 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-06-05 18:31:22 +0200
commit6bf89a666978221276a5a840f9286f51182d8ba5 (patch)
tree500e92ad309db6d0fd5707e13fd77ec4e8df5591
parentsys-fs/ncdu: drop 1.15.1-r1 (diff)
downloadgentoo-6bf89a666978221276a5a840f9286f51182d8ba5.tar.gz
gentoo-6bf89a666978221276a5a840f9286f51182d8ba5.tar.bz2
gentoo-6bf89a666978221276a5a840f9286f51182d8ba5.zip
app-emacs/git-modes: new package; add version 1.4.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/git-modes/Manifest1
-rw-r--r--app-emacs/git-modes/files/50git-modes-gentoo.el2
-rw-r--r--app-emacs/git-modes/git-modes-1.4.0.ebuild24
-rw-r--r--app-emacs/git-modes/metadata.xml13
4 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/git-modes/Manifest b/app-emacs/git-modes/Manifest
new file mode 100644
index 000000000000..bfe64fec76b7
--- /dev/null
+++ b/app-emacs/git-modes/Manifest
@@ -0,0 +1 @@
+DIST git-modes-1.4.0.tar.gz 18218 BLAKE2B 7e08ce42d683d4a8224df6255304e3beb7db2a5d97f6c758bf229e020dd3c0e5ed5f75acf9a7fdf8a5d313b904cc59d0de1419244067a5975d5174f45aca0071 SHA512 2511575a4d5d578fca5bde50e103d0fe777eed9bc3c520d5172aff7c65baa47a0a0f633e0950b7efb3eaa891debd3e34df3612d713412d547bb58733c9f00cbc
diff --git a/app-emacs/git-modes/files/50git-modes-gentoo.el b/app-emacs/git-modes/files/50git-modes-gentoo.el
new file mode 100644
index 000000000000..db930d7eed5c
--- /dev/null
+++ b/app-emacs/git-modes/files/50git-modes-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "git-modes-autoloads" nil t)
diff --git a/app-emacs/git-modes/git-modes-1.4.0.ebuild b/app-emacs/git-modes/git-modes-1.4.0.ebuild
new file mode 100644
index 000000000000..42d918ba7cc7
--- /dev/null
+++ b/app-emacs/git-modes/git-modes-1.4.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=24.3
+
+inherit elisp
+
+DESCRIPTION="Emacs major modes for editing Git configuration files"
+HOMEPAGE="https://github.com/magit/git-modes/"
+SRC_URI="https://github.com/magit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile *.el
+ elisp-make-autoload-file
+}
diff --git a/app-emacs/git-modes/metadata.xml b/app-emacs/git-modes/metadata.xml
new file mode 100644
index 000000000000..8d7670cb22a9
--- /dev/null
+++ b/app-emacs/git-modes/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <upstream>
+ <bugs-to>https://github.com/magit/git-modes/issues/</bugs-to>
+ <remote-id type="github">magit/git-modes</remote-id>
+ </upstream>
+</pkgmetadata>