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 (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://pypi.python.org/packages/source/m/mock/" (uri (pypi-uri "mock" version))
"mock-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0kzlsbki6q0awf89rc287f3aj8x431lrajf160a70z0ikhnxsfdq")))) "0kzlsbki6q0awf89rc287f3aj8x431lrajf160a70z0ikhnxsfdq"))))
(build-system python-build-system) (build-system python-build-system)
(arguments '(#:test-target "check")) (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") (synopsis "Python mocking and patching library for testing")
(description (description
"Mock is a library for testing in Python. It allows you to replace parts "Mock is a library for testing in Python. It allows you to replace parts