diff --git a/var/spack/repos/builtin/packages/asciidoc-py3/package.py b/var/spack/repos/builtin/packages/asciidoc-py3/package.py new file mode 100644 index 0000000000..e76bc72dd2 --- /dev/null +++ b/var/spack/repos/builtin/packages/asciidoc-py3/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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 AsciidocPy3(AutotoolsPackage): + """Python 3 port of Asciidoc Python. + AsciiDoc is a text document format for writing notes, + documentation, articles, books, ebooks, slideshows, + web pages, man pages and blogs. AsciiDoc files can + be translated to many formats including HTML, PDF, + EPUB, man page.""" + + homepage = "https://github.com/asciidoc/asciidoc-py3" + url = "https://github.com/asciidoc/asciidoc-py3/releases/download/9.0.2/asciidoc-9.0.2.tar.gz" + + version('9.0.2', sha256='185fd68e47034c4dd892e1d4ae64c81152bc049e9bdc7d1ad63f927d35810a3b') + + depends_on('python@3.5:', type=('build', 'run'))