* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-assert/
@ 2021-10-16 10:21 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-10-16 10:21 UTC (permalink / raw
To: gentoo-commits
commit: a44ba9e72dbe1b0878fb78f0fdc2ca708a8bc636
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Oct 16 08:56:14 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Oct 16 10:21:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a44ba9e7
dev-util/bats-assert: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/bats-assert/Manifest | 1 +
dev-util/bats-assert/bats-assert-2.0.0.ebuild | 35 +++++++++++++++++++++++++++
dev-util/bats-assert/metadata.xml | 18 ++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/dev-util/bats-assert/Manifest b/dev-util/bats-assert/Manifest
new file mode 100644
index 000000000..794915756
--- /dev/null
+++ b/dev-util/bats-assert/Manifest
@@ -0,0 +1 @@
+DIST bats-assert-2.0.0.tar.gz 14175 BLAKE2B 4e34fdd018c70b18b44b39f3877fd6730631c78c23cc38e404093745d0b606bdffd8ff35bdfe7bda90fadf793b524d8189025a8929b358add9721062ed80cd7c SHA512 02a9d8edc0c241f0d155a074ff58fcda541ab2c5b7b07213c19576b2ff3ae1bc17dacd933e71c9a3db9bfa4f4e1f963349d14426b48619b3ff7b7334f09b181d
diff --git a/dev-util/bats-assert/bats-assert-2.0.0.ebuild b/dev-util/bats-assert/bats-assert-2.0.0.ebuild
new file mode 100644
index 000000000..bfda1254c
--- /dev/null
+++ b/dev-util/bats-assert/bats-assert-2.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Supporting library for Bats test helpers"
+HOMEPAGE="https://github.com/bats-core/bats-assert"
+SRC_URI="https://github.com/bats-core/bats-assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ dev-util/bats
+ dev-util/bats-support
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+RESTRICT="!test? ( test )"
+
+src_install() {
+ insinto "/usr/share/${PN}"
+ doins *.bash
+ doins -r src
+ einstalldocs
+}
+
+src_test() {
+ ln -s "/usr/share/bats-support" "${WORKDIR}/bats-support" || die
+ source /usr/share/bats-support/load.bash || die
+ bats test || die
+}
diff --git a/dev-util/bats-assert/metadata.xml b/dev-util/bats-assert/metadata.xml
new file mode 100644
index 000000000..b0887e3dd
--- /dev/null
+++ b/dev-util/bats-assert/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bats-core/bats-assert</remote-id>
+ </upstream>
+ <longdescription lang="en">
+bats-assert is a helper library providing common assertions for Bats.
+
+In the context of this project, an assertion is a function that perform a test and returns 1 on failure or 0 on success. To make debugging easier, the assertion also outputs relevant information on failure. The output is formatted for readability. To make assertions usable outside of @test blocks, the output is sent to stderr.
+
+The most recent invocation of Bats' run function is used for testing assertions on output and status code.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-assert/
@ 2021-10-16 10:25 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-10-16 10:25 UTC (permalink / raw
To: gentoo-commits
commit: 0111608d1b98813cdc7a06c1507be9f31d55ee2b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Oct 16 10:25:06 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Oct 16 10:25:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0111608d
dev-util/bats-assert: update DESCRIPTION
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-util/bats-assert/bats-assert-2.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bats-assert/bats-assert-2.0.0.ebuild b/dev-util/bats-assert/bats-assert-2.0.0.ebuild
index bfda1254c..7586b01b8 100644
--- a/dev-util/bats-assert/bats-assert-2.0.0.ebuild
+++ b/dev-util/bats-assert/bats-assert-2.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-DESCRIPTION="Supporting library for Bats test helpers"
+DESCRIPTION="Common assertions for Bats"
HOMEPAGE="https://github.com/bats-core/bats-assert"
SRC_URI="https://github.com/bats-core/bats-assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-assert/
@ 2024-02-06 12:23 Takuya Wakazono
0 siblings, 0 replies; 4+ messages in thread
From: Takuya Wakazono @ 2024-02-06 12:23 UTC (permalink / raw
To: gentoo-commits
commit: f53172c6fd903916d6e85aff6003520acd714334
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 6 11:19:08 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Feb 6 12:23:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f53172c6
dev-util/bats-assert: add 2.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-util/bats-assert/Manifest | 1 +
dev-util/bats-assert/bats-assert-2.1.0.ebuild | 33 +++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-util/bats-assert/Manifest b/dev-util/bats-assert/Manifest
index 7949157564..189aee125a 100644
--- a/dev-util/bats-assert/Manifest
+++ b/dev-util/bats-assert/Manifest
@@ -1 +1,2 @@
DIST bats-assert-2.0.0.tar.gz 14175 BLAKE2B 4e34fdd018c70b18b44b39f3877fd6730631c78c23cc38e404093745d0b606bdffd8ff35bdfe7bda90fadf793b524d8189025a8929b358add9721062ed80cd7c SHA512 02a9d8edc0c241f0d155a074ff58fcda541ab2c5b7b07213c19576b2ff3ae1bc17dacd933e71c9a3db9bfa4f4e1f963349d14426b48619b3ff7b7334f09b181d
+DIST bats-assert-2.1.0.tar.gz 17670 BLAKE2B 936c1dc1b594c2792e5fcc85b90c3bfe270157efb4a1bc25c91de1f4ef721f0a6734b40b53725eb84a225701366f6d75140df348832bca0bffaf565ea5b9e75e SHA512 797689b91df5018b717c09578e1c0f6fea11f344c2e5985ec5eaca89bab39aafa7d88b31043a34576bcdf0ab5cf160c9624ee3167bd0854d7b16aa947b3928e4
diff --git a/dev-util/bats-assert/bats-assert-2.1.0.ebuild b/dev-util/bats-assert/bats-assert-2.1.0.ebuild
new file mode 100644
index 0000000000..d1b9c6cb52
--- /dev/null
+++ b/dev-util/bats-assert/bats-assert-2.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Common assertions for Bats"
+HOMEPAGE="https://github.com/bats-core/bats-assert"
+SRC_URI="https://github.com/bats-core/bats-assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-util/bats
+ dev-util/bats-support
+"
+BDEPEND="test? ( ${RDEPEND} )"
+
+DOCS=( README.md )
+
+src_install() {
+ insinto "/usr/share/${PN}"
+ doins load.bash
+ doins -r src
+ einstalldocs
+}
+
+src_test() {
+ BATS_LIB_PATH=/usr/share bats test || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-assert/
@ 2024-02-06 12:23 Takuya Wakazono
0 siblings, 0 replies; 4+ messages in thread
From: Takuya Wakazono @ 2024-02-06 12:23 UTC (permalink / raw
To: gentoo-commits
commit: 5e8092e58e2cda431999ce55b09fd5ca5888c226
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 6 11:19:19 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Feb 6 12:23:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e8092e5
dev-util/bats-assert: drop 2.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-util/bats-assert/Manifest | 1 -
dev-util/bats-assert/bats-assert-2.0.0.ebuild | 35 ---------------------------
2 files changed, 36 deletions(-)
diff --git a/dev-util/bats-assert/Manifest b/dev-util/bats-assert/Manifest
index 189aee125a..13c2ac12fb 100644
--- a/dev-util/bats-assert/Manifest
+++ b/dev-util/bats-assert/Manifest
@@ -1,2 +1 @@
-DIST bats-assert-2.0.0.tar.gz 14175 BLAKE2B 4e34fdd018c70b18b44b39f3877fd6730631c78c23cc38e404093745d0b606bdffd8ff35bdfe7bda90fadf793b524d8189025a8929b358add9721062ed80cd7c SHA512 02a9d8edc0c241f0d155a074ff58fcda541ab2c5b7b07213c19576b2ff3ae1bc17dacd933e71c9a3db9bfa4f4e1f963349d14426b48619b3ff7b7334f09b181d
DIST bats-assert-2.1.0.tar.gz 17670 BLAKE2B 936c1dc1b594c2792e5fcc85b90c3bfe270157efb4a1bc25c91de1f4ef721f0a6734b40b53725eb84a225701366f6d75140df348832bca0bffaf565ea5b9e75e SHA512 797689b91df5018b717c09578e1c0f6fea11f344c2e5985ec5eaca89bab39aafa7d88b31043a34576bcdf0ab5cf160c9624ee3167bd0854d7b16aa947b3928e4
diff --git a/dev-util/bats-assert/bats-assert-2.0.0.ebuild b/dev-util/bats-assert/bats-assert-2.0.0.ebuild
deleted file mode 100644
index 7586b01b86..0000000000
--- a/dev-util/bats-assert/bats-assert-2.0.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Common assertions for Bats"
-HOMEPAGE="https://github.com/bats-core/bats-assert"
-SRC_URI="https://github.com/bats-core/bats-assert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="CC0-1.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-
-RDEPEND="
- dev-util/bats
- dev-util/bats-support
-"
-DEPEND="${RDEPEND}"
-
-DOCS=( README.md )
-RESTRICT="!test? ( test )"
-
-src_install() {
- insinto "/usr/share/${PN}"
- doins *.bash
- doins -r src
- einstalldocs
-}
-
-src_test() {
- ln -s "/usr/share/bats-support" "${WORKDIR}/bats-support" || die
- source /usr/share/bats-support/load.bash || die
- bats test || die
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-06 12:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 12:23 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-assert/ Takuya Wakazono
-- strict thread matches above, loose matches on Subject: below --
2024-02-06 12:23 Takuya Wakazono
2021-10-16 10:25 Alessandro Barbieri
2021-10-16 10:21 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox