summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-asciidoctor/package.py
blob: abef7f8db3c8680ce27b3e3cb0752021fd398bf1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2022 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 RubyAsciidoctor(RubyPackage):
    """A fast, open source text processor and publishing toolchain for
    converting AsciiDoc content to HTML 5, DocBook 5, and other formats."""

    homepage = "https://asciidoctor.org/"
    url      = "https://github.com/asciidoctor/asciidoctor/archive/v2.0.10.tar.gz"

    version('2.0.10', sha256='afca74837e6d4b339535e8ba0b79f2ad00bd1eef78bf391cc36995ca2e31630a')

    depends_on('ruby@2.3.0:', type=('build', 'run'))