Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/exec-path-from-shell/, app-emacs/exec-path-from-shell/files/
Date: Wed, 17 Aug 2022 00:18:56
Message-Id: 1660695442.77292f2d1dd578e71e1a9a0af4492c55413124bb.xgqt@gentoo
1 commit: 77292f2d1dd578e71e1a9a0af4492c55413124bb
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 00:04:23 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 17 00:17:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77292f2d
7
8 app-emacs/exec-path-from-shell: new package; add version 1.12
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/exec-path-from-shell/Manifest | 1 +
13 .../exec-path-from-shell-1.12.ebuild | 24 ++++++++++++++++++++++
14 .../files/50exec-path-from-shell-gentoo.el | 2 ++
15 app-emacs/exec-path-from-shell/metadata.xml | 20 ++++++++++++++++++
16 4 files changed, 47 insertions(+)
17
18 diff --git a/app-emacs/exec-path-from-shell/Manifest b/app-emacs/exec-path-from-shell/Manifest
19 new file mode 100644
20 index 000000000000..7b96288e36e8
21 --- /dev/null
22 +++ b/app-emacs/exec-path-from-shell/Manifest
23 @@ -0,0 +1 @@
24 +DIST exec-path-from-shell-1.12.tar.gz 17125 BLAKE2B 01440c4f484fa2e584c40961cc3a0199a812072b3a41c78833a43bd57105e677077f902ef40dbb68eeaaa84fc511d9e02d7fabdbd7c86a0bc57e1ba88aaa6888 SHA512 62f0f89f542cbf0edaf163c1dfd4fac8bb532898f8eb5a9e068a991eaddb5e6ecb1813fc76252dc2d48b42b9ab602082f612d241613002b1a37b4f7d5f5d4f3c
25
26 diff --git a/app-emacs/exec-path-from-shell/exec-path-from-shell-1.12.ebuild b/app-emacs/exec-path-from-shell/exec-path-from-shell-1.12.ebuild
27 new file mode 100644
28 index 000000000000..f21f1c54ffd5
29 --- /dev/null
30 +++ b/app-emacs/exec-path-from-shell/exec-path-from-shell-1.12.ebuild
31 @@ -0,0 +1,24 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +NEED_EMACS=24.1
38 +
39 +inherit elisp
40 +
41 +DESCRIPTION="Ensure environment variables inside Emacs are the same as in shell"
42 +HOMEPAGE="https://github.com/purcell/exec-path-from-shell/"
43 +SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +DOCS=( README.md )
50 +SITEFILE="50${PN}-gentoo.el"
51 +
52 +src_compile() {
53 + elisp_src_compile
54 + elisp-make-autoload-file
55 +}
56
57 diff --git a/app-emacs/exec-path-from-shell/files/50exec-path-from-shell-gentoo.el b/app-emacs/exec-path-from-shell/files/50exec-path-from-shell-gentoo.el
58 new file mode 100644
59 index 000000000000..6fa79c9aefcf
60 --- /dev/null
61 +++ b/app-emacs/exec-path-from-shell/files/50exec-path-from-shell-gentoo.el
62 @@ -0,0 +1,2 @@
63 +(add-to-list 'load-path "@SITELISP@")
64 +(load "exec-path-from-shell-autoloads" nil t)
65
66 diff --git a/app-emacs/exec-path-from-shell/metadata.xml b/app-emacs/exec-path-from-shell/metadata.xml
67 new file mode 100644
68 index 000000000000..053f64ad6502
69 --- /dev/null
70 +++ b/app-emacs/exec-path-from-shell/metadata.xml
71 @@ -0,0 +1,20 @@
72 +<?xml version="1.0" encoding="UTF-8"?>
73 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
74 +
75 +<pkgmetadata>
76 + <maintainer type="project">
77 + <email>gnu-emacs@g.o</email>
78 + <name>Gentoo GNU Emacs project</name>
79 + </maintainer>
80 + <longdescription>
81 + This library allows the user to set Emacs' `exec-path' and $PATH from the
82 + shell path, so that `shell-command', `compile' and the like work as
83 + expected. It also allows other environment variables to be retrieved from
84 + the shell, so that Emacs will see the same values you get in a terminal.
85 + </longdescription>
86 + <stabilize-allarches />
87 + <upstream>
88 + <bugs-to>https://github.com/purcell/exec-path-from-shell/issues/</bugs-to>
89 + <remote-id type="github">purcell/exec-path-from-shell</remote-id>
90 + </upstream>
91 +</pkgmetadata>