aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Strizhkin <strdenis02@gmail.com>2024-05-12 01:33:00 +0300
committerDenis Strizhkin <strdenis02@gmail.com>2024-05-12 01:33:00 +0300
commita72d26b9aadc062b6e1064fd2c13d6b9cd05468f (patch)
tree5fb2165274caa2c41b5e76f158922649a328f3a9 /app-emacs
parentapp-emacs/inheritenv: new package, add 0.2 (diff)
downloadguru-a72d26b9aadc062b6e1064fd2c13d6b9cd05468f.tar.gz
guru-a72d26b9aadc062b6e1064fd2c13d6b9cd05468f.tar.bz2
guru-a72d26b9aadc062b6e1064fd2c13d6b9cd05468f.zip
app-emacs/envrc: new package, add 0.11
Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/envrc/Manifest1
-rw-r--r--app-emacs/envrc/envrc-0.11.ebuild16
-rw-r--r--app-emacs/envrc/files/50envrc-gentoo.el3
-rw-r--r--app-emacs/envrc/metadata.xml11
4 files changed, 31 insertions, 0 deletions
diff --git a/app-emacs/envrc/Manifest b/app-emacs/envrc/Manifest
new file mode 100644
index 000000000..202debb90
--- /dev/null
+++ b/app-emacs/envrc/Manifest
@@ -0,0 +1 @@
+DIST envrc-0.11.tar.gz 11462 BLAKE2B f963b18a848f6ae03269a66bfc4ab8370db3214b361374081751b79ac20f5998f5efedb8281a040a0fb5b7189afded3cfe170b84e3bc9012692173cb49c3b34c SHA512 397c6923883e54dbdb35b9c4dce518ac2bf7048792f63f883cc96c55d31ef5d88ca6a15a6f5768a3b814a5106e3e1a1881c95f76086a9142ac95bcb5cb17353d
diff --git a/app-emacs/envrc/envrc-0.11.ebuild b/app-emacs/envrc/envrc-0.11.ebuild
new file mode 100644
index 000000000..77286fbef
--- /dev/null
+++ b/app-emacs/envrc/envrc-0.11.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs support for direnv which operates buffer-locally"
+HOMEPAGE="https://github.com/purcell/envrc"
+SRC_URI="https://github.com/purcell/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/envrc/files/50envrc-gentoo.el b/app-emacs/envrc/files/50envrc-gentoo.el
new file mode 100644
index 000000000..bdf92d1ca
--- /dev/null
+++ b/app-emacs/envrc/files/50envrc-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'envrc-global-mode "envrc"
+ "Toggle envrc-global-mode." t)
diff --git a/app-emacs/envrc/metadata.xml b/app-emacs/envrc/metadata.xml
new file mode 100644
index 000000000..9280ae81b
--- /dev/null
+++ b/app-emacs/envrc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>strdenis02@gmail.com</email>
+ <name>Denis Strizhkin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">purcell/envrc</remote-id>
+ </upstream>
+</pkgmetadata>