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


class PyAutogradGamma(PythonPackage):
    """autograd compatible approximations to the derivatives of the
    Gamma-family of functions."""

    homepage = "https://github.com/CamDavidsonPilon/autograd-gamma"
    url      = "https://pypi.io/packages/source/a/autograd-gamma/autograd-gamma-0.4.3.tar.gz"

    version('0.4.3', sha256='2cb570cbb8da61ede937ccc004d87d3924108f754b351a86cdd2ad31ace6cdf6')

    depends_on('py-setuptools', type='build')
    depends_on('py-autograd@1.2.0:', type=('build', 'run'))
    depends_on('py-scipy@1.2.0:', type=('build', 'run'))