summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-citeproc-py/package.py
blob: b473ecf1d9575a150e257569c5c6d3ade8b9d9e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyCiteprocPy(PythonPackage):
    """Citations and bibliography formatter."""

    homepage = "https://github.com/brechtm/citeproc-py"
    pypi = "citeproc-py/citeproc-py-0.6.0.tar.gz"

    license("BSD-2-Clause-FreeBSD")

    version("0.6.0", sha256="d9e3a224f936fe2e5033b5d9ffdacab769cedb61d96c4e0cf2f0b488f1d24b4e")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-rnc2rng@2.6.1,2.6.3:", type="build")
    depends_on("py-lxml", type=("build", "run"))