summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-langcodes/package.py
blob: c25b0d3486a233f66faba7e57619b271872d91e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyLangcodes(PythonPackage):
    """Tools for labeling human languages with IETF language tags"""

    homepage = "https://github.com/rspeer/langcodes"
    pypi = "langcodes/langcodes-3.3.0.tar.gz"

    license("MIT")

    version("3.3.0", sha256="794d07d5a28781231ac335a1561b8442f8648ca07cd518310aeb45d6f0807ef6")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-poetry-core@1:", type="build")