1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# 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.7.2', sha256='94f6631d969cbd91d136194b074d02642d8c9e2a05674877a39059be87c5bf7b')
version('4.6.1', sha256='703e5e04e60651e0004574bb9695827d759fd13eb0d6bd67f827c1bfa0a1fd31')
depends_on('python@3.8:3', type=('build', 'run'), when='@4.7:')
depends_on('python@3.7:3', type=('build', 'run'), when='@:4.6')
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.19:1', type=('build', 'run'), when='@4.7:')
depends_on('py-numpy@1.16:1', type=('build', 'run'), when='@:4.6')
depends_on('py-pybind11')
|