dev-util/shelltestrunner: bump up to 1.9

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2019-12-14 10:58:44 +00:00
parent 9b0b3e5540
commit 9a3c6be816
2 changed files with 52 additions and 0 deletions
+1
View File
@@ -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
@@ -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'
}