summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-09-03 03:16:38 -0500
committerGitHub <noreply@github.com>2021-09-03 10:16:38 +0200
commit2b7a2f66b7a6cdc223d6a652c1614517130e6105 (patch)
tree8cf3d3e21e9165f14f51d066324322645d892fcf
parent551766e3c611152bc7e9f402831314625539e9b1 (diff)
downloadspack-2b7a2f66b7a6cdc223d6a652c1614517130e6105.tar.gz
spack-2b7a2f66b7a6cdc223d6a652c1614517130e6105.tar.bz2
spack-2b7a2f66b7a6cdc223d6a652c1614517130e6105.tar.xz
spack-2b7a2f66b7a6cdc223d6a652c1614517130e6105.zip
py-mrcfile: add new package (#25742)
-rw-r--r--var/spack/repos/builtin/packages/py-mrcfile/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mrcfile/package.py b/var/spack/repos/builtin/packages/py-mrcfile/package.py
new file mode 100644
index 0000000000..4c33617a80
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mrcfile/package.py
@@ -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'))