diff options
author | lingnanyuan <1297162327@qq.com> | 2017-09-25 17:38:18 -0500 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-09-25 16:38:18 -0600 |
commit | eb4ad328ee4a6ca1f87491d8ffe438cb59ccaf48 (patch) | |
tree | 97081b2988d969d1fdb1e5703ea616bf9f968b15 | |
parent | 23235cf3e33d8b16a6e9882724134ba681893c4f (diff) | |
download | spack-eb4ad328ee4a6ca1f87491d8ffe438cb59ccaf48.tar.gz spack-eb4ad328ee4a6ca1f87491d8ffe438cb59ccaf48.tar.bz2 spack-eb4ad328ee4a6ca1f87491d8ffe438cb59ccaf48.tar.xz spack-eb4ad328ee4a6ca1f87491d8ffe438cb59ccaf48.zip |
r-bit64: new package. (#5437)
* pr-quantities: add version & py-numpy conflict (#5307)
* r-bit64: Create new package.
* r-bit64: Correct format.
-rw-r--r-- | var/spack/repos/builtin/packages/r-bit64/package.py | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-bit64/package.py b/var/spack/repos/builtin/packages/r-bit64/package.py new file mode 100644 index 0000000000..b8538191fc --- /dev/null +++ b/var/spack/repos/builtin/packages/r-bit64/package.py @@ -0,0 +1,47 @@ +############################################################################## +# 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 RBit64(RPackage): + """Package 'bit64' provides serializable S3 atomic 64bit (signed) + integers. These are useful for handling database keys and exact + counting in +-2^63. WARNING: do not use them as replacement for 32bit + integers, integer64 are not supported for subscripting by R-core and + they have different semantics when combined with double, e.g. + integer64 + double => integer64. Class integer64 can be used in vectors, + matrices, arrays and data.frames. Methods are available for coercion + from and to logicals, integers, doubles, characters and factors + as well as many elementwise and summary functions. Many fast + algorithmic operations such as 'match' and 'order' support + inter- active data exploration + and manipulation and optionally leverage caching.""" + + homepage = "https://cran.rstudio.com/web/packages/bit64/index.html" + url = "https://cran.rstudio.com/src/contrib/bit64_0.9-7.tar.gz" + list_url = homepage + version('0.9-7', 'ac4bc39827338c552d329d3d4d2339c2') + + depends_on('r-bit', type=('build', 'run')) |