summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/r-bibtex/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-bibtex/package.py b/var/spack/repos/builtin/packages/r-bibtex/package.py
new file mode 100644
index 0000000000..8f91f3b945
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-bibtex/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RBibtex(RPackage):
+ """bibtex: Bibtex Parser
+
+ Utility to parse a bibtex file."""
+
+ homepage = "https://cran.r-project.org/package=bibtex"
+ url = "https://cran.r-project.org/src/contrib/bibtex_0.4.2.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/bibtex/"
+
+ version('0.4.2', sha256='1f06ab3660c940405230ad16ff6e4ba38d4418a59cd9b16d78a4349f8b488372')
+
+ depends_on('r@3.0.2:', type=('build', 'run'))
+ depends_on('r-stringr', type=('build', 'run'))
+ depends_on('r-testthat', type=('build', 'run'))