public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-support/
@ 2021-10-16 10:21 Alessandro Barbieri
  0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-10-16 10:21 UTC (permalink / raw
  To: gentoo-commits

commit:     f859a3cbbfb88262abe57618ffc269bb3bfe7f57
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Oct 16 08:56:22 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=f859a3cb

dev-util/bats-support: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-util/bats-support/Manifest                  |  1 +
 dev-util/bats-support/bats-support-0.3.0.ebuild | 30 +++++++++++++++++++++++++
 dev-util/bats-support/metadata.xml              | 23 +++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/dev-util/bats-support/Manifest b/dev-util/bats-support/Manifest
new file mode 100644
index 000000000..82880344a
--- /dev/null
+++ b/dev-util/bats-support/Manifest
@@ -0,0 +1 @@
+DIST bats-support-0.3.0.tar.gz 10403 BLAKE2B 2cd488f420e2e1975f744aa15fb84e7e34b2226b06dcc6dc2959404e267d0d08b5c218b34da8e14b49ffb5c430545a2153c889904ccd08c74a7861495bca9c3d SHA512 417a8054462a44a6f46e375526cc1c920bae54ea76ddec3ff46603fe68bdb5c58f51bfb1c7e066347a3b71ff4d43986fd5157eb55151e0c4b5d189d81282ea14

diff --git a/dev-util/bats-support/bats-support-0.3.0.ebuild b/dev-util/bats-support/bats-support-0.3.0.ebuild
new file mode 100644
index 000000000..b3ac473cc
--- /dev/null
+++ b/dev-util/bats-support/bats-support-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# 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-support"
+SRC_URI="https://github.com/bats-core/bats-support/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-util/bats"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md CHANGELOG.md )
+RESTRICT="!test? ( test )"
+
+src_install() {
+	insinto "/usr/share/${PN}"
+	doins *.bash
+	doins -r src
+	einstalldocs
+}
+
+src_test() {
+	bats test || die
+}

diff --git a/dev-util/bats-support/metadata.xml b/dev-util/bats-support/metadata.xml
new file mode 100644
index 000000000..4705e2ed0
--- /dev/null
+++ b/dev-util/bats-support/metadata.xml
@@ -0,0 +1,23 @@
+<?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-support</remote-id>
+  </upstream>
+  <longdescription lang="en">
+bats-support is a supporting library providing common functions to test helper libraries written for Bats.
+
+Features:
+
+error reporting
+output formatting
+language tools
+See the shared documentation to learn how to install and load this library.
+
+If you want to use this library in your own helpers or just want to learn about its internals see the developer documentation in the source files.
+  </longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-16 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-16 10:21 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/bats-support/ Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox