]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - spline3.cabal
spline3.cabal: add Paths_spline3 to other-modules to silence a warning.
[spline3.git] / spline3.cabal
index e09f80472e8eaf05044a0f6f0ae836eb01441a78..52028c46458405c354931c48864a099071199042 100644 (file)
@@ -1,25 +1,35 @@
 name:           spline3
-version:        0.0
+version:        0.0.2
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
-license:        GPL-3
+homepage:       http://michael.orlitzky.com/code/spline3.xhtml
+category:       Math
+license:        AGPL-3
 license-file:   doc/LICENSE
-homepage:       http://michael.orlitzky.com/code/spline3.php
 bug-reports:    mailto:michael@orlitzky.com
-category:       Math
 synopsis:
   A parallel implementation of the Sorokina/Zeilfelder spline scheme.
 description:
   Interpolate volumetric data according to "Local quasi-interpolation
   by cubic C^1 splines on type-6 tetrahedral partitions." The defaults
   are tailored to the MRI data contained in data/mri.bin from the
-  Stanford volume data archive at http://graphics.stanford.edu/data/voldata/.
-build-type:     Simple
+  Stanford volume data archive at <http://graphics.stanford.edu/data/voldata/>.
+  .
+  For more information and examples, please see the project homepage at
+  <http://michael.orlitzky.com/code/spline3.php>.
 
-flag HPC
-  description: Build with Haskell Program Coverage (HPC) support
-  default:     False
+build-type:     Simple
+extra-source-files:
+  data/mri.bin
+  data/mri.info
+  data/announcement.txt
+  doc/README
+  -- Don't ship the references for copyright reasons.
+  --doc/references/*.pdf
+  doc/results/2d/*.png
+  doc/results/3d/*.png
+  util/view-mri-data.py
 
 flag LLVM
   description: Build with LLVM
@@ -27,21 +37,20 @@ flag LLVM
 
 
 executable spline3
+
   build-depends:
-    base                        == 4.5.*,
-    cmdargs                     == 0.10.*,
-    filepath                    == 1.*,
-    MissingH                    == 1.1.*,
-    repa                        == 3.2.*,
-    repa-algorithms             == 3.2.*,
-    repa-io                     == 3.2.*,
-    vector                      == 0.9.*,
+    base                        < 5,
+    cmdargs                     >= 0.10,
+    filepath                    >= 1,
+    MissingH                    >= 1,
+    repa                        >= 3,
+    repa-algorithms             >= 3,
+    repa-io                     >= 3,
+    vector                      >= 0.10,
     -- Additional test dependencies.
-    HUnit                       == 1.2.*,
-    QuickCheck                  == 2.*,
-    test-framework              == 0.6.*,
-    test-framework-hunit        == 0.2.*,
-    test-framework-quickcheck2  == 0.2.*
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    tasty-quickcheck            >= 0.8.1
 
   main-is:
     Main.hs
@@ -49,6 +58,27 @@ executable spline3
   hs-source-dirs:
     src/
 
+  other-modules:
+    Assertions
+    Cardinal
+    CommandLine
+    Comparisons
+    Cube
+    Everything
+    Examples
+    ExitCodes
+    Face
+    FunctionValues
+    Grid
+    Misc
+    Paths_spline3
+    Point
+    RealFunction
+    ScaleFactor
+    Tetrahedron
+    Values
+    Volumetric
+
   ghc-options:
     -Wall
     -fwarn-hi-shadowing
@@ -77,10 +107,6 @@ executable spline3
       -optc-O3
       -optc-march=native
 
-  if flag(hpc)
-    ghc-options:
-      -fhpc
-
   ghc-prof-options:
     -prof
     -auto-all
@@ -92,9 +118,9 @@ test-suite doctests
   hs-source-dirs: test
   main-is: Doctests.hs
   build-depends:
-    base                        == 4.5.*,
+    base                        < 5,
     -- Additional test dependencies.
-    doctest                     == 0.7.*
+    doctest                     >= 0.9
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
@@ -121,20 +147,18 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    base                        == 4.5.*,
-    cmdargs                     == 0.10.*,
-    filepath                    == 1.*,
-    MissingH                    == 1.1.*,
-    repa                        == 3.2.*,
-    repa-algorithms             == 3.2.*,
-    repa-io                     == 3.2.*,
-    vector                      == 0.9.*,
+    base                        < 5,
+    cmdargs                     >= 0.10,
+    filepath                    >= 1,
+    MissingH                    >= 1,
+    repa                        >= 3,
+    repa-algorithms             >= 3,
+    repa-io                     >= 3,
+    vector                      >= 0.10,
     -- Additional test dependencies.
-    HUnit                       == 1.2.*,
-    QuickCheck                  == 2.*,
-    test-framework              == 0.6.*,
-    test-framework-hunit        == 0.2.*,
-    test-framework-quickcheck2  == 0.2.*
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    tasty-quickcheck            >= 0.8.1
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
@@ -158,5 +182,5 @@ test-suite testsuite
 
 source-repository head
   type: git
-  location: http://michael.orlitzky.com/git/spline3.git
+  location: http://gitweb.michael.orlitzky.com/spline3.git
   branch: master