summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Gaebler <43016598+jgaeb@users.noreply.github.com>2023-09-06 18:01:38 -0400
committerGitHub <noreply@github.com>2023-09-06 15:01:38 -0700
commit7bf7a266ba05052e865ed7ec7023348ce8cf4c18 (patch)
tree45d336941f4c83755bc1d042d1b856086d0f5a65
parent2341074694e0dcafb68ad17663bb3c4c8852ba9f (diff)
downloadspack-7bf7a266ba05052e865ed7ec7023348ce8cf4c18.tar.gz
spack-7bf7a266ba05052e865ed7ec7023348ce8cf4c18.tar.bz2
spack-7bf7a266ba05052e865ed7ec7023348ce8cf4c18.tar.xz
spack-7bf7a266ba05052e865ed7ec7023348ce8cf4c18.zip
r-humaniformat: Add R `humaniformat` package (#39761)
* r-humaniformat: Add r-humaniformat. * r-humaniformat: Remove blank line at end of file. * Fix broken link in description.
-rw-r--r--var/spack/repos/builtin/packages/r-humaniformat/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-humaniformat/package.py b/var/spack/repos/builtin/packages/r-humaniformat/package.py
new file mode 100644
index 0000000000..643574468a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-humaniformat/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2023 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.package import *
+
+
+class RHumaniformat(RPackage):
+ """A Parser for Human Names
+
+ Human names are complicated and nonstandard things. Humaniformat, which is
+ based on Anthony Ettinger's 'humanparser' project
+ (https://github.com/chovy/humanparser) provides functions for parsing human
+ names, making a best- guess attempt to distinguish sub-components such as
+ prefixes, suffixes, middle names and salutations."""
+
+ homepage = "https://github.com/Ironholds/humaniformat"
+ cran = "humaniformat"
+
+ maintainers("jgaeb")
+
+ version("0.6.0", sha256="861232c66bf6d4ff91b073193506104f4d99eca5e9a9488327f39ef2bfb45e6d")
+ version("0.5.0", sha256="02b585e3623a5c5faa7dc3abff92b932d748900be39097c5db8434b8e92709a0")
+
+ depends_on("r-rcpp", type=("build", "run"))