New package: py-downhill (#27885)

This commit is contained in:
iarspider 2021-12-09 20:27:14 +01:00 committed by GitHub
parent 48b1531966
commit 065f349813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# Copyright 2013-2021 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 PyDownhill(PythonPackage):
"""Stochastic optimization routines for Theano"""
homepage = "http://github.com/lmjohns3/downhill"
pypi = "downhill/downhill-0.4.0.tar.gz"
version('0.4.0', sha256='074ad91deb06c05108c67d982ef71ffffb6ede2c77201abc69e332649f823b42')
depends_on('py-setuptools', type='build')
depends_on('py-theano', type=('build', 'run'))
depends_on('py-click', type=('build', 'run'))