From d98b98aae67246331c1ae0078351c53be41ce8b3 Mon Sep 17 00:00:00 2001
From: Anthony Scemama <scemama@gmx.com>
Date: Thu, 20 Feb 2020 16:50:21 +0100
Subject: [PATCH] Package for IRPF90 (#15076)

* Added IRPF90 package

* PEP8

* SHA256

* Update var/spack/repos/builtin/packages/py-irpf90/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---
 .../builtin/packages/py-irpf90/package.py     | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/py-irpf90/package.py

diff --git a/var/spack/repos/builtin/packages/py-irpf90/package.py b/var/spack/repos/builtin/packages/py-irpf90/package.py
new file mode 100644
index 0000000000..ffab335699
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-irpf90/package.py
@@ -0,0 +1,23 @@
+# 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 PyIrpf90(PythonPackage):
+    """IRPF90 is a Fortran90 preprocessor written in Python for programming
+    using the Implicit Reference to Parameters (IRP) method. It simplifies the
+    development of large fortran codes in the field of scientific high
+    performance computing."""
+
+    homepage = "http://irpf90.ups-tlse.fr"
+    url = "https://pypi.io/packages/source/i/irpf90/irpf90-1.7.7.tar.gz"
+
+    maintainers = ['scemama']
+
+    version('1.7.7', sha256='c6b2eecb9180f1feaab9644bbed806637a4a30a0fad2c4775a985fcc01a99530')
+
+    depends_on('python@2.7.0:2.8.999', type=('build', 'run'))
+    depends_on('py-setuptools', type='build')
-- 
GitLab