mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-ukpostcodeparser: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-ukpostcodeparser): Update to 1.1.2. [build-system]: Use pyproject. [arguments] <test-flags>: Move custom check flags here. <phases>: Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I7d5a6b84d105db716aef98ad4991afec7e41b1e1
This commit is contained in:
parent
90eae18147
commit
ad50b8ed35
1 changed files with 14 additions and 14 deletions
|
@ -24050,22 +24050,22 @@ simple, lightweight implementation.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"03jkf1ygbwq3akzbcjyjk1akc1hv2sfgx90306pq1nwklbpn80lk"))))
|
"03jkf1ygbwq3akzbcjyjk1akc1hv2sfgx90306pq1nwklbpn80lk"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags
|
||||||
(replace 'check
|
#~(list
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
;; Tests for lowercase postcodes fail.
|
||||||
(when tests?
|
"-k" (string-join
|
||||||
;; Tests for lowercase postcodes fail.
|
(list "not test_091 "
|
||||||
(invoke "pytest" "-vv" "ukpostcodeparser/test/parser.py" "-k"
|
"test_097 "
|
||||||
(string-append "not test_091 "
|
"test_098 "
|
||||||
"and not test_097 "
|
"test_125 "
|
||||||
"and not test_098 "
|
"test_131")
|
||||||
"and not test_125 "
|
" and not ")
|
||||||
"and not test_131"))))))))
|
"ukpostcodeparser/test/parser.py")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest python-setuptools))
|
||||||
(home-page "https://github.com/hamstah/ukpostcodeparser")
|
(home-page "https://github.com/hamstah/ukpostcodeparser")
|
||||||
(synopsis "UK Postcode parser for Python")
|
(synopsis "UK Postcode parser for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue