summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-multipledispatch/package.py
blob: acec79577ce73cfb7622b35f35419f7cba7be3f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2013-2023 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.package 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"))