From b1fceb75d0f7b999c5f2a4edc686a1a947b60a95 Mon Sep 17 00:00:00 2001 From: Audrey Thoma Date: Wed, 21 Jun 2017 10:51:05 -0500 Subject: Andi and libdivsufsort (#4559) * andi: adding andi and libdivsufsort * andi: adding andi and dependency libdivsufsort * andi: adding andi and dependency libdivsufsort * andi: fixing autotool dependency types * andi: fixed whitespace to make flake8 compliant --- var/spack/repos/builtin/packages/andi/package.py | 42 ++++++++++++++++++++++ .../builtin/packages/libdivsufsort/package.py | 35 ++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 var/spack/repos/builtin/packages/andi/package.py create mode 100644 var/spack/repos/builtin/packages/libdivsufsort/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/andi/package.py b/var/spack/repos/builtin/packages/andi/package.py new file mode 100644 index 0000000000..0d48ad69af --- /dev/null +++ b/var/spack/repos/builtin/packages/andi/package.py @@ -0,0 +1,42 @@ +############################################################################## +# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/llnl/spack +# Please also see the LICENSE file for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class Andi(AutotoolsPackage): + """andi is used for for estimating the + evolutionary distance between closely related genomes.""" + + homepage = "https://github.com/EvolBioInf/andi" + url = "https://github.com/EvolBioInf/andi/archive/v0.10.tar.gz" + + version('0.10', '3aaba7961798bb4aaa546baa44e469d8') + + depends_on('m4', type='build') + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('gsl') + depends_on('libdivsufsort') diff --git a/var/spack/repos/builtin/packages/libdivsufsort/package.py b/var/spack/repos/builtin/packages/libdivsufsort/package.py new file mode 100644 index 0000000000..88355f8725 --- /dev/null +++ b/var/spack/repos/builtin/packages/libdivsufsort/package.py @@ -0,0 +1,35 @@ +############################################################################## +# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/llnl/spack +# Please also see the LICENSE file for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class Libdivsufsort(CMakePackage): + """libdivsufsort is a software library that implements a + lightweight suffix array construction algorithm.""" + + homepage = "https://github.com/y-256/libdivsufsort" + url = "https://github.com/y-256/libdivsufsort/archive/2.0.1.tar.gz" + + version('2.0.1', 'a75c6be4715d3d659936f3a1ab8cb5c0') -- cgit v1.2.3-60-g2f50