Changeset View
Changeset View
Standalone View
Standalone View
archivers/hs-zlib-enum/files/patch-zlib-enum.cabal
- This file was added.
--- zlib-enum.cabal.orig 2017-07-09 15:22:07 UTC | |||||
+++ zlib-enum.cabal | |||||
@@ -14,40 +14,14 @@ build-type: Simple | |||||
homepage: http://github.com/maltem/zlib-enum | |||||
------------------------------------------------------------------------------- | |||||
-flag test | |||||
- description: Build the test executable. | |||||
pgj: Why do not you simply disable the `test` flag explicitly for the build? You can do that with… | |||||
Not Done Inline ActionsThis is part of an upstream commit, I used as the base for this. tcberner: This is part of an upstream commit, I used as the base for this.
https://github.com/maltem/zlib… | |||||
- default: False | |||||
- | |||||
-------------------------------------------------------------------------------- | |||||
library | |||||
- if flag(test) | |||||
- Buildable: False | |||||
build-depends: base >= 4 && < 5 | |||||
, bytestring >= 0.9 && < 0.11 | |||||
- , transformers >= 0.2 && < 0.5 | |||||
+ , transformers >= 0.2 && < 0.6 | |||||
, enumerator == 0.4.* | |||||
, zlib-bindings == 0.1.* | |||||
exposed-modules: Codec.Zlib.Enum | |||||
ghc-options: -Wall | |||||
- | |||||
-------------------------------------------------------------------------------- | |||||
-executable zlib-enum-test | |||||
- main-is: test.hs | |||||
- if flag(test) | |||||
- Buildable: True | |||||
- build-depends: | |||||
- base >= 4.0 && < 5.0 | |||||
- , bytestring >= 0.9 && < 0.11 | |||||
- , transformers >= 0.2 && < 0.5 | |||||
- , enumerator >= 0.4 && < 0.5 | |||||
- , zlib-bindings >= 0.1 | |||||
- , test-framework >= 0.6 && < 0.7 | |||||
- , test-framework-quickcheck2 >= 0.2.12.1 && < 0.3.0 | |||||
- , QuickCheck >= 2.4 && < 2.5 | |||||
- else | |||||
- Buildable: False | |||||
- ghc-options: -Wall | |||||
- | |||||
------------------------------------------------------------------------------- | |||||
source-repository head | |||||
type: git |
Why do not you simply disable the test flag explicitly for the build? You can do that with adding FLAGS_DISABLE= test to the Makefile.