diff options
author | lingnanyuan <1297162327@qq.com> | 2017-10-25 04:17:29 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-25 11:17:29 +0200 |
commit | cc51cc0b06218eb8ea0df62d94c7cecb1d1b09d7 (patch) | |
tree | c4c512e63e2b0a43d6c148c29f549e50869301a6 | |
parent | f87c426a6c29651e4183b8613237004b99f8abae (diff) | |
download | spack-cc51cc0b06218eb8ea0df62d94c7cecb1d1b09d7.tar.gz spack-cc51cc0b06218eb8ea0df62d94c7cecb1d1b09d7.tar.bz2 spack-cc51cc0b06218eb8ea0df62d94c7cecb1d1b09d7.tar.xz spack-cc51cc0b06218eb8ea0df62d94c7cecb1d1b09d7.zip |
r-rbgl: Create new package. (#5931)
-rw-r--r-- | var/spack/repos/builtin/packages/r-rbgl/package.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rbgl/package.py b/var/spack/repos/builtin/packages/r-rbgl/package.py new file mode 100644 index 0000000000..09548b9ff1 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rbgl/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 RRbgl(RPackage): + """A fairly extensive and comprehensive interface to the graph + algorithms contained in the BOOST library.""" + + homepage = "https://www.bioconductor.org/packages/RBGL/" + url = "https://git.bioconductor.org/packages/RBGL" + + version('1.52.0', git='https://git.bioconductor.org/packages/RBGL', commit='93e8fcfafec8f1cd5638fe30dc0f9506d15b49c0') + + depends_on('r@3.4.0:3.4.9', when='@1.52.0') + depends_on('r-graph', type=('build', 'run')) |