mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/bats-support: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
30
dev-util/bats-support/bats-support-0.3.0.ebuild
Normal file
30
dev-util/bats-support/bats-support-0.3.0.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Supporting library for Bats test helpers"
|
||||
HOMEPAGE="https://github.com/bats-core/bats-support"
|
||||
SRC_URI="https://github.com/bats-core/bats-support/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-util/bats"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README.md CHANGELOG.md )
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins *.bash
|
||||
doins -r src
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
bats test || die
|
||||
}
|
||||
Reference in New Issue
Block a user