diff options
author | bryanherman <63422190+bryanherman@users.noreply.github.com> | 2021-01-17 23:38:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 22:38:16 -0600 |
commit | 2cfe34982842a5cdcf4102c03ad926bd66b0b080 (patch) | |
tree | 8aa50b434f85da2be75b23ba9bf46c4bdf885231 /var | |
parent | 5b75dde8725ab75c29e6eee1c5e43bca6bf11ff7 (diff) | |
download | spack-2cfe34982842a5cdcf4102c03ad926bd66b0b080.tar.gz spack-2cfe34982842a5cdcf4102c03ad926bd66b0b080.tar.bz2 spack-2cfe34982842a5cdcf4102c03ad926bd66b0b080.tar.xz spack-2cfe34982842a5cdcf4102c03ad926bd66b0b080.zip |
added new python package py-f90wrap (#20957)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-f90wrap/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-f90wrap/package.py b/var/spack/repos/builtin/packages/py-f90wrap/package.py new file mode 100644 index 0000000000..e81a60a6d9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-f90wrap/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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 PyF90wrap(PythonPackage): + """f90wrap is a tool to automatically generate Python extension + modules which interface to Fortran code that makes use of derived types.""" + + homepage = "https://github.com/jameskermode/f90wrap" + pypi = "f90wrap/f90wrap-0.2.3.tar.gz" + + version('0.2.3', sha256='5577ea92934c5aad378df21fb0805b5fb433d6f2b8b9c1bf1a9ec1e3bf842cff') + + # TODO errors with python 3.6 due to UnicodeDecodeError + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.3.0:', type=('build', 'run')) |