py-httpstan: Add new package (#29770)

* py-httpstan: Add new package

* Fix dependencies

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Add run dependency to py-setuptools

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
haralmha 2022-04-20 18:07:43 +02:00 committed by GitHub
parent 3552cfac1a
commit a717c5df40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
# Copyright 2013-2022 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 PyHttpstan(PythonPackage):
"""HTTP-based REST interface to Stan, a package for Bayesian inference."""
homepage = "https://mc-stan.org/"
url = "https://github.com/stan-dev/httpstan/archive/refs/tags/4.6.1.tar.gz"
maintainers = ['haralmha']
version('4.6.1', sha256='703e5e04e60651e0004574bb9695827d759fd13eb0d6bd67f827c1bfa0a1fd31')
depends_on('python@3.7:3', type=('build', 'run'))
depends_on('py-setuptools@41.0:', type=('build', 'run'))
depends_on('py-poetry-core@1.0.0:', type='build')
depends_on('py-aiohttp@3.7:3', type=('build', 'run'))
depends_on('py-appdirs@1.4:1', type=('build', 'run'))
depends_on('py-webargs@8.0:8', type=('build', 'run'))
depends_on('py-marshmallow@3.10:3', type=('build', 'run'))
depends_on('py-numpy@1.16:1', type=('build', 'run'))
depends_on('py-pybind11')