Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/transient/files/, app-emacs/transient/
Date: Thu, 27 May 2021 06:06:48
Message-Id: 1622095563.f96e0a809cbe035d4bf17474229691ea2b7cb1ec.graaff@gentoo
1 commit: f96e0a809cbe035d4bf17474229691ea2b7cb1ec
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 26 05:59:50 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu May 27 06:06:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96e0a80
7
8 app-emacs/transient: initial import of 0.3.4
9
10 New dependency for app-emacs/magit
11
12 Package-Manager: Portage-3.0.18, Repoman-3.0.2
13 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
14
15 app-emacs/transient/Manifest | 1 +
16 app-emacs/transient/files/50transient-gentoo.el | 1 +
17 app-emacs/transient/metadata.xml | 35 +++++++++++++++++++++++++
18 app-emacs/transient/transient-0.3.4.ebuild | 29 ++++++++++++++++++++
19 4 files changed, 66 insertions(+)
20
21 diff --git a/app-emacs/transient/Manifest b/app-emacs/transient/Manifest
22 new file mode 100644
23 index 00000000000..d4b2135ea56
24 --- /dev/null
25 +++ b/app-emacs/transient/Manifest
26 @@ -0,0 +1 @@
27 +DIST transient-0.3.4.tar.gz 100193 BLAKE2B 0dd91cf1af22cfd6c3b6fefaa1b84ba3a241e269aef5165befa9408171f8b5477b04e2886e690cfd8d20af31e83fe669e05f0bf40c3391aab353d33a59345689 SHA512 feb24bf9045c9212a45cbc0a99805bdad6f4f5871279d44c64a883ad5d33a40128189525ee546d6cff14bf2d60d3c1e684cf8894fefc01860e363073eafea220
28
29 diff --git a/app-emacs/transient/files/50transient-gentoo.el b/app-emacs/transient/files/50transient-gentoo.el
30 new file mode 100644
31 index 00000000000..431f7e90ae7
32 --- /dev/null
33 +++ b/app-emacs/transient/files/50transient-gentoo.el
34 @@ -0,0 +1 @@
35 +(add-to-list 'load-path "@SITELISP@")
36
37 diff --git a/app-emacs/transient/metadata.xml b/app-emacs/transient/metadata.xml
38 new file mode 100644
39 index 00000000000..f01b2556a6a
40 --- /dev/null
41 +++ b/app-emacs/transient/metadata.xml
42 @@ -0,0 +1,35 @@
43 +<?xml version="1.0" encoding="UTF-8"?>
44 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
45 +<pkgmetadata>
46 +<maintainer type="project">
47 + <email>gnu-emacs@g.o</email>
48 + <name>Gentoo GNU Emacs project</name>
49 +</maintainer>
50 +<longdescription>
51 + Taking inspiration from prefix keys and prefix arguments, Transient
52 + implements a similar abstraction involving a prefix command, infix
53 + arguments and suffix commands. We could call this abstraction a
54 + "transient command", but because it always involves at least two
55 + commands (a prefix and a suffix) we prefer to call it just a
56 + "transient".
57 +
58 + When the user calls a transient prefix command, then a transient
59 + (temporary) keymap is activated, which binds the transient's infix
60 + and suffix commands, and functions that control the transient state
61 + are added to `pre-command-hook' and `post-command-hook'. The
62 + available suffix and infix commands and their state are shown in
63 + the echo area until the transient is exited by invoking a suffix
64 + command.
65 +
66 + Calling an infix command causes its value to be changed, possibly
67 + by reading a new value in the minibuffer.
68 +
69 + Calling a suffix command usually causes the transient to be exited
70 + but suffix commands can also be configured to not exit the
71 + transient state.
72 +</longdescription>
73 +<stabilize-allarches/>
74 +<upstream>
75 + <remote-id type="github">magit/transient</remote-id>
76 +</upstream>
77 +</pkgmetadata>
78
79 diff --git a/app-emacs/transient/transient-0.3.4.ebuild b/app-emacs/transient/transient-0.3.4.ebuild
80 new file mode 100644
81 index 00000000000..5f2eb4af6a9
82 --- /dev/null
83 +++ b/app-emacs/transient/transient-0.3.4.ebuild
84 @@ -0,0 +1,29 @@
85 +# Copyright 1999-2021 Gentoo Authors
86 +# Distributed under the terms of the GNU General Public License v2
87 +
88 +EAPI=7
89 +NEED_EMACS=25
90 +
91 +inherit elisp
92 +
93 +DESCRIPTION="Use the Emacsclient as the \$EDITOR of child processes"
94 +HOMEPAGE="https://magit.vc/manual/transient"
95 +SRC_URI="https://github.com/magit/transient/archive/v${PV}.tar.gz -> ${P}.tar.gz"
96 +
97 +LICENSE="GPL-3+"
98 +SLOT="0"
99 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
100 +
101 +SITEFILE="50${PN}-gentoo.el"
102 +ELISP_TEXINFO="docs/*.texi"
103 +DOCS="README.md docs/transient.org"
104 +
105 +DEPEND=""
106 +RDEPEND="${DEPEND}"
107 +DEPEND="${DEPEND} sys-apps/texinfo"
108 +
109 +src_prepare() {
110 + mv lisp/*.el . || die
111 +
112 + default
113 +}