new package: py-bz2file (#12761)

* update py-xopen (add 0.8.2 checksum)

* refine version specific dependencies

add py-bz2file, which needs to be created

* create py-bz2file

* Revert "refine version specific dependencies"

This reverts commit 70649da988.

* Revert "update py-xopen (add 0.8.2 checksum)"

This reverts commit 7400f44caa.
This commit is contained in:
Owen Solberg 2019-09-08 08:38:37 -07:00 committed by Adam J. Stewart
parent b83fa3909e
commit fe26678299

View File

@ -0,0 +1,15 @@
# 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 PyBz2file(PythonPackage):
"""Python library for reading and writing bzip2-compressed files."""
homepage = "https://github.com/nvawda/bz2file"
url = "https://pypi.io/packages/source/b/bz2file/bz2file-0.98.tar.gz"
version('0.98', sha256='64c1f811e31556ba9931953c8ec7b397488726c63e09a4c67004f43bdd28da88')