app-shells/zsh-async - 1.8.6 (guru)

Search

Install

Install this version:

emerge -a =app-shells/zsh-async-1.8.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-shells/zsh-async-1.8.6

Or alternatively:

emerge --autounmask-write -a =app-shells/zsh-async-1.8.6

Package Information

Description:
Run multiple asynchronous jobs with callbacks
Homepage:
https://github.com/mafredri/zsh-async
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.8.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit readme.gentoo-r1 shell-completion

DESCRIPTION="Run multiple asynchronous jobs with callbacks"
HOMEPAGE="https://github.com/mafredri/zsh-async"
SRC_URI="https://github.com/mafredri/zsh-async/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

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() {
	newzshcomp "async.zsh" "_async"

	readme.gentoo_create_doc
	einstalldocs
}

pkg_postinst() {
	readme.gentoo_print_elog
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-shells/zsh-async | euse -E <flag> -p app-shells/zsh-async | euse -D <flag> -p app-shells/zsh-async

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

app-shells/zsh

BDEPEND

	test? (
		app-shells/zsh
		dev-vcs/git
	)

Manifest for 1.8.6

Type File Size Source URLs
DIST zsh-async-1.8.6.tar.gz 18507 bytes https://github.com/mafredri/zsh-async/archive/refs/tags/v1.8.6.tar.gz