[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: python-markupsafe: Update to 1.1.1.
From: |
guix-commits |
Subject: |
04/10: gnu: python-markupsafe: Update to 1.1.1. |
Date: |
Sat, 15 Jun 2019 04:52:17 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 753eb4118c974e4e9c685f81c8ffb45fc1be7274
Author: Marius Bakke <address@hidden>
Date: Fri Jun 14 11:48:10 2019 +0200
gnu: python-markupsafe: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-markupsafe): Update to 1.1.1.
[arguments]: New field. Override check phase.
[native-inputs]: Add PYTHON-PYTEST.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a7c88e9..ac23e23 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2298,15 +2298,33 @@ e.g. filters, callbacks and errbacks can all be
promises.")
(define-public python-markupsafe
(package
(name "python-markupsafe")
- (version "1.0")
+ (version "1.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "MarkupSafe" version))
(sha256
(base32
- "0rdn1s8x9ni7ss8rfiacj7x1085lx8mh2zdwqslnw8xc3l4nkgm6"))))
+ "0sqipg4fk7xbixqd8kq6rlkxj664d157bdwbh93farcphf92x1r9"))))
(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 _
+ (let ((cwd (getcwd))
+ (libdir (find (cut string-prefix? "lib." <>)
+ (scandir "build"))))
+ (setenv "PYTHONPATH"
+ (string-append cwd "/build/" libdir ":"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "-vv")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/mitsuhiko/markupsafe")
(synopsis "XML/HTML/XHTML markup safe string implementation for Python")
(description
- branch staging updated (ed8d3f3 -> af847bd), guix-commits, 2019/06/15
- 01/10: gnu: cups-filters: Update to 1.25.0., guix-commits, 2019/06/15
- 02/10: gnu: libsigc++: Update to 2.10.2., guix-commits, 2019/06/15
- 03/10: gnu: imagemagick: Update to 6.9.10-49., guix-commits, 2019/06/15
- 06/10: gnu: Sphinx: Update to 2.1.1., guix-commits, 2019/06/15
- 07/10: gnu: speexdsp: Update to 1.2.0., guix-commits, 2019/06/15
- 04/10: gnu: python-markupsafe: Update to 1.1.1.,
guix-commits <=
- 10/10: gnu: xorg-server-for-tests: Update to 1.20.5., guix-commits, 2019/06/15
- 05/10: gnu: python-mako: Update to 1.0.12., guix-commits, 2019/06/15
- 08/10: gnu: libtirpc: Update to 1.1.4., guix-commits, 2019/06/15
- 09/10: gnu: libnsl: Do not use unstable tarball., guix-commits, 2019/06/15