diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-04-04 10:14:13 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-04-04 10:14:13 -0700 |
commit | bd005b6ba6171abfb2b06cab7f8a0c4e9c23362f (patch) | |
tree | 7d6b930cf3db947e1c0f1d0114b4ce83fc3b9f3a /var | |
parent | 6755c397c9c539aacabff962b46e266f4391ada1 (diff) | |
parent | c952c0ca160c31123104f68c4d1ac732bc473ede (diff) | |
download | spack-bd005b6ba6171abfb2b06cab7f8a0c4e9c23362f.tar.gz spack-bd005b6ba6171abfb2b06cab7f8a0c4e9c23362f.tar.bz2 spack-bd005b6ba6171abfb2b06cab7f8a0c4e9c23362f.tar.xz spack-bd005b6ba6171abfb2b06cab7f8a0c4e9c23362f.zip |
Merge pull request #727 from glennpj/sympy
Added version 1.0 of sympy.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-mpmath/package.py | 13 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-sympy/package.py | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mpmath/package.py b/var/spack/repos/builtin/packages/py-mpmath/package.py new file mode 100644 index 0000000000..4d3261ae8f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mpmath/package.py @@ -0,0 +1,13 @@ +from spack import * + +class PyMpmath(Package): + """A Python library for arbitrary-precision floating-point arithmetic.""" + homepage = "http://mpmath.org" + url = "https://pypi.python.org/packages/source/m/mpmath/mpmath-all-0.19.tar.gz" + + version('0.19', 'd1b7e19dd6830d0d7b5e1bc93d46c02c') + + extends('python') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) diff --git a/var/spack/repos/builtin/packages/py-sympy/package.py b/var/spack/repos/builtin/packages/py-sympy/package.py index c17e35b95f..bbce8c74e3 100644 --- a/var/spack/repos/builtin/packages/py-sympy/package.py +++ b/var/spack/repos/builtin/packages/py-sympy/package.py @@ -6,8 +6,10 @@ class PySympy(Package): url = "https://pypi.python.org/packages/source/s/sympy/sympy-0.7.6.tar.gz" version('0.7.6', '3d04753974306d8a13830008e17babca') + version('1.0', '43e797de799f00f9e8fd2307dba9fab1') extends('python') + depends_on('py-mpmath', when='@1.0:') def install(self, spec, prefix): python('setup.py', 'install', '--prefix=%s' % prefix) |