spack/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

19 lines
646 B
Python

# 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 RubyUnicodeDisplayWidth(RubyPackage):
"""Determines the monospace display width of a string in Ruby."""
homepage = "https://github.com/janlelis/unicode-display_width"
url = "https://github.com/janlelis/unicode-display_width/archive/v1.7.0.tar.gz"
version("1.7.0", sha256="2dd6faa95e022a9f52841d29be6c622c58fff9fb0b84fb2cb30d4f0e13fa8a73")
depends_on("ruby@1.9.3:", type=("build", "run"))