summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-02-22 19:08:45 +0100
committerGitHub <noreply@github.com>2021-02-22 10:08:45 -0800
commit0dbb90b565456a8a236728f304d9faeca609fc91 (patch)
treefe0f5e7d199964604a3ac3d134d957877050b432
parent3069512b13f331d1f216f8f5ef77bf642528ab75 (diff)
downloadspack-0dbb90b565456a8a236728f304d9faeca609fc91.tar.gz
spack-0dbb90b565456a8a236728f304d9faeca609fc91.tar.bz2
spack-0dbb90b565456a8a236728f304d9faeca609fc91.tar.xz
spack-0dbb90b565456a8a236728f304d9faeca609fc91.zip
New Package: octave-quaternion (#21855)
-rw-r--r--var/spack/repos/builtin/packages/octave-quaternion/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octave-quaternion/package.py b/var/spack/repos/builtin/packages/octave-quaternion/package.py
new file mode 100644
index 0000000000..4a09b93f27
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-quaternion/package.py
@@ -0,0 +1,20 @@
+# 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 OctaveQuaternion(OctavePackage, SourceforgePackage):
+ """Quaternion package for GNU Octave,
+ includes a quaternion class with overloaded operators."""
+
+ homepage = "https://octave.sourceforge.io/quaternion/"
+ sourceforge_mirror_path = "octave/quaternion-2.4.0.tar.gz"
+
+ version('2.4.0', sha256='4c2d4dd8f1d213f080519c6f9dfbbdca068087ee0411122b16e377e0f4641610')
+ version('2.2.2', sha256='261d51657bc729c8f9fe915532d91e75e48dce2af2b298781e78cc93a5067cbd')
+
+ conflicts('octave@6:')
+ extends('octave@3.8.0:5.2.0')