diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2019-05-17 14:44:35 -0500 |
---|---|---|
committer | Levi Baber <baberlevi@gmail.com> | 2019-05-17 14:44:35 -0500 |
commit | cc6f822cb1c8a28aa11497d956b6bcbffec52323 (patch) | |
tree | 00b7240c34903707823685a60b14d962d129b68f /var | |
parent | c7a28ec1d488b1b83cb0b205e66f7723544c69c7 (diff) | |
download | spack-cc6f822cb1c8a28aa11497d956b6bcbffec52323.tar.gz spack-cc6f822cb1c8a28aa11497d956b6bcbffec52323.tar.bz2 spack-cc6f822cb1c8a28aa11497d956b6bcbffec52323.tar.xz spack-cc6f822cb1c8a28aa11497d956b6bcbffec52323.zip |
smof: new package at 2.13.1 (#11502)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/smof/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/smof/package.py b/var/spack/repos/builtin/packages/smof/package.py new file mode 100644 index 0000000000..d2a2409f59 --- /dev/null +++ b/var/spack/repos/builtin/packages/smof/package.py @@ -0,0 +1,29 @@ +# 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) +# See the Spack documentation for more information on packaging. + +from spack import * +from os import symlink + + +class Smof(Package): + """Explore and analyze biological sequence data""" + + homepage = "https://github.com/incertae-sedis/smof" + url = "https://github.com/incertae-sedis/smof/archive/2.13.1.tar.gz" + + version('2.13.1', sha256='bae75703728c62398f2af58b142ab2555f9be2224e13ff108913607777ea2a2e') + + depends_on('python@3:', type='run') + + def install(self, spec, prefix): + # install sources + install_tree('.', prefix) + + # add command + mkdirp(prefix.bin) + + symlink(join_path(prefix, 'smof.py'), + join_path(prefix.bin, 'smof')) |