summaryrefslogtreecommitdiff
path: root/dev-util/bats
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/bats
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/bats')
-rw-r--r--dev-util/bats/Manifest6
-rw-r--r--dev-util/bats/bats-0.4.0.ebuild23
-rw-r--r--dev-util/bats/bats-0.4.0_p20170219.ebuild29
-rw-r--r--dev-util/bats/metadata.xml27
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
new file mode 100644
index 000000000000..de8dcfd8c951
--- /dev/null
+++ b/dev-util/bats/Manifest
@@ -0,0 +1,6 @@
+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
+EBUILD bats-0.4.0.ebuild 485 SHA256 13cf3508c5ff45ca44390c04b3456d208b497d7f7e8fba71334c1d43ec4cd505 SHA512 48856743881d5bec9e275531d2d50897e3d31401d5f4e189a7f9b62f8fde45b108791f50ae4f6c9a9e3f129cad83c391ba220bd359527e1851ab6a97664e43ef WHIRLPOOL 16494e87f7ddaa7382df17368b6eb324933d78b64a3ed28c1c15d4b635077b3354248a4069765fa50f98cce6953d65b160aa7d94875ac63ed3c7f6383e5c0e70
+EBUILD bats-0.4.0_p20170219.ebuild 653 SHA256 03a27e55c5edd9a96ecd63030f6ac0446ce6bb5e4b8b49ad2468cf5484b63a3e SHA512 653d2df7928343487adf921317c78d99dc27295f820b5fb70f524506d0a592db9d95cf798a29a3b5cb5c877bb3cbd1fd8c098b3c5229e3e6c9f58b8d498ddf45 WHIRLPOOL 2265f513f73451fe9a9a319c573d667956065e5617addf54cff9fc46390b642af8975d0ff76adee57aa9ac67a4cef77f8b2a76e208fd4fc897148bfcfd129553
+MISC ChangeLog 775 SHA256 b17e9a61ad3e2ccf4251b6aff19a62df2f03209990bead1eb6e810e6e88e0565 SHA512 8ccc2342c8778b279779b11ef4c506f7ad1c6db1eb46ad4065f5782cb373a4259bbfd6f018d213051859e8653bad7d720ba28dfd60ffd89f65e74a6cb109830e WHIRLPOOL 96f224ea2089f9877fb0f1deae73abc7fc4e741ccbb1aefefca6d067f9367286264549adf24c8e6d2f51e4eb6f810cc743fb6f368a83b52dd52fb721e5d1b8d7
+MISC metadata.xml 1004 SHA256 da051a0b793315ed99422709c25e15a5d19a6e824f9635e618dc32e509b9f326 SHA512 aa707b4cb1dee197a5421d28023671673c6c596f3dd0df8aa79031ebcc6444c921a71cefdb40c3c379f3042a60ee4ffe61faa1e5056f1fe7b99dd1bd59a7fdd2 WHIRLPOOL b9166c94f6ce07b72f241d7c8a4f9f00b76990a509c4f47782df3e6fb740d05c4f6260e44c7493c1328aabbaef2b6dbb8a596b69a2c13573c0a0440f38655e5e
diff --git a/dev-util/bats/bats-0.4.0.ebuild b/dev-util/bats/bats-0.4.0.ebuild
new file mode 100644
index 000000000000..0af7a00bf20f
--- /dev/null
+++ b/dev-util/bats/bats-0.4.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An automated testing system for bash"
+HOMEPAGE="https://github.com/sstephenson/bats/"
+SRC_URI="https://github.com/sstephenson/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_test() {
+ bin/bats --tap test || die "Tests failed"
+}
+
+src_install() {
+ einstalldocs
+
+ dobin libexec/*
+ doman man/bats.1 man/bats.7
+}
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
+}
diff --git a/dev-util/bats/metadata.xml b/dev-util/bats/metadata.xml
new file mode 100644
index 000000000000..d65f42192294
--- /dev/null
+++ b/dev-util/bats/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nelo@wallus.de</email>
+ <name>Nelo-Thara Wallus</name>
+ <description>Proxied by Polynomial-C</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ <description>Proxy maintainer for Nelo</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sstephenson/bats</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ Bats is a TAP-compliant testing framework for Bash. It provides a simple
+ way to verify that the UNIX programs you write behave as expected.
+
+ A Bats test file is a Bash script with special syntax for defining test
+ cases. Under the hood, each test case is just a function with a description.
+
+ Bats is most useful when testing software written in Bash, but you can use
+ it to test any UNIX program.
+ </longdescription>
+</pkgmetadata>