2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-04-07 11:04:51 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-04-07 11:04:51 +08:00
|
|
|
|
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class VotcaCsg(CMakePackage):
|
|
|
|
"""Versatile Object-oriented Toolkit for Coarse-graining
|
|
|
|
Applications (VOTCA) is a package intended to reduce the amount of
|
|
|
|
routine work when doing systematic coarse-graining of various
|
|
|
|
systems. The core is written in C++.
|
|
|
|
|
|
|
|
This package contains the VOTCA coarse-graining engine.
|
|
|
|
"""
|
|
|
|
homepage = "http://www.votca.org"
|
|
|
|
url = "https://github.com/votca/csg/tarball/v1.4"
|
2018-07-25 09:52:35 +08:00
|
|
|
git = "https://github.com/votca/csg.git"
|
2017-04-07 11:04:51 +08:00
|
|
|
|
2018-07-25 09:52:35 +08:00
|
|
|
version('develop', branch='master')
|
2019-02-05 03:57:19 +08:00
|
|
|
version('1.5', sha256='160387cdc51f87dd20ff2e2eed97086beee415d48f3c92f4199f6109068c8ff4')
|
2019-10-11 13:44:41 +08:00
|
|
|
version('1.4.1', sha256='41dccaecadd0165c011bec36a113629e27745a5a133d1a042efe4356acdb5450')
|
|
|
|
version('1.4', sha256='c13e7febd792de8c3d426203f089bd4d33b8067f9db5e8840e4579c88b61146e')
|
2017-04-07 11:04:51 +08:00
|
|
|
|
|
|
|
depends_on("cmake@2.8:", type='build')
|
2019-02-05 03:57:19 +08:00
|
|
|
for v in ["1.4", "1.4.1", "1.5", "develop"]:
|
|
|
|
depends_on('votca-tools@%s' % v, when="@%s" % v)
|
2017-06-21 04:34:17 +08:00
|
|
|
depends_on("gromacs~mpi@5.1:")
|
2018-07-22 05:45:01 +08:00
|
|
|
depends_on("hdf5~mpi")
|