py-mffpy: add new package (#26345)

This commit is contained in:
Manuela Kuhn 2021-09-29 17:59:50 +02:00 committed by GitHub
parent 4a31f0fb0f
commit 7cd3af5d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 PyMffpy(PythonPackage):
"""Reader and Writer for Philips' MFF file format."""
homepage = "https://github.com/BEL-Public/mffpy"
pypi = "mffpy/mffpy-0.6.3.tar.gz"
version('0.6.3', sha256='fceaf59f5fccb26b6e8a0363579d27e53db547493af353737a24983d95dc012d')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pytz@2019.2:', type=('build', 'run'))
depends_on('py-numpy@1.15.1:', type=('build', 'run'))
depends_on('py-deprecated@1.2.12:', type=('build', 'run'))