[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: python-pyhamcrest: Use 'git-fetch'.
From: |
guix-commits |
Subject: |
07/08: gnu: python-pyhamcrest: Use 'git-fetch'. |
Date: |
Thu, 20 Dec 2018 15:38:47 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 0afd0660c21ba1683c78d8626917e8aad79b6e99
Author: Efraim Flashner <address@hidden>
Date: Thu Dec 20 22:31:12 2018 +0200
gnu: python-pyhamcrest: Use 'git-fetch'.
* gnu/packages/check.scm (python-pyhamcrest)[source]: Use 'git-fetch'.
---
gnu/packages/check.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7a546b1..28d3a46 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2066,17 +2066,15 @@ retried.")
(name "python-pyhamcrest")
(version "1.9.0")
(source (origin
- (method url-fetch)
- (uri
- (string-append
- "https://github.com/hamcrest/PyHamcrest/archive/V"
- version
- ".tar.gz"))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ ;; Tests not distributed from pypi release.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hamcrest/PyHamcrest")
+ (commit (string-append "V" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1lqjajhwf7x7igvvnj5p1cm31y9njy07qby94w18kl6zwbdjqrwy"))))
+ "01qnzj9qnzz0y78qa3ing24ssvszb0adw59xc4qqmdn5wryy606b"))))
(native-inputs ; All native inputs are for tests
`(("python-pytest-cov" ,python-pytest-cov)
("python-mock" ,python-mock)
- branch master updated (b70ff03 -> 8aedb3a), guix-commits, 2018/12/20
- 05/08: gnu: cppcheck: Update to 1.86., guix-commits, 2018/12/20
- 01/08: gnu: abcde: Return #t from all phases., guix-commits, 2018/12/20
- 03/08: gnu: cppcheck: Use 'git-fetch'., guix-commits, 2018/12/20
- 08/08: gnu: unittest-cpp: Use 'git-fetch'., guix-commits, 2018/12/20
- 04/08: gnu: cppcheck: Enable tests., guix-commits, 2018/12/20
- 07/08: gnu: python-pyhamcrest: Use 'git-fetch'.,
guix-commits <=
- 06/08: gnu: python-testpath: Use 'git-fetch'., guix-commits, 2018/12/20
- 02/08: gnu: catch2: Use git-fetch., guix-commits, 2018/12/20