we should add support for
it there is such a section in cabal file we should add IUSE="test"
cabal_src_configure $(use_enable test tests)
and all section depends should go to DEPEND in test?(...) section
I started implementing this. Has anyone a cabal with several test-suites in mind?
Another question - if a test-suite is not enabled, it shouldn't be in the ebuild also, right?
hello. Thank you for your work. Latest idea was to add new CABAL_FEATURE to eclass, e.g. test-suite (correct name was not discussed yet). so hackport should:
1). check if there is a test-suite in ebuild
2). if (1) is true then add 'test-suite' feature to ebuild.
I'll try to test new feature today.
And if you want to have a discussion feel free to join #gentoo-haskell on irc.freenode.net
Done by @qnikst in 9d905864e2b31dc8ecc62142512921072ea1718a commit
Done by @renegat96 in c1c12ae commit