public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-emacs/envrc/, app-emacs/envrc/files/
@ 2024-05-11 22:33 Denis Strizhkin
  0 siblings, 0 replies; only message in thread
From: Denis Strizhkin @ 2024-05-11 22:33 UTC (permalink / raw
  To: gentoo-commits

commit:     a72d26b9aadc062b6e1064fd2c13d6b9cd05468f
Author:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
AuthorDate: Sat May 11 22:33:00 2024 +0000
Commit:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
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>strdenis02@gmail.com</email>
+  <name>Denis Strizhkin</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">purcell/envrc</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-11 22:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-11 22:33 [gentoo-commits] repo/proj/guru:dev commit in: app-emacs/envrc/, app-emacs/envrc/files/ Denis Strizhkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox