Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-shells/zsh-async/
Date: Fri, 08 Apr 2022 02:43:57
Message-Id: 1649370426.9b63bb1d8cb935593441e7182f8a9fd264b7e2f2.tastytea@gentoo
1 commit: 9b63bb1d8cb935593441e7182f8a9fd264b7e2f2
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Thu Apr 7 22:25:24 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Thu Apr 7 22:27:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b63bb1d
7
8 app-shells/zsh-async: add 1.8.5_p20211005
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 app-shells/zsh-async/Manifest | 1 +
13 .../zsh-async/zsh-async-1.8.5_p20211005.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/app-shells/zsh-async/Manifest b/app-shells/zsh-async/Manifest
17 index 738f00fdb..f0b058ecd 100644
18 --- a/app-shells/zsh-async/Manifest
19 +++ b/app-shells/zsh-async/Manifest
20 @@ -1 +1,2 @@
21 DIST zsh-async-1.8.5.tar.gz 18346 BLAKE2B 9ac98ca71caa569ca5ede093f9a4c690ac2aa4266b8a0b4ded9304ee241269ca7d3a3c6eb7e0aaa55a0da372725f65d66eb627fe7cae0c9c59f09c867d498038 SHA512 ad9139330c57cbfb115c0ee58763db19578279e9834593f06ab97857fd416bd40a0be3215e35b5d58e212f58f46359fe3b6c2caf9820cf946efeb541cccb7d0c
22 +DIST zsh-async-1.8.5_p20211005.tar.gz 18508 BLAKE2B 25fe3dc647679571e7baeef4f92138062b9d658bc45aec8110736a1b186a7fe07d54660159bd85cb6c89ec793457ea453a833b656fb406d768c7f25329d085c7 SHA512 8a65a150772aa3e0b6ba1308affc2e008705430d46825803d029c8f4bee6eda7ee657239b3cfe7b87ba829aba929e8921912aa405f9707a9ae623e7b1e17fbff
23
24 diff --git a/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild b/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild
25 new file mode 100644
26 index 000000000..983b73ba2
27 --- /dev/null
28 +++ b/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit readme.gentoo-r1
36 +
37 +MY_COMMIT="3ba6e2d1ea874bfb6badb8522ab86c1ae272923d"
38 +DESCRIPTION="Run multiple asynchronous jobs with callbacks"
39 +HOMEPAGE="https://github.com/mafredri/zsh-async"
40 +SRC_URI="https://github.com/mafredri/zsh-async/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
41 +S="${WORKDIR}/${PN}-${MY_COMMIT}"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="test"
47 +
48 +RDEPEND="app-shells/zsh"
49 +BDEPEND="
50 + test? (
51 + app-shells/zsh
52 + dev-vcs/git
53 + )
54 +"
55 +
56 +RESTRICT="!test? ( test )"
57 +
58 +DISABLE_AUTOFORMATTING="true"
59 +DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
60 +. /usr/share/zsh/site-functions/async.zsh
61 +at the end of your ~/.zshrc"
62 +
63 +src_test() {
64 + git init || die "git repository initialization for testing failed"
65 + ./test.zsh -v || die "One or more tests failed"
66 +}
67 +
68 +src_install() {
69 + insinto /usr/share/zsh/site-functions
70 + doins async.zsh
71 +
72 + readme.gentoo_create_doc
73 + einstalldocs
74 +}
75 +
76 +pkg_postinst() {
77 + readme.gentoo_print_elog
78 +}