summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-multipledispatch/package.py
blob: dbf4ecb219a4ca4928ebf670d318a817e9ce5321 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2022 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 PyMultipledispatch(PythonPackage):
    """A relatively sane approach to multiple dispatch in Python."""

    homepage = "https://multiple-dispatch.readthedocs.io/"
    url      = "https://github.com/mrocklin/multipledispatch/archive/0.6.0.tar.gz"

    version('0.6.0', sha256='649f6e61b8a6ce581c75f32365c926b55495c01b8177135408b83aa03886cde0')

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