diff options
author | Tom Scogland <tom.scogland@gmail.com> | 2018-11-20 12:32:44 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-11-20 14:32:44 -0600 |
commit | ba5a251896e51bab70fa6b664e6974d3c42ff7b4 (patch) | |
tree | cf290a1a5949dde93343cb4a071faa7233ee7859 | |
parent | 84bc1d6654760e7a58d15cff15b98baf51adb483 (diff) | |
download | spack-ba5a251896e51bab70fa6b664e6974d3c42ff7b4.tar.gz spack-ba5a251896e51bab70fa6b664e6974d3c42ff7b4.tar.bz2 spack-ba5a251896e51bab70fa6b664e6974d3c42ff7b4.tar.xz spack-ba5a251896e51bab70fa6b664e6974d3c42ff7b4.zip |
package: add asciidoctor gem (#9905)
* package: add asciidoctor gem
Faster, easier to use, less impossible to install correctly
implementation of asciidoc.
* ritual sacrifice of EOF whitespace to flake8
-rw-r--r-- | var/spack/repos/builtin/packages/asciidoctor/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/asciidoctor/package.py b/var/spack/repos/builtin/packages/asciidoctor/package.py new file mode 100644 index 0000000000..8bc0a41dce --- /dev/null +++ b/var/spack/repos/builtin/packages/asciidoctor/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2018 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 import * + + +class Asciidoctor(Package): + """Modern asciidoc tool based on ruby""" + + homepage = "https://asciidoctor.org/" + url = "https://rubygems.org/downloads/asciidoctor-1.5.8.gem" + + version('1.5.8', '5f55200cab8d1cfcf561e66d3f477159', expand=False) + + extends('ruby') + + def install(self, spec, prefix): + gem('install', 'asciidoctor-{0}.gem'.format(self.version)) |