Merge pull request #1010 from epfl-scitas/packages/tetgen

Adding a version to tetgen
This commit is contained in:
Todd Gamblin 2016-06-02 00:54:09 -07:00
commit 1fb4fa02e3

View File

@ -24,16 +24,19 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Tetgen(Package): class Tetgen(Package):
"""TetGen is a program and library that can be used to generate tetrahedral """TetGen is a program and library that can be used to generate
meshes for given 3D polyhedral domains. TetGen generates exact constrained tetrahedral meshes for given 3D polyhedral domains. TetGen
Delaunay tetrahedralizations, boundary conforming Delaunay meshes, and generates exact constrained Delaunay tetrahedralizations,
Voronoi paritions.""" boundary conforming Delaunay meshes, and Voronoi paritions.
"""
homepage = "http://www.tetgen.org" homepage = "http://www.tetgen.org"
url = "http://www.tetgen.org/files/tetgen1.4.3.tar.gz" url = "http://www.tetgen.org/files/tetgen1.4.3.tar.gz"
version('1.4.3', 'd6a4bcdde2ac804f7ec66c29dcb63c18') version('1.4.3', 'd6a4bcdde2ac804f7ec66c29dcb63c18')
version('1.5.0', '3b9fd9cdec121e52527b0308f7aad5c1', url='http://www.tetgen.org/1.5/src/tetgen1.5.0.tar.gz')
# TODO: Make this a build dependency once build dependencies are supported # TODO: Make this a build dependency once build dependencies are supported
# (see: https://github.com/LLNL/spack/pull/378). # (see: https://github.com/LLNL/spack/pull/378).