py-mrcfile: add new package (#25742)

This commit is contained in:
Desmond Orton 2021-09-03 03:16:38 -05:00 committed by GitHub
parent 551766e3c6
commit 2b7a2f66b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
# Copyright 2013-2021 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 PyMrcfile(PythonPackage):
"""Python implementation of the MRC2014 file format, which is used
in structural biology to store image and volume data."""
homepage = "https://github.com/ccpem/mrcfile/"
url = "https://github.com/ccpem/mrcfile/archive/refs/tags/v1.3.0.tar.gz"
maintainers = ['dorton21']
version('1.3.0', sha256='034f1868abf87f4e494b8b039030b50045cabccf352b8b3e88a6bd3a6d665715')
depends_on('python@3.4.0:')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.12.0:', type=('build', 'run'))