added new python package py-f90wrap (#20957)
This commit is contained in:
parent
5b75dde872
commit
2cfe349828
1 changed files with 22 additions and 0 deletions
22
var/spack/repos/builtin/packages/py-f90wrap/package.py
Normal file
22
var/spack/repos/builtin/packages/py-f90wrap/package.py
Normal file
|
@ -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'))
|
Loading…
Reference in a new issue