summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-dictdiffer/package.py
blob: acacfb00115bfa848f67497c48e808127421baf9 (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-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 PyDictdiffer(PythonPackage):
    """Dictdiffer is a helper module that helps you to diff and patch dictionares."""

    homepage = "https://github.com/inveniosoftware/dictdiffer"
    pypi = "dictdiffer/dictdiffer-0.8.1.tar.gz"

    version("0.9.0", sha256="17bacf5fbfe613ccf1b6d512bd766e6b21fb798822a133aa86098b8ac9997578")
    version("0.8.1", sha256="1adec0d67cdf6166bda96ae2934ddb5e54433998ceab63c984574d187cc563d2")

    depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
    depends_on("py-setuptools", type="build", when="@0.9:")
    depends_on("py-setuptools", type=("build", "run"), when="@:0.8")
    depends_on("py-setuptools-scm@3.1.0:", type="build")
    depends_on("py-pytest-runner@2.7:", type="build")