Added version 1.0 of sympy. Beginning with this version, sympy requires
the mpmath package. The py-mpmath package is added in this PR to accommodate that.
This commit is contained in:
13
var/spack/repos/builtin/packages/py-mpmath/package.py
Normal file
13
var/spack/repos/builtin/packages/py-mpmath/package.py
Normal file
@@ -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)
|
Reference in New Issue
Block a user