From 7bf7a266ba05052e865ed7ec7023348ce8cf4c18 Mon Sep 17 00:00:00 2001 From: Johann Gaebler <43016598+jgaeb@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:01:38 -0400 Subject: 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. --- .../builtin/packages/r-humaniformat/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-humaniformat/package.py (limited to 'var') 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")) -- cgit v1.2.3-60-g2f50