commit: 6bf89a666978221276a5a840f9286f51182d8ba5 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Sun Jun 5 16:28:22 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Sun Jun 5 16:31:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf89a66
app-emacs/git-modes: new package; add version 1.4.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-emacs/git-modes/Manifest | 1 + app-emacs/git-modes/files/50git-modes-gentoo.el | 2 ++ app-emacs/git-modes/git-modes-1.4.0.ebuild | 24 ++++++++++++++++++++++++ app-emacs/git-modes/metadata.xml | 13 +++++++++++++ 4 files changed, 40 insertions(+) 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-em...@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>