summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Bhatia <bhatia4@llnl.gov>2020-06-29 23:58:13 -0700
committerGitHub <noreply@github.com>2020-06-30 08:58:13 +0200
commit6fb30acb77788d7fff88d8668f425b2fa82d6aed (patch)
treebc988a246d165dda65c8ce4b5a398f98317f31c8
parent01dc8d6fc8734c8fd29324a8b8aa7967d29f4813 (diff)
downloadspack-6fb30acb77788d7fff88d8668f425b2fa82d6aed.tar.gz
spack-6fb30acb77788d7fff88d8668f425b2fa82d6aed.tar.bz2
spack-6fb30acb77788d7fff88d8668f425b2fa82d6aed.tar.xz
spack-6fb30acb77788d7fff88d8668f425b2fa82d6aed.zip
dssp: new package at v3.1.4 (#17188)
Renamed xspp to hspp
-rw-r--r--var/spack/repos/builtin/packages/dssp/package.py32
-rw-r--r--var/spack/repos/builtin/packages/hssp/package.py (renamed from var/spack/repos/builtin/packages/xssp/package.py)15
2 files changed, 42 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/dssp/package.py b/var/spack/repos/builtin/packages/dssp/package.py
new file mode 100644
index 0000000000..626464b67c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dssp/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2020 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 Dssp(AutotoolsPackage):
+ """'mkdssp' utility. (dictionary of protein secondary structure)"""
+
+ homepage = "https://github.com/cmbi/dssp"
+ url = "https://github.com/cmbi/dssp/archive/3.1.4.tar.gz"
+
+ version('3.1.4', sha256='496282b4b5defc55d111190ab9f1b615a9574a2f090e7cf5444521c747b272d4')
+ version('2.3.0', sha256='4c95976d86dc64949cb0807fbd58c7bee5393df0001999405863dc90f05846c6')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('boost@1.48:')
+
+ def configure_args(self):
+ args = [
+ "--with-boost=%s" % self.spec['boost'].prefix]
+ return args
+
+ @run_after('configure')
+ def edit(self):
+ makefile = FileFilter(join_path(self.stage.source_path, 'Makefile'))
+ makefile.filter('.*-Werror .*', ' -Wno-error \\')
diff --git a/var/spack/repos/builtin/packages/xssp/package.py b/var/spack/repos/builtin/packages/hssp/package.py
index 4a8149cb1b..073cbedea6 100644
--- a/var/spack/repos/builtin/packages/xssp/package.py
+++ b/var/spack/repos/builtin/packages/hssp/package.py
@@ -6,12 +6,17 @@
from spack import *
-class Xssp(AutotoolsPackage):
- """The source code for building the mkdssp, mkhssp, hsspconv, and hsspsoap
- programs is bundled in the xssp project"""
+class Hssp(AutotoolsPackage):
+ """The source code for building the mkhssp and hsspconv programs is bundled
+ in the hssp project.
- homepage = "https://github.com/cmbi/xssp"
- url = "https://github.com/cmbi/xssp/archive/3.0.10.tar.gz"
+ The mkhssp executable creates stockholm files with hssp annotations in
+ them. The hsspconv executable converts stockholm to the original hssp
+ format.
+ """
+
+ homepage = "https://github.com/cmbi/hssp"
+ url = "https://github.com/cmbi/hssp/archive/3.0.10.tar.gz"
version('3.0.10', sha256='b475d6fa62098df0e54c8dbdaa0b32de93bf5a393335f73f9b5a7e95f3090d2a')
version('3.0.9', sha256='42a9a93c48d22478212dcaf6ceb3feb64443e4cb2e8cccdd402b47a595d16658')