Package/py-lmfit: add new version (#16975)

* save edits

* tidy up

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* add python version constraints

Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Sinan81 <Sinan81@github>
This commit is contained in:
Sinan 2020-06-14 06:36:10 -07:00 committed by GitHub
parent aa50c2c7d0
commit 1501de59ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,17 @@ class PyLmfit(PythonPackage):
homepage = "http://lmfit.github.io/lmfit-py/" homepage = "http://lmfit.github.io/lmfit-py/"
url = "https://pypi.io/packages/source/l/lmfit/lmfit-0.9.5.tar.gz" url = "https://pypi.io/packages/source/l/lmfit/lmfit-0.9.5.tar.gz"
version('1.0.1', sha256='d249eb756899360f4d2a544c9458f47fc8f765ac22c09e099530585fd64e286e')
version('0.9.15', sha256='cd7bdf47c09a3d49f30dff9a1c7f778973d15d1e1b5dc642f14c22f6630eaf2f')
version('0.9.5', sha256='eebc3c34ed9f3e51bdd927559a5482548c423ad5a0690c6fdcc414bfb5be6667') version('0.9.5', sha256='eebc3c34ed9f3e51bdd927559a5482548c423ad5a0690c6fdcc414bfb5be6667')
depends_on('py-numpy@1.5:', type=('build', 'run')) depends_on('python@3.5:', type=('build', 'run'), when='@1:')
depends_on('py-scipy@0.14:', type=('build', 'run')) depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@0.9.15')
depends_on('py-asteval@0.9.16', type=('build', 'run'), when='@0.9.15:')
depends_on('py-numpy@1.5:', type=('build', 'run'), when='@0.9.5:')
depends_on('py-numpy@1.16:', type=('build', 'run'), when='@0.9.15:')
depends_on('py-scipy@0.14:', type=('build', 'run'), when='@0.9.5')
depends_on('py-scipy@1.2:', type=('build', 'run'), when='@0.9.15:')
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
depends_on('py-six@1.11:', type=('build', 'run'), when='@0.9.15')
depends_on('py-uncertainties@3.0.1:', type=('build', 'run'), when='@0.9.15:')