summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyaml/package.py
blob: 51b74a471e8f7da71d4e5f8cc3b79a896a897e77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyPyaml(PythonPackage):
    """PyYAML-based python module to produce pretty and readable
       YAML-serialized data."""

    maintainers = ['Kerilk']

    homepage = "https://github.com/mk-fg/pretty-yaml"
    pypi     = "pyaml/pyaml-21.8.3.tar.gz"

    version('21.8.3', sha256='a1636d63c476328a07213d0b7111bb63570f1ab8a3eddf60522630250c23d975')

    depends_on('python@2.7:2,3.5:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-pyyaml', type=('build', 'run'))