summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-munch/package.py
blob: 560fdfb801c126c055ecfd00d1233522a75c3128 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2019 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 PyMunch(PythonPackage):
    """A Munch is a Python dictionary that provides attribute-style
       access (a la JavaScript objects). """

    homepage = "https://github.com/Infinidat/munch"
    url      = "https://github.com/Infinidat/munch/archive/2.2.0.tar.gz"

    version('2.2.0', sha256='f354ea638e5e582c52d3e47eb54199d3eade94ee3552d64453ddfcbe953973f0')

    depends_on('py-setuptools', type='build')
    depends_on('py-six', type=('build', 'run'))