summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDesmond Orton <odesmond21@gmail.com>2021-05-28 13:28:14 -0600
committerGitHub <noreply@github.com>2021-05-28 13:28:14 -0600
commit9b99f85abf208612fe8ff7d108b6a68d970706d8 (patch)
treecfdd0eccaf9a2d87c0f227c247e7a73589d0c7d5
parent3c9c3c678d0862514cefd9c62a5b28ab0fc7a0d9 (diff)
downloadspack-9b99f85abf208612fe8ff7d108b6a68d970706d8.tar.gz
spack-9b99f85abf208612fe8ff7d108b6a68d970706d8.tar.bz2
spack-9b99f85abf208612fe8ff7d108b6a68d970706d8.tar.xz
spack-9b99f85abf208612fe8ff7d108b6a68d970706d8.zip
New Package:py-ucsf-pyem (#23961)
* New Package:py-ucsf-pyem * Dep additions, eun env deletion * extraction step change Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-ucsf-pyem/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ucsf-pyem/package.py b/var/spack/repos/builtin/packages/py-ucsf-pyem/package.py
new file mode 100644
index 0000000000..5e4e0b7f1f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ucsf-pyem/package.py
@@ -0,0 +1,38 @@
+# 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 PyUcsfPyem(PythonPackage):
+ """UCSF pyem is a collection of Python modules and command-line
+ utilities for electron microscopy of biological samples."""
+
+ homepage = "https://github.com/asarnow/pyem"
+ git = "https://github.com/asarnow/pyem.git"
+
+ maintainers = ['dorton21']
+
+ # Using commit since releases haven't been updated in 2 years
+ version('2021-04-07', commit='ed0527f98657d21d887357426b74e5240d477fae')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.14:', type=('build', 'run'))
+ depends_on('py-scipy@1.2:', type=('build', 'run'))
+ depends_on('py-matplotlib@2.2:', type=('build', 'run'))
+ depends_on('py-future@0.15:', type=('build', 'run'))
+ depends_on('py-numba@0.41:', type=('build', 'run'))
+ depends_on('py-seaborn@0.9:', type=('build', 'run'))
+ depends_on('py-pandas@0.23.4:', type=('build', 'run'))
+ depends_on('py-pathos@0.2.1:', type=('build', 'run'))
+ depends_on('py-pyfftw@0.10:', type=('build', 'run'))
+ depends_on('py-healpy@1.11:', type=('build', 'run'))
+ depends_on('py-natsort@6.0:', type=('build', 'run'))
+
+ # Extracts files into bin for proper useage
+ @run_after('install')
+ def extraction(self):
+ mkdir(self.prefix.bin)
+ install('*.py', self.prefix.bin)