commit: 9b63bb1d8cb935593441e7182f8a9fd264b7e2f2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Thu Apr 7 22:25:24 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Thu Apr 7 22:27:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b63bb1d
app-shells/zsh-async: add 1.8.5_p20211005 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> app-shells/zsh-async/Manifest | 1 + .../zsh-async/zsh-async-1.8.5_p20211005.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-shells/zsh-async/Manifest b/app-shells/zsh-async/Manifest index 738f00fdb..f0b058ecd 100644 --- a/app-shells/zsh-async/Manifest +++ b/app-shells/zsh-async/Manifest @@ -1 +1,2 @@ DIST zsh-async-1.8.5.tar.gz 18346 BLAKE2B 9ac98ca71caa569ca5ede093f9a4c690ac2aa4266b8a0b4ded9304ee241269ca7d3a3c6eb7e0aaa55a0da372725f65d66eb627fe7cae0c9c59f09c867d498038 SHA512 ad9139330c57cbfb115c0ee58763db19578279e9834593f06ab97857fd416bd40a0be3215e35b5d58e212f58f46359fe3b6c2caf9820cf946efeb541cccb7d0c +DIST zsh-async-1.8.5_p20211005.tar.gz 18508 BLAKE2B 25fe3dc647679571e7baeef4f92138062b9d658bc45aec8110736a1b186a7fe07d54660159bd85cb6c89ec793457ea453a833b656fb406d768c7f25329d085c7 SHA512 8a65a150772aa3e0b6ba1308affc2e008705430d46825803d029c8f4bee6eda7ee657239b3cfe7b87ba829aba929e8921912aa405f9707a9ae623e7b1e17fbff 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 new file mode 100644 index 000000000..983b73ba2 --- /dev/null +++ b/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 + +MY_COMMIT="3ba6e2d1ea874bfb6badb8522ab86c1ae272923d" +DESCRIPTION="Run multiple asynchronous jobs with callbacks" +HOMEPAGE="https://github.com/mafredri/zsh-async" +SRC_URI="https://github.com/mafredri/zsh-async/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="app-shells/zsh" +BDEPEND=" + test? ( + app-shells/zsh + dev-vcs/git + ) +" + +RESTRICT="!test? ( test )" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add +. /usr/share/zsh/site-functions/async.zsh +at the end of your ~/.zshrc" + +src_test() { + git init || die "git repository initialization for testing failed" + ./test.zsh -v || die "One or more tests failed" +} + +src_install() { + insinto /usr/share/zsh/site-functions + doins async.zsh + + readme.gentoo_create_doc + einstalldocs +} + +pkg_postinst() { + readme.gentoo_print_elog +}