diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-util/shelltestrunner/shelltestrunner-1.9.ebuild | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
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..578af97cf823 --- /dev/null +++ b/dev-util/shelltestrunner/shelltestrunner-1.9.ebuild @@ -0,0 +1,52 @@ +# 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" +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' +} |
