commit:     d3813133ee5f774dcb1e4e5434d8563d23dac025
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 23:47:07 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue May 31 00:26:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3813133

app-emacs/load-relative: new package; add version 1.3.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/load-relative/Manifest                      |  1 +
 .../load-relative/files/50load-relative-gentoo.el     |  1 +
 app-emacs/load-relative/load-relative-1.3.1.ebuild    | 19 +++++++++++++++++++
 app-emacs/load-relative/metadata.xml                  | 17 +++++++++++++++++
 4 files changed, 38 insertions(+)

diff --git a/app-emacs/load-relative/Manifest b/app-emacs/load-relative/Manifest
new file mode 100644
index 000000000000..cff2fe4eb41a
--- /dev/null
+++ b/app-emacs/load-relative/Manifest
@@ -0,0 +1 @@
+DIST load-relative-1.3.1.tar.gz 33985 BLAKE2B 
5e2f4329d380d9bc001e23ea4dd096422357cf18e3685d0eeff80c319172ab3ac0afeb722a9322e0cccd8d99c809ace42bc3352a38161f1aea0a3d3d3af27241
 SHA512 
22d31bfeee37a14bb9820df818a6d1d3cd4d2efb98bbf41ef9e866df602bd18ac0896c625c70195b50f98703d9e0ba2797e0095f051e2937455c29d8be5599c0

diff --git a/app-emacs/load-relative/files/50load-relative-gentoo.el 
b/app-emacs/load-relative/files/50load-relative-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/load-relative/files/50load-relative-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")

diff --git a/app-emacs/load-relative/load-relative-1.3.1.ebuild 
b/app-emacs/load-relative/load-relative-1.3.1.ebuild
new file mode 100644
index 000000000000..53a2b90b909c
--- /dev/null
+++ b/app-emacs/load-relative/load-relative-1.3.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Relative loads for Emacs Lisp files"
+HOMEPAGE="https://github.com/rocky/emacs-load-relative/";
+SRC_URI="https://github.com/rocky/emacs-${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}"/emacs-${P}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DOCS=( ChangeLog README.md )
+ELISP_REMOVE="el-get-install.el"  # Unnecessary, used for install using el-get
+SITEFILE="50${PN}-gentoo.el"

diff --git a/app-emacs/load-relative/metadata.xml 
b/app-emacs/load-relative/metadata.xml
new file mode 100644
index 000000000000..54ce9d0ed7bb
--- /dev/null
+++ b/app-emacs/load-relative/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+  <longdescription>
+    Relative loads for Emacs Lisp files. Adds functions __FILE__ and
+    load-relative and require-relative.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/rocky/emacs-load-relative/issues/</bugs-to>
+    <remote-id type="github">rocky/emacs-load-relative</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to