Download from pypi.io, not pypi.python.org (#4981)

This commit is contained in:
Adam J. Stewart
2017-08-06 11:45:00 -05:00
committed by GitHub
parent 0acee2f4b1
commit afc4f9c3c2
64 changed files with 70 additions and 84 deletions

View File

@@ -29,10 +29,10 @@ class PyPetsc4py(PythonPackage):
"""This package provides Python bindings for the PETSc package.
"""
homepage = "https://pypi.python.org/pypi/petsc4py"
url = "https://pypi.python.org/packages/b3/d5/84a71e3ccc13bf90b5055d264e5b256d161ae513392d0f28e8a7ac80d15c/petsc4py-3.7.0.tar.gz"
url = "https://pypi.io/packages/source/p/petsc4py/petsc4py-3.7.0.tar.gz"
version('3.7.0', '816a20040a6a477bd637f397c9fb5b6d')
depends_on('py-setuptools', type='build')
depends_on('py-mpi4py', type=('build', 'run'))
depends_on('petsc+mpi')
depends_on('petsc+mpi')