public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bats/
Date: Sun, 24 Oct 2021 04:06:20 +0000 (UTC)	[thread overview]
Message-ID: <1635048365.a8c9fb266850ca2b4e408d293be5730833430738.sam@gentoo> (raw)

commit:     a8c9fb266850ca2b4e408d293be5730833430738
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Fri Oct 22 08:50:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:06:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c9fb26

dev-util/bats: bump version to 1.5.0

Switch EAPI to 8 and drop the workaround we had in place for a test that
used to fail in previous versions.

Related-to: https://bugs.gentoo.org/809755
Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/22668
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/bats/Manifest          |  1 +
 dev-util/bats/bats-1.5.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
index 7571953cb99..8b55c57b4ac 100644
--- a/dev-util/bats/Manifest
+++ b/dev-util/bats/Manifest
@@ -1,2 +1,3 @@
 DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c
 DIST bats-1.4.1.tar.gz 98964 BLAKE2B e7cb70d2d0f448e4336ccf1fe51e93730a7179a782247e28ee906eb576fc02305aeeb2a580b5d34220daf8dfd2ee1d3269fb86a386fdf00483bd3b234df3b75e SHA512 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e
+DIST bats-1.5.0.tar.gz 108052 BLAKE2B 68bba9d263e4206ead7039da2b09c5211c834445efdf429dca6c53acc5409de1052ce7ffa9143e732d3aeaeb6ea6dcaf9b419adc02776e601545557dea776e36 SHA512 e0386fb32214db67ae001a2040c44277988af7fa909a820843237c7d47eedfa4e370238d5b2d06a4667b874cad4b00f2cd14624b1bc45628192e5d693bd5073a

diff --git a/dev-util/bats/bats-1.5.0.ebuild b/dev-util/bats/bats-1.5.0.ebuild
new file mode 100644
index 00000000000..b9ed1b8d148
--- /dev/null
+++ b/dev-util/bats/bats-1.5.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing optfeature
+
+MY_PN="bats-core"
+DESCRIPTION="Bats-core: Bash Automated Testing System"
+HOMEPAGE="https://github.com/bats-core/bats-core/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="app-shells/bash:*"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_test() {
+	local my_jobs=$(makeopts_jobs)
+	if ! command -v parallel >/dev/null; then
+		my_jobs=1
+	fi
+	bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed"
+}
+
+src_install() {
+	exeinto /usr/libexec/${MY_PN}
+	doexe libexec/${MY_PN}/*
+	exeinto /usr/lib/${MY_PN}
+	doexe lib/${MY_PN}/*
+	dobin bin/${PN}
+
+	dodoc README.md
+	doman man/${PN}.1 man/${PN}.7
+}
+
+pkg_postinst() {
+	optfeature "Parallel Execution" sys-process/parallel
+}


             reply	other threads:[~2021-10-24  4:06 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-24  4:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-07 21:11 [gentoo-commits] repo/gentoo:master commit in: dev-util/bats/ Eli Schwartz
2024-07-07 21:11 Eli Schwartz
2024-06-06 17:28 Arthur Zamarin
2024-04-22 10:17 Sam James
2023-10-18 12:50 Florian Schmaus
2023-10-17  6:00 Joonas Niilola
2023-08-11  6:11 Joonas Niilola
2023-05-13  3:31 Sam James
2023-03-31 16:21 Arthur Zamarin
2023-02-24 15:09 Joonas Niilola
2023-01-28  9:34 Joonas Niilola
2023-01-07 11:30 Arthur Zamarin
2022-10-28 13:40 Florian Schmaus
2022-10-01  5:36 Sam James
2022-10-01  5:06 Sam James
2022-06-03  7:52 Joonas Niilola
2022-06-03  7:52 Joonas Niilola
2022-05-05 12:01 Jakov Smolić
2022-03-27  2:33 Sam James
2022-03-18 12:26 Arthur Zamarin
2022-03-15 16:27 Sam James
2022-02-25  9:48 Yixun Lan
2022-02-07 11:10 Florian Schmaus
2022-01-11 13:01 Jakov Smolić
2021-11-19  6:18 Arthur Zamarin
2021-09-25  2:58 Sam James
2021-09-25  2:58 Sam James
2021-08-15 14:46 Joonas Niilola
2021-08-15 14:46 Joonas Niilola
2021-07-29 10:46 Joonas Niilola
2021-07-29 10:46 Joonas Niilola
2021-07-22 22:25 Marek Szuba
2021-06-02 10:39 Sam James
2021-03-16 21:28 Sam James
2021-01-03  1:22 Sam James
2021-01-03  1:22 Sam James
2021-01-03  1:18 Sam James
2020-11-24  6:06 Georgy Yakovlev
2020-11-02  1:14 Georgy Yakovlev
2020-07-28  7:05 Lars Wendler
2020-07-28  7:05 Lars Wendler
2020-07-28  7:05 Lars Wendler
2020-07-28  7:05 Lars Wendler
2020-03-31 10:01 Agostino Sarubbo
2020-03-31  7:23 Georgy Yakovlev
2020-03-31  7:18 Agostino Sarubbo
2018-10-03  5:15 Georgy Yakovlev
2018-02-11 10:53 Michał Górny
2018-02-01  6:53 Lars Wendler
2017-08-11  8:55 Lars Wendler
2017-08-11  8:55 Lars Wendler
2017-08-08 11:03 Amy Liffey
2016-05-01  2:08 Sam Jorna
2016-04-30 14:34 Sam Jorna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1635048365.a8c9fb266850ca2b4e408d293be5730833430738.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox