summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-numdifftools/package.py
blob: a6933edbcf7bdb7b918b067c945656d6fb76d039 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 PyNumdifftools(PythonPackage):
    """Solves automatic numerical differentiation problems in one or more
    variables."""

    homepage = "https://github.com/pbrod/numdifftools"
    pypi = "numdifftools/numdifftools-0.9.41.tar.gz"

    version("0.9.41", sha256="4ef705cd3c06211b3a4e9fd05ad622be916dcfda40732f0128805a2c4be389b4")

    depends_on("python@3.7:", type=("build", "run"))

    depends_on("py-setuptools@39.2:", type="build")
    depends_on("py-numpy@1.9:", type=("build", "run"))
    depends_on("py-scipy@0.8:", type=("build", "run"))