summaryrefslogtreecommitdiff
path: root/dev-util/bats
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /dev-util/bats
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-util/bats')
-rw-r--r--dev-util/bats/Manifest4
-rw-r--r--dev-util/bats/bats-1.3.0.ebuild6
-rw-r--r--dev-util/bats/bats-1.4.1.ebuild8
3 files changed, 15 insertions, 3 deletions
diff --git a/dev-util/bats/Manifest b/dev-util/bats/Manifest
index 81977d50e6af..8b47af2c2786 100644
--- a/dev-util/bats/Manifest
+++ b/dev-util/bats/Manifest
@@ -1,5 +1,5 @@
DIST bats-1.3.0.tar.gz 78392 BLAKE2B 5dbc87ee87aba0b001d25f1304939604b1682603fb0d2fae19f852171e8bd76f1a6c262b661a373aeeb9b79818eae3387b3e4d6bcf4f0f95b87dc2430caf029f SHA512 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c
DIST bats-1.4.1.tar.gz 98964 BLAKE2B e7cb70d2d0f448e4336ccf1fe51e93730a7179a782247e28ee906eb576fc02305aeeb2a580b5d34220daf8dfd2ee1d3269fb86a386fdf00483bd3b234df3b75e SHA512 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e
-EBUILD bats-1.3.0.ebuild 814 BLAKE2B eb9e4b8b39ccf123feb41ff3afc027537d9fcfc157b74c252cd37829ebb99a741c82dd710e6787636fcc96140894f810da5243de41122fea3fa890ca8b3c86a4 SHA512 9b8d60b1748431da443626a04672a547e2b6a217344e4c06653835a13d4ad035d5b8a430c72077bb37998468710acaf4d3f74f4a6d6e8dc2a3bb5c6daa25594d
-EBUILD bats-1.4.1.ebuild 933 BLAKE2B 4618a1a1b3c19189415a6b331a23cc33b7406fd361b108a5739b663a84c771c20160d0b06932fa589e3f2ff1c46ceddc13d30694b035bd9acae14b1ddd458f7c SHA512 6c915b4bdc4d3d5b859e981dace960d10f748ae8aa4b605fce79caf103d2d2cd6b2b2941f2269dbd16292dd42681f4e68afaefa049f8fbf7b4ea2d3e522be6cf
+EBUILD bats-1.3.0.ebuild 1052 BLAKE2B e731850ba81d19258305e08aec742f4331a0afac06d2b6f44062da69ba188292720c265b25a8281674a2f8fed23f1969db9ded73f84060068dd0bcbdffd01f18 SHA512 8c6465b749fd4ac514a3bc1da62a27820652e67284d8e79fdfbe2e58ac10a3ae11ba1a6f28e728851d8f9b8e950d91144c5feb0873b9c5f812bf59a69436957a
+EBUILD bats-1.4.1.ebuild 1182 BLAKE2B d734dd2e2e032a69020267f7c734185ddbd022d75fa48a66225cd400dfeec66afe5249a19de7a38692ef3f368a42abae90d60c838f2369a57f71a2c1457552bf SHA512 175c7d4671350fe14ff4bccf5c0c7aeddaf0cccd42c4d98ff92a5889c5c5c9dd9956f03adca447e35b883b2b98519daf793e586ac57023d7cb1fa2b84e95468f
MISC metadata.xml 960 BLAKE2B 1eef5273fa063fbeb31bf73be2dd264f83a37a75ae5bfc116cfe6e97a0707349b9fdd6e0700505d7f698e63eeffeec2f72f9f9e853be3c3eb70ea80891fddde0 SHA512 906495ef8f00981f362302c4cc0f24aca8a9a7d4898e4f729941836b3bb126590c7d4863b37b6d216c1485cc96502c330ca03801c9cb271793ebd298285f8923
diff --git a/dev-util/bats/bats-1.3.0.ebuild b/dev-util/bats/bats-1.3.0.ebuild
index 452bf442d004..a30d15fa882c 100644
--- a/dev-util/bats/bats-1.3.0.ebuild
+++ b/dev-util/bats/bats-1.3.0.ebuild
@@ -19,6 +19,12 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
+src_prepare() {
+ default
+ # "parallelity factor is met exactly" fails in portage, disable
+ sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die
+}
+
src_test() {
bin/bats --tap test || die "Tests failed"
}
diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild
index d79c423b4e2a..86390c1dbd6b 100644
--- a/dev-util/bats/bats-1.4.1.ebuild
+++ b/dev-util/bats/bats-1.4.1.ebuild
@@ -19,9 +19,15 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
+src_prepare() {
+ default
+ # "parallelity factor is met exactly" fails in portage, disable
+ sed -i -e 's/@test "parallelity factor is met exactly" {$/@test "parallelity factor is met exactly" { skip "gentoo"/' test/parallel.bats || die
+}
+
src_test() {
local my_jobs=$(makeopts_jobs)
- if ! command -v parallel; then
+ if ! command -v parallel >/dev/null; then
my_jobs=1
fi
bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed"