summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-bz2file/package.py
blob: bf18a24651ea6d38c08871e90daebc0992f7518c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 PyBz2file(PythonPackage):
    """Python library for reading and writing bzip2-compressed files."""

    homepage = "https://github.com/nvawda/bz2file"
    pypi = "bz2file/bz2file-0.98.tar.gz"

    version('0.98', sha256='64c1f811e31556ba9931953c8ec7b397488726c63e09a4c67004f43bdd28da88')

    # pip silently replaces distutils with setuptools
    depends_on('py-setuptools', type='build')