summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelo-T. Wallus <nelo@wallus.de>2017-08-09 18:52:26 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-11 10:55:30 +0200
commita4b6849a78ba56eb8916321b6cd3833327a3f6ec (patch)
tree4edb95803e1de7b841afc28779953bf72893b563 /dev-util/bats
parentdev-util/bats: Add myself as maintainer proxied through Polynomial-C (diff)
downloadgentoo-a4b6849a78ba56eb8916321b6cd3833327a3f6ec.tar.gz
gentoo-a4b6849a78ba56eb8916321b6cd3833327a3f6ec.tar.bz2
gentoo-a4b6849a78ba56eb8916321b6cd3833327a3f6ec.zip
dev-util/bats: Snapshot bump to latest version
Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5378
Diffstat (limited to 'dev-util/bats')
-rw-r--r--dev-util/bats/Manifest1
-rw-r--r--dev-util/bats/bats-0.4.0_p20170219.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
index f74b43f3eab0..cd80f970dc7c 100644
--- a/dev-util/bats/Manifest
+++ b/dev-util/bats/Manifest
@@ -1 +1,2 @@
DIST bats-0.4.0.tar.gz 17258 SHA256 480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7 SHA512 83c6c0e3ceec149708a8db5d33e95cc84852d8189498c22131c00f4288a6c870f9d522bae9230157f442338dc101e1468451d78dfa274afb83a6f0dd614c8bdb WHIRLPOOL 9617418d6a288d6e57aa1d715498c9adcfbe80cd97a814382431203dab778f26139dc31a14aecfd6f2e71a51f11fe189fce6e3bb7174ce9d4ad25782a9a6fce0
+DIST bats-0.4.0_p20170219.tar.gz 18776 SHA256 8b2628a1e2b99dc163e4c9a38ca4139d5620752dea89ee45cfef27edf927ea62 SHA512 dc0e185b09dab5cc026ec39a2b15485751f038a6bab2e1089e55ea7e2913c0b99262edb54014300a25e0e3b6cad7ca61b4068f6ab328adaa61878dbb8efdf450 WHIRLPOOL 343a19c3d41919c3391078a1169a4774a8b411ede8e0a14391cd15250365aabf1fdd94d6dd96e7bde2909913d8cdbb18495aa17c5a37b1fda6f050baabebfe98
diff --git a/dev-util/bats/bats-0.4.0_p20170219.ebuild b/dev-util/bats/bats-0.4.0_p20170219.ebuild
new file mode 100644
index 000000000000..2abffbaffb56
--- /dev/null
+++ b/dev-util/bats/bats-0.4.0_p20170219.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+COMMITHASH="03608115df2071fff4eaaff1605768c275e5f81f"
+
+DESCRIPTION="An automated testing system for bash"
+HOMEPAGE="https://github.com/sstephenson/bats/"
+SRC_URI="https://github.com/sstephenson/bats/archive/${COMMITHASH}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/bats-${COMMITHASH}"
+
+src_test() {
+ bin/bats --tap test || die "Tests failed"
+}
+
+src_install() {
+ exeinto /usr/libexec/bats
+ doexe libexec/*
+ dosym ../libexec/bats/bats /usr/bin/bats
+
+ dodoc README.md
+ doman man/bats.1 man/bats.7
+}