From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/shelltestrunner/
Date: Sat, 14 Dec 2019 11:00:43 +0000 (UTC) [thread overview]
Message-ID: <1576321124.9a3c6be81649e438d90cdad368c618bbdae063e6.slyfox@gentoo> (raw)
commit: 9a3c6be81649e438d90cdad368c618bbdae063e6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 10:58:44 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 10:58:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3c6be8
dev-util/shelltestrunner: bump up to 1.9
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-util/shelltestrunner/Manifest | 1 +
.../shelltestrunner/shelltestrunner-1.9.ebuild | 51 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-util/shelltestrunner/Manifest b/dev-util/shelltestrunner/Manifest
index ebf4b839919..dfb0bebb35c 100644
--- a/dev-util/shelltestrunner/Manifest
+++ b/dev-util/shelltestrunner/Manifest
@@ -1,2 +1,3 @@
DIST shelltestrunner-1.3.4.tar.gz 21331 BLAKE2B 8530bb93680e678d7b3b439cdcf06817a1054e6c99cbcd028a19b0fb13db5b4e0e9150993348f5dffd7d0dc0dd82acc7a7331e44caf5086df28940e2f739a63c SHA512 b46e5e2456573b06f6958076a001be3fd65471dc6c89b78700f1d77870bb3844e89e9cec98ad2a146554f19550891c2f3c6bd150b8ee8d0b20d9cd3b34f55753
DIST shelltestrunner-1.3.5.tar.gz 21428 BLAKE2B af7573a16159baf5dbcbedc10a454b1f09875031cc9d619b287aeaf507744a2a1dc5cde8ea509949097b5364b5b9ac9438705e58d2d08647e5fa6c4eccceec37 SHA512 f0cc03c41fe176ddfd0e498121f5ebafda721b93e9a84f320b445bf797022545e1046ffb3814e2eaac72f0975a2a11fb1de5e0a007c5700de028e57ee66fa093
+DIST shelltestrunner-1.9.tar.gz 39538 BLAKE2B 45dc5acbfd35d65a818938382e62eacc7aa3798e8f0ab9cdd4d4a358f470de9854bedbd2335bae6b4195ea05b2305de84e0b13c86206ac0e53039726fbc59354 SHA512 bdb5476e30189f0997f3a9505d954a828475a5d95e1220dc9ed342e96100f4dfa0cfadc1afd9a5758223cf1a659d1f77d7d0a0533c32bd80b325c9a7ad48178d
diff --git a/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild
new file mode 100644
index 00000000000..59969639f34
--- /dev/null
+++ b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+DESCRIPTION="A tool for testing command-line programs"
+HOMEPAGE="https://github.com/simonmichael/shelltestrunner"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-haskell/cmdargs-0.7:=
+ >=dev-haskell/diff-0.2.0:=
+ >=dev-haskell/filemanip-0.3:=
+ dev-haskell/hunit:=
+ dev-haskell/parsec:=
+ >=dev-haskell/pretty-show-1.6.5:=
+ >=dev-haskell/regex-tdfa-1.1:=
+ dev-haskell/safe:=
+ >=dev-haskell/test-framework-0.3.2:=
+ >=dev-haskell/test-framework-hunit-0.2:=
+ >=dev-haskell/utf8-string-0.3.5:=
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+
+"
+
+src_test() {
+ # First we have to prepend "dist/build/shelltest" to the PATH, so
+ # that when the tests themselves run "shelltest", they get the
+ # recently-built executable and not an already-installed one. Then
+ # we exclude the Windows tests, leaving (for now...) only the Unix
+ # and generic ones.
+ #
+ # We also skip the macro tests for now because the sdist is missing
+ # some files:
+ #
+ # https://github.com/simonmichael/shelltestrunner/issues/13
+ #
+ LANGUAGE=en \
+ PATH="dist/build/shelltest:${PATH}" \
+ shelltest -x .windows -x macros.test tests/ || die 'test suite failed'
+}
next reply other threads:[~2019-12-14 11:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-14 11:00 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-01 21:03 [gentoo-commits] repo/gentoo:master commit in: dev-util/shelltestrunner/ Matt Turner
2023-03-17 18:23 Sam James
2022-10-06 6:12 Jakov Smolić
2022-08-31 21:32 Sam James
2022-08-28 22:03 Michael Orlitzky
2021-07-25 8:45 Sergei Trofimovich
2020-06-28 22:43 Sergei Trofimovich
2019-12-16 9:47 Michał Górny
2019-12-14 15:12 Sergei Trofimovich
2019-12-14 15:12 Sergei Trofimovich
2019-12-14 11:00 Sergei Trofimovich
2016-12-01 11:51 Agostino Sarubbo
2016-12-01 11:50 Agostino Sarubbo
2016-01-16 19:43 Sergei Trofimovich
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=1576321124.9a3c6be81649e438d90cdad368c618bbdae063e6.slyfox@gentoo \
--to=slyfox@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