summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/asciidoc/package.py
blob: 2492052f570e5c4faf2151b832e52e6bf8881979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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 Asciidoc(AutotoolsPackage):
    """A presentable text document format for writing articles, UNIX man
    pages and other small to medium sized documents."""

    homepage = "https://asciidoc-py.org/"
    # Always working URL but strangely with another checksum
    url = "https://github.com/asciidoc-py/asciidoc-py/archive/8.6.10.tar.gz"
    git = "https://github.com/asciidoc-py/asciidoc-py.git"

    license("GPL-2.0-only", checked_by="tgamblin")

    version("master", branch="master")
    version("9.1.0", sha256="5056c20157349f8dc74f005b6e88ccbf1078c4e26068876f13ca3d1d7d045fe7")
    version("9.0.5", sha256="edc8328c3682a8568172656f6fc309b189f65219a49517966c7ea144cb25f8b2")
    version("9.0.4", sha256="fb0e683ae6a4baf34a8969c3af764ca729526196576729ee9275b9f39fd8b79c")
    version("9.0.3", sha256="b6ef4accd7959f51b532ab4d3aaa211e15f18fd544c4c3cc3ed712f5590a50de")
    version("9.0.2", sha256="93fbe32d56380afee2f26389d8ebfdf33de72536449d53308120d3c20d2c1e17")
    version("8.6.10", sha256="22d6793d4f48cefb4a6963853212a214591a591ece1bcbc56af3c67c642003ea")

    depends_on("libxml2", type=("build", "run"))
    depends_on("libxslt", type=("build", "run"))
    depends_on("docbook-xml", type=("build", "run"))
    depends_on("docbook-xsl", type=("build", "run"))
    depends_on("python@3.5:", type=("build", "run"))
    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")