diff options
author | lingnanyuan <1297162327@qq.com> | 2017-11-03 15:17:36 -0500 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-11-03 14:17:36 -0600 |
commit | b614c7970b606eda50889099e9f52046c4421704 (patch) | |
tree | 6c0aba42d25bb83083163e7fe38daa88236f8d16 | |
parent | 3fc8a71afb1fe7e6cd79c448e18ec03b4edae07d (diff) | |
download | spack-b614c7970b606eda50889099e9f52046c4421704.tar.gz spack-b614c7970b606eda50889099e9f52046c4421704.tar.bz2 spack-b614c7970b606eda50889099e9f52046c4421704.tar.xz spack-b614c7970b606eda50889099e9f52046c4421704.zip |
r-hypergraph: Create new package. (#6113)
-rw-r--r-- | var/spack/repos/builtin/packages/r-hypergraph/package.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-hypergraph/package.py b/var/spack/repos/builtin/packages/r-hypergraph/package.py new file mode 100644 index 0000000000..b6ce8dbd3e --- /dev/null +++ b/var/spack/repos/builtin/packages/r-hypergraph/package.py @@ -0,0 +1,38 @@ +############################################################################## +# Copyright (c) 2013-2017, 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 NOTICE and LICENSE files 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 RHypergraph(RPackage): + """A package that implements some simple capabilities for + representing and manipulating hypergraphs.""" + + homepage = "https://www.bioconductor.org/packages/hypergraph/" + url = "https://git.bioconductor.org/packages/hypergraph" + + version('1.48.0', git='https://git.bioconductor.org/packages/hypergraph', commit='a4c19ea0b5f15204f706a7bfdea5363706382820') + + depends_on('r@3.4.0:3.4.9', when='@1.48.0') + depends_on('r-graph', type=('build', 'run')) |