Skip to content
Snippets Groups Projects
Commit 2f466131 authored by hegner's avatar hegner Committed by becker33
Browse files

Fix download URL and dependencies for py-pypar (#2430)

* fix download URL and dependencies for py-pypar

* use url_for_version in py-pypar
parent cc92b9a3
Branches
No related tags found
No related merge requests found
......@@ -30,13 +30,17 @@ class PyPypar(Package):
written in Python to run in parallel on multiple processors and
communicate using MPI."""
homepage = "http://code.google.com/p/pypar/"
url = "https://pypar.googlecode.com/files/pypar-2.1.5_108.tgz"
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pypar/pypar-2.1.5_108.tgz"
version('2.1.5_108', '7a1f28327d2a3b679f9455c843d850b8')
version('2.1.5_108', '7a1f28327d2a3b679f9455c843d850b8',
url='https://pypar.googlecode.com/files/pypar-2.1.5_108.tgz')
extends('python')
depends_on('mpi')
depends_on('py-numpy')
def install(self, spec, prefix):
with working_dir('source'):
setup_py('install', '--prefix=%s' % prefix)
def url_for_version(self, version):
return "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pypar/pypar-%s.tgz" % version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment