mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-util/bats-support: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-util/bats-support/Manifest
Normal file
1
dev-util/bats-support/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST bats-support-0.3.0.tar.gz 10403 BLAKE2B 2cd488f420e2e1975f744aa15fb84e7e34b2226b06dcc6dc2959404e267d0d08b5c218b34da8e14b49ffb5c430545a2153c889904ccd08c74a7861495bca9c3d SHA512 417a8054462a44a6f46e375526cc1c920bae54ea76ddec3ff46603fe68bdb5c58f51bfb1c7e066347a3b71ff4d43986fd5157eb55151e0c4b5d189d81282ea14
|
||||
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
|
||||
}
|
||||
23
dev-util/bats-support/metadata.xml
Normal file
23
dev-util/bats-support/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">bats-core/bats-support</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
bats-support is a supporting library providing common functions to test helper libraries written for Bats.
|
||||
|
||||
Features:
|
||||
|
||||
error reporting
|
||||
output formatting
|
||||
language tools
|
||||
See the shared documentation to learn how to install and load this library.
|
||||
|
||||
If you want to use this library in your own helpers or just want to learn about its internals see the developer documentation in the source files.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user