commit:     dae3709429b5050856c6e1917137dbd75d074718
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sun Nov  1 10:17:32 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Nov  2 01:13:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae37094

dev-util/bats: add postinst information on optional rdep

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/18059
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-util/bats/bats-1.2.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-util/bats/bats-1.2.1.ebuild b/dev-util/bats/bats-1.2.1.ebuild
index 0ab0773b5e9..797890f4d2e 100644
--- a/dev-util/bats/bats-1.2.1.ebuild
+++ b/dev-util/bats/bats-1.2.1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit optfeature
+
 MY_PN="bats-core"
 DESCRIPTION="Bats-core: Bash Automated Testing System"
 HOMEPAGE="https://github.com/bats-core/bats-core/";
@@ -31,3 +33,7 @@ src_install() {
        dodoc README.md
        doman man/${PN}.1 man/${PN}.7
 }
+
+pkg_postinst() {
+       optfeature "Parallel Execution" sys-process/parallel
+}

Reply via email to