# Copyright 2013-2019 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 PyBilliard(PythonPackage):
    """Python multiprocessing fork with improvements and bugfixes"""

    homepage = "https://pypi.org/project/billiard/"
    url      = "https://pypi.io/packages/source/b/billiard/billiard-3.5.0.5.tar.gz"

    version('3.6.1.0', sha256='b8809c74f648dfe69b973c8e660bcec00603758c9db8ba89d7719f88d5f01f26')
    version('3.6.0.0', sha256='756bf323f250db8bf88462cd042c992ba60d8f5e07fc5636c24ba7d6f4261d84')
    version('3.5.0.5', sha256='42d9a227401ac4fba892918bba0a0c409def5435c4b483267ebfe821afaaba0e')

    depends_on('py-setuptools', type='build')

Add the py-billiard package (#13849)