
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
|
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"
|
|
git = "https://github.com/votca/csg.git"
|
|
|
|
version('develop', branch='master')
|
|
version('1.5', sha256='160387cdc51f87dd20ff2e2eed97086beee415d48f3c92f4199f6109068c8ff4')
|
|
version('1.4.1', sha256='41dccaecadd0165c011bec36a113629e27745a5a133d1a042efe4356acdb5450')
|
|
version('1.4', sha256='c13e7febd792de8c3d426203f089bd4d33b8067f9db5e8840e4579c88b61146e')
|
|
|
|
depends_on("cmake@2.8:", type='build')
|
|
for v in ["1.4", "1.4.1", "1.5", "develop"]:
|
|
depends_on('votca-tools@%s' % v, when="@%s" % v)
|
|
depends_on("gromacs~mpi@5.1:")
|
|
depends_on("hdf5~mpi")
|