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-06-25 11:34:15 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-06-25 11:34:15 +08:00
|
|
|
|
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class VotcaXtp(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 exciton transport engine.
|
|
|
|
"""
|
|
|
|
homepage = "http://www.votca.org"
|
2018-07-25 10:56:56 +08:00
|
|
|
url = "https://github.com/votca/xtp/tarball/v1.4.1"
|
2018-07-25 09:52:35 +08:00
|
|
|
git = "https://github.com/votca/xtp.git"
|
2017-06-25 11:34:15 +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='b40b6d19e13f0650e84b8beebe86ce5c09071624f18d66df826f9d8584b4d3c8')
|
2017-09-12 04:28:53 +08:00
|
|
|
version('1.4.1', '31a2dbd8bd48bf337bc88b20ab312050')
|
2017-06-25 11:34:15 +08:00
|
|
|
|
|
|
|
depends_on("cmake@2.8:", type='build')
|
2019-02-05 03:57:19 +08:00
|
|
|
for v in ["1.4.1", "1.5", "develop"]:
|
|
|
|
depends_on('votca-tools@%s' % v, when="@%s" % v)
|
|
|
|
depends_on('votca-csg@%s' % v, when="@%s" % v)
|
2017-06-25 11:34:15 +08:00
|
|
|
depends_on("votca-ctp@develop", when='@develop')
|
2018-07-20 00:06:16 +08:00
|
|
|
depends_on("libxc", when='@1.5:')
|
|
|
|
depends_on("ceres-solver", when='@1.5:')
|