1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
Description: Remove 'dns-internal' internal library
Our haskell-devscripts cannot handle Haskell packages with more than one
libraries. Remove the 'dns-internal' internal library and move its sources
under other-modules.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Index: b/dns.cabal
===================================================================
--- a/dns.cabal
+++ b/dns.cabal
@@ -37,10 +37,21 @@ library
Network.DNS.IO
other-modules: Network.DNS.Transport
+ Network.DNS.Imports
+ Network.DNS.Types.Internal
+ Network.DNS.Types.Resolver
+ Network.DNS.Resolver.Internal
+ Network.DNS.Decode.Parsers
+ Network.DNS.Decode.Internal
+ Network.DNS.Encode.Builders
+ Network.DNS.Encode.Internal
+ Network.DNS.StateBinary
+ Network.DNS.Memo
+ Network.DNS.Base32Hex
+ hs-source-dirs: . internal
default-language: Haskell2010
ghc-options: -Wall
build-depends:
- dns-internal,
base >=4 && <5,
array,
async,
@@ -49,6 +60,7 @@ library
base16-bytestring,
base64-bytestring,
bytestring,
+ case-insensitive,
containers,
crypton,
hourglass,
@@ -57,45 +69,6 @@ library
network >=2.3,
psqueues
-library dns-internal
- exposed-modules:
- Network.DNS.Imports
- Network.DNS.Types.Internal
- Network.DNS.Types.Resolver
- Network.DNS.Resolver.Internal
- Network.DNS.Decode.Parsers
- Network.DNS.Decode.Internal
- Network.DNS.Encode.Builders
- Network.DNS.Encode.Internal
- Network.DNS.StateBinary
- Network.DNS.Memo
- Network.DNS.Base32Hex
-
- hs-source-dirs: internal
- default-language: Haskell2010
- ghc-options: -Wall
- build-depends:
- base,
- array,
- async,
- attoparsec,
- auto-update,
- base16-bytestring,
- base64-bytestring,
- bytestring,
- case-insensitive,
- containers,
- crypton,
- hourglass,
- iproute,
- mtl,
- network,
- psqueues
-
- if os(windows)
- c-sources: cbits/dns.c
- extra-libraries: iphlpapi
-
test-suite network-tests
type: exitcode-stdio-1.0
main-is: Spec.hs
@@ -109,7 +82,6 @@ test-suite network-tests
ghc-options: -Wall
build-depends:
dns,
- dns-internal,
base,
hspec,
network
@@ -128,7 +100,6 @@ test-suite spec-tests
ghc-options: -Wall
build-depends:
dns,
- dns-internal,
QuickCheck >=2.9,
base,
bytestring,
|