summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pomegranate/package.py
blob: 5db004bed65ad0f06f53859f7db87b5e92879574 (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-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 PyPomegranate(PythonPackage):
    """Fast, flexible and easy to use probabilistic modelling in Python."""

    homepage = "https://github.com/jmschrei/pomegranate"
    pypi = "pomegranate/pomegranate-0.12.0.tar.gz"

    version('0.12.0', sha256='8b00c88f7cf9cad8d38ea00ea5274821376fefb217a1128afe6b1fcac54c975a')

    depends_on('py-setuptools', type='build')
    depends_on('py-cython@0.22.1:', type='build')
    depends_on('py-numpy@1.8.0:', type=('build', 'run'))
    depends_on('py-joblib@0.9.0b4:', type=('build', 'run'))
    depends_on('py-networkx@2.0:', type=('build', 'run'))
    depends_on('py-scipy@0.17.0:', type=('build', 'run'))
    depends_on('py-pyyaml', type=('build', 'run'))