NumPy: add v1.19.0 (#17183)

This commit is contained in:
Adam J. Stewart 2020-06-20 17:46:10 -05:00 committed by GitHub
parent a20ba315f5
commit c7f6608f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ class PyNumpy(PythonPackage):
number capabilities"""
homepage = "https://numpy.org/"
url = "https://pypi.io/packages/source/n/numpy/numpy-1.18.5.zip"
url = "https://pypi.io/packages/source/n/numpy/numpy-1.19.0.zip"
git = "https://github.com/numpy/numpy.git"
maintainers = ['adamjstewart']
@ -30,6 +30,7 @@ class PyNumpy(PythonPackage):
]
version('master', branch='master')
version('1.19.0', sha256='76766cc80d6128750075378d3bb7812cf146415bd29b588616f72c943c00d598')
version('1.18.5', sha256='34e96e9dae65c4839bd80012023aadd6ee2ccb73ce7fdf3074c62f301e63120b')
version('1.18.4', sha256='bbcc85aaf4cd84ba057decaead058f43191cc0e30d6bc5d44fe336dc3d3f4509')
version('1.18.3', sha256='e46e2384209c91996d5ec16744234d1c906ab79a701ce1a26155c9ec890b8dc8')
@ -82,6 +83,7 @@ class PyNumpy(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@1.16:')
depends_on('python@3.5:', type=('build', 'run'), when='@1.17:')
depends_on('python@3.6:', type=('build', 'run'), when='@1.19:')
depends_on('py-setuptools', type='build')
# Check pyproject.toml for updates to the required cython version
depends_on('py-cython@0.29.13:', when='@1.18.0:', type='build')
@ -91,6 +93,7 @@ class PyNumpy(PythonPackage):
depends_on('py-nose@1.0.0:', when='@:1.14', type='test')
depends_on('py-pytest', when='@1.15:', type='test')
depends_on('py-hypothesis', when='@1.19:', type='test')
# Allows you to specify order of BLAS/LAPACK preference
# https://github.com/numpy/numpy/pull/13132