summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Zhu <ifanzhu@foxmail.com>2017-11-10 12:11:45 -0600
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-10 11:11:45 -0700
commita872dc59273f981322f968a9b0911cd31404a820 (patch)
tree0e6575ecde449b73aa68f7c24b668729d4e5b258
parent7dea7aad51ade90286b2e22f9a5e1d096ec61871 (diff)
downloadspack-a872dc59273f981322f968a9b0911cd31404a820.tar.gz
spack-a872dc59273f981322f968a9b0911cd31404a820.tar.bz2
spack-a872dc59273f981322f968a9b0911cd31404a820.tar.xz
spack-a872dc59273f981322f968a9b0911cd31404a820.zip
r-clipr: created new package (#6249)
-rw-r--r--var/spack/repos/builtin/packages/r-clipr/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-clipr/package.py b/var/spack/repos/builtin/packages/r-clipr/package.py
new file mode 100644
index 0000000000..a5b6ce9993
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-clipr/package.py
@@ -0,0 +1,40 @@
+##############################################################################
+# 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/spack/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 RClipr(RPackage):
+ """Simple utility functions to read from and write to the Windows, OS X,
+ and X11 clipboards."""
+
+ homepage = "https://github.com/mdlincoln/clipr"
+ url = "https://cran.r-project.org/src/contrib/clipr_0.4.0.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/clipr"
+
+ version('0.4.0', '4012a31eb3b7a36bd3bac00f916e56a7')
+
+ depends_on('r-rstudioapi', type=('build', 'run'))
+ depends_on('r-testthat', type=('build', 'run'))
+ depends_on('xclip')