commit:     a72d26b9aadc062b6e1064fd2c13d6b9cd05468f
Author:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
AuthorDate: Sat May 11 22:33:00 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat May 11 22:33:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a72d26b9

app-emacs/envrc: new package, add 0.11

Signed-off-by: Denis Strizhkin <strdenis02 <AT> gmail.com>

 app-emacs/envrc/Manifest                |  1 +
 app-emacs/envrc/envrc-0.11.ebuild       | 16 ++++++++++++++++
 app-emacs/envrc/files/50envrc-gentoo.el |  3 +++
 app-emacs/envrc/metadata.xml            | 11 +++++++++++
 4 files changed, 31 insertions(+)

diff --git a/app-emacs/envrc/Manifest b/app-emacs/envrc/Manifest
new file mode 100644
index 0000000000..202debb902
--- /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 0000000000..77286fbeff
--- /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 0000000000..bdf92d1cab
--- /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 0000000000..9280ae81b5
--- /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>strdeni...@gmail.com</email>
+  <name>Denis Strizhkin</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">purcell/envrc</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to