summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-01-25 13:44:28 +0100
committerGitHub <noreply@github.com>2021-01-25 13:44:28 +0100
commit2378376aa98ce51cda9ab729a211321f3ad84ec0 (patch)
tree9e36abed40edaf772f25c7f75f0d15f417812dbc
parent9d1d37c432441dd7becb513d52fe064bd53c8650 (diff)
downloadspack-2378376aa98ce51cda9ab729a211321f3ad84ec0.tar.gz
spack-2378376aa98ce51cda9ab729a211321f3ad84ec0.tar.bz2
spack-2378376aa98ce51cda9ab729a211321f3ad84ec0.tar.xz
spack-2378376aa98ce51cda9ab729a211321f3ad84ec0.zip
py-pythonsollya: new package (#21241)
-rw-r--r--var/spack/repos/builtin/packages/py-pythonsollya/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pythonsollya/package.py b/var/spack/repos/builtin/packages/py-pythonsollya/package.py
new file mode 100644
index 0000000000..02decf6b86
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pythonsollya/package.py
@@ -0,0 +1,25 @@
+# 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 PyPythonsollya(PythonPackage):
+ """Python wrapper for the Sollya library"""
+
+ homepage = "Python wrapper for the Sollya library"
+ url = "https://gitlab.com/metalibm-dev/pythonsollya/-/archive/release-0.4.0-alpha0/pythonsollya-release-0.4.0-alpha0.tar.gz"
+
+ version('0.4.0-alpha0', sha256='faac899744c92b1d20980cadef309cd5610d79722322e97940ff142c207c41b5')
+ version('0.3.0', url='https://gitlab.com/metalibm-dev/pythonsollya/-/archive/0.3/pythonsollya-0.3.tar.gz',
+ sha256='cdccd0c5549247ad7498546095544d8d01e78bcb4a3e55c32d6daea6b845b6b9', preferred=True)
+
+ depends_on('py-cython', type='build')
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('libffi', type='build')
+ depends_on('sollya', type=('build', 'link'))
+ depends_on('py-bigfloat', type=('build', 'run'))
+ depends_on('mpfi', type=('build', 'link'))