summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-05-31 01:47:07 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-05-31 02:26:17 +0200
commitd3813133ee5f774dcb1e4e5434d8563d23dac025 (patch)
treea574e2a535bfbfc5f92a3ff7c045bc4f18ebb7d8 /app-emacs/load-relative
parentgnome-extra/gnome-calculator: Drop Python dependency (diff)
downloadgentoo-d3813133ee5f774dcb1e4e5434d8563d23dac025.tar.gz
gentoo-d3813133ee5f774dcb1e4e5434d8563d23dac025.tar.bz2
gentoo-d3813133ee5f774dcb1e4e5434d8563d23dac025.zip
app-emacs/load-relative: new package; add version 1.3.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/load-relative')
-rw-r--r--app-emacs/load-relative/Manifest1
-rw-r--r--app-emacs/load-relative/files/50load-relative-gentoo.el1
-rw-r--r--app-emacs/load-relative/load-relative-1.3.1.ebuild19
-rw-r--r--app-emacs/load-relative/metadata.xml17
4 files changed, 38 insertions, 0 deletions
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-emacs@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>