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.
This commit is contained in:
Johann Gaebler 2023-09-06 18:01:38 -04:00 committed by GitHub
parent 2341074694
commit 7bf7a266ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))