[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: python-multidict: Update to 4.7.5.
From: |
guix-commits |
Subject: |
01/03: gnu: python-multidict: Update to 4.7.5. |
Date: |
Wed, 11 Mar 2020 14:11:40 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 1ed3b845f7cc7ead43332b61c750b8ec0dee6960
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Mar 11 18:56:46 2020 +0100
gnu: python-multidict: Update to 4.7.5.
* gnu/packages/python-xyz.scm (python-multidict): Update to 4.7.5.
[arguments]: New field.
[native-inputs]: Remove PYTHON-PYTEST-RUNNER. Add PYTHON-PYTEST-COV.
---
gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 823e524..15b5dca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4388,18 +4388,37 @@ Python code against some of the style conventions in
(define-public python-multidict
(package
(name "python-multidict")
- (version "4.2.0")
+ (version "4.7.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "multidict" version))
(sha256
(base32
- "1vf5bq8hn5a9rvhr5v4fwbmarfsp35hhr8gs74kqfijy34j2f194"))))
+ "07ikq2c72kd263hpldw55y0px2l3g34hjk66ml9lryh1jv287qmf"))))
(build-system python-build-system)
+ (arguments
+ '(#:modules ((ice-9 ftw)
+ (srfi srfi-1)
+ (srfi srfi-26)
+ (guix build utils)
+ (guix build python-build-system))
+ #:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (begin
+ (let ((libdir (find (cut string-prefix? "lib." <>)
+ (scandir "build"))))
+ (setenv "PYTHONPATH"
+ (string-append "./build/" libdir ":"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "-vv")))
+ (format #t "test suite not run~%"))
+ #t)))))
(native-inputs
`(("python-pytest" ,python-pytest)
- ("python-pytest-runner" ,python-pytest-runner)))
+ ("python-pytest-cov" ,python-pytest-cov)))
(home-page "https://github.com/aio-libs/multidict/")
(synopsis "Multidict implementation")
(description "Multidict is dict-like collection of key-value pairs