@@ -4,7 +4,7 @@ synopsis: Functional tests for the text package
44description: Functional tests for the text package
55homepage: https://bitbucket.org/bos/text
66license: BSD3
7−license-file: ../../LICENSE
7+license-file: ../LICENSE
88author: Jasper Van der Jeugt <jaspervdj@gmail.com>,
99 Bryan O'Sullivan <bos@serpentine.com>,
1010 Tom Harper <rtomharper@googlemail.com>,
@@ -20,8 +20,7 @@ flag hpc
2020 default: False
2121
2222executable text-tests
23− hs-source-dirs: src
24− main-is: Data/Text/Tests.hs
23+ main-is: Tests.hs
2524
2625 ghc-options:
2726 -Wall -threaded -O0 -rtsopts
@@ -35,21 +34,20 @@ executable text-tests
3534 -DHAVE_DEEPSEQ
3635
3736 build-depends:
38− text-tests,
39− base >= 4 && < 5,
40− bytestring >= 0.9,
41− deepseq >= 1.1,
42− directory >= 1.1 && < 1.2,
43− random >= 1.0 && < 1.1,
44− QuickCheck >= 2.4 && < 2.5,
45− HUnit >= 1.2 && < 1.3,
46− test-framework >= 0.4 && < 0.5,
47− test-framework-quickcheck2 >= 0.2 && < 0.3,
48− test-framework-hunit >= 0.2 && < 0.3
37+ HUnit >= 1.2,
38+ QuickCheck >= 2.4,
39+ base == 4.*,
40+ bytestring,
41+ deepseq,
42+ directory,
43+ random,
44+ test-framework >= 0.4,
45+ test-framework-hunit >= 0.2,
46+ test-framework-quickcheck2 >= 0.2,
47+ text-tests
4948
5049executable text-tests-stdio
51− hs-source-dirs: src
52− main-is: Data/Text/Tests/IO.hs
50+ main-is: Tests/IO.hs
5351
5452 ghc-options:
5553 -Wall -threaded -rtsopts
@@ -64,8 +62,8 @@ executable text-tests-stdio
6462 base >= 4 && < 5
6563
6664library
67− hs-source-dirs: ../..
68− c-sources: ../../cbits/cbits.c
65+ hs-source-dirs: ..
66+ c-sources: ../cbits/cbits.c
6967 exposed-modules:
7068 Data.Text
7169 Data.Text.Array
@@ -117,8 +115,8 @@ library
117115
118116 build-depends:
119117 array,
120− base >= 4 && < 5,
121− bytestring >= 0.9,
122− deepseq >= 1.1,
123− integer-gmp >= 0.2 && < 0.3,
124− ghc-prim >= 0.2 && < 0.3
118+ base == 4.*,
119+ bytestring,
120+ deepseq,
121+ ghc-prim,
122+ integer-gmp