diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-util/shelltestrunner/shelltestrunner-1.9.ebuild | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz srcux-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-util/shelltestrunner/shelltestrunner-1.9.ebuild')
| -rw-r--r-- | dev-util/shelltestrunner/shelltestrunner-1.9.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild new file mode 100644 index 000000000000..4fd61c32d3c2 --- /dev/null +++ b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CABAL_FEATURES="" +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 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( 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' +} |
