gnu: python-mock: Update source and home-page URIs.

* gnu/packages/python.scm (python-mock)[source]: Use ‘pypi-uri’.
[home-page]: Replace dead Google Code home page.
This commit is contained in:
Tobias Geerinckx-Rice 2016-12-14 21:26:00 +01:00
parent ddf1cd519c
commit 6b7877e12c
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99
1 changed files with 2 additions and 3 deletions

View File

@ -797,14 +797,13 @@ API for locking files.")
(source
(origin
(method url-fetch)
(uri (string-append "https://pypi.python.org/packages/source/m/mock/"
"mock-" version ".tar.gz"))
(uri (pypi-uri "mock" version))
(sha256
(base32
"0kzlsbki6q0awf89rc287f3aj8x431lrajf160a70z0ikhnxsfdq"))))
(build-system python-build-system)
(arguments '(#:test-target "check"))
(home-page "http://code.google.com/p/mock/")
(home-page "https://github.com/testing-cabal/mock")
(synopsis "Python mocking and patching library for testing")
(description
"Mock is a library for testing in Python. It allows you to replace parts