summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-latexcodec/package.py
blob: 3ee22dea465aca1c9902759b0988492a270946dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyLatexcodec(PythonPackage):
    """A lexer and codec to work with LaTeX code in Python."""

    homepage = "https://latexcodec.readthedocs.io"
    pypi = "latexcodec/latexcodec-1.0.4.tar.gz"

    license("MIT")

    version("1.0.4", sha256="62bf8a3ee298f169a4d014dad5522bc1325b54dc98789a453fd338620387cb6c")

    depends_on("py-setuptools", type="build")
    depends_on("py-six@1.4.1:", type=("build", "run"))