Created attachment 432342 [details] bats-0.4.0.ebuild Hi! Please find attached bats-0.4.0.ebuild for being added into the gentoo portage tree. I volunteer to proxy maintain this package. I was not sure where to file this, so feel free to correct my suggestion of dev-util/bats. --- From https://github.com/sstephenson/bats#bats-bash-automated-testing-system: 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. Test cases consist of standard shell commands. Bats makes use of Bash's errexit (set -e) option when running test cases. If every command in the test case exits with a 0 status code (success), the test passes. In this way, each line is an assertion of truth.
Good job, works perfectly. You can omit DOCS=( README.md ) as it is contained in the defaults.
Created attachment 432452 [details] bats-0.4.0.ebuild-1 Hi Tomáš, Thanks for the suggestion. I have updated the ebuild with a new version.
bats
Thanks for your contribution! Apologies for the spurious comment before - used the wrong argument! :D There were a couple of further minor adjustments to the ebuild that I made as I committed it: - The DEPEND and RDEPEND variables don't need to be defined if they are null, so they were removed. - I tested this locally under an x86 environment so also KEYWORDED for ~x86. Otherwise, good job, and welcome to the Proxy Maintainers! commit f592cbb685e350a15592bdc24a70d484b1e3726f Author: Sam Jorna <wraeth@gentoo.org> Date: Sat Apr 30 21:57:33 2016 +1000 dev-util/bats: new package 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. This has been added in order to support app-admin/yadm in bug 581118. Maintainer assigned to Espen H per request under Proxy Maintainers. Gentoo-bug: 581392 Package-Manager: portage-2.2.28
Just to let you know, I had a missing "|| die" pointed out to me that I have fixed for you in commit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59340b7