[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/26: gnu: python-ukpostcodeparser: Update to 1.1.2.
From: |
guix-commits |
Subject: |
13/26: gnu: python-ukpostcodeparser: Update to 1.1.2. |
Date: |
Mon, 18 Oct 2021 03:27:49 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit e279cd5bffe9f27ef6db45656c7456c24215fc8a
Author: Sébastien Lerique <sl@eauchat.org>
AuthorDate: Fri Oct 15 11:40:24 2021 +0900
gnu: python-ukpostcodeparser: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-ukpostcodeparser): Update to
1.1.2.
[arguments]: Replace 'check phase to run tests with pytest, ignoring
failing lowercase tests.
[native-inputs]: Add python-pytest.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
gnu/packages/python-xyz.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c32b4d..47ccd74 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15764,14 +15764,29 @@ simple, lightweight implementation.")
(define-public python-ukpostcodeparser
(package
(name "python-ukpostcodeparser")
- (version "1.0.3")
+ (version "1.1.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "UkPostcodeParser" version))
(sha256
(base32
- "1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
+ "03jkf1ygbwq3akzbcjyjk1akc1hv2sfgx90306pq1nwklbpn80lk"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Tests for lowercase postcodes fail.
+ (invoke "pytest" "-vv" "ukpostcodeparser/test/parser.py" "-k"
+ (string-append "not test_091 "
+ "and not test_097 "
+ "and not test_098 "
+ "and not test_125 "
+ "and not test_131"))))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/hamstah/ukpostcodeparser")
(synopsis "UK Postcode parser for Python")
(description
- 03/26: gnu: python-pycryptodome: Update to 3.11.0., (continued)
- 03/26: gnu: python-pycryptodome: Update to 3.11.0., guix-commits, 2021/10/18
- 04/26: gnu: python-aiohttp-socks: Update to 0.6.0., guix-commits, 2021/10/18
- 06/26: gnu: python-h11: Update to 0.12.0., guix-commits, 2021/10/18
- 07/26: gnu: python-socks: Update to 1.2.4., guix-commits, 2021/10/18
- 08/26: gnu: python-hpack: Update to 4.0.0., guix-commits, 2021/10/18
- 09/26: gnu: python-h2: Update to 4.1.0., guix-commits, 2021/10/18
- 10/26: gnu: python-future: Update to 0.18.2., guix-commits, 2021/10/18
- 17/26: gnu: Add python-janus., guix-commits, 2021/10/18
- 18/26: gnu: Add python-logbook., guix-commits, 2021/10/18
- 21/26: gnu: Add python-olm., guix-commits, 2021/10/18
- 13/26: gnu: python-ukpostcodeparser: Update to 1.1.2.,
guix-commits <=
- 20/26: gnu: Add python-aspectlib., guix-commits, 2021/10/18
- 22/26: gnu: Add python-matrix-nio., guix-commits, 2021/10/18
- 12/26: gnu: python-faker: Update to 9.3.1., guix-commits, 2021/10/18
- 24/26: gnu: python-socks: Fix indentation., guix-commits, 2021/10/18
- 23/26: gnu: Add pantalaimon., guix-commits, 2021/10/18
- 26/26: gnu: python-xyz.scm: Add copyright line., guix-commits, 2021/10/18
- 25/26: gnu: python-faker: Fix indentation., guix-commits, 2021/10/18
- 15/26: gnu: Add python-atomicwrites-1.4., guix-commits, 2021/10/18
- 11/26: gnu: python-curio: Update to 1.5., guix-commits, 2021/10/18
- 14/26: gnu: python-unpaddedbase64: Update to 2.1.0., guix-commits, 2021/10/18