spack/var/spack/repos/builtin/packages/asciidoc-py3/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

28 lines
1.1 KiB
Python

# Copyright 2013-2021 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.3', sha256='d99c8be8e8a9232742253c2d87c547b2efd4bbd3f0c1e23ef14898ad0fff77c4')
version('9.0.2', sha256='185fd68e47034c4dd892e1d4ae64c81152bc049e9bdc7d1ad63f927d35810a3b')
depends_on('python@3.5:', type=('build', 'run'))
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'))