mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-fiona: Simplify tests.
* gnu/packages/geo.scm (python-fiona) [arguments] <test-flags>: Utilize it. <phases>: Use default 'check. Change-Id: If1ddd5bce04085baa018ad57338beac5c4ef97a0
This commit is contained in:
parent
5527787956
commit
f531a568df
1 changed files with 6 additions and 12 deletions
|
|
@ -1109,6 +1109,11 @@ projections and coordinate transformations library.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "-m" "not network and not wheel"
|
||||
;; FIXME: Find why the
|
||||
;; test_no_append_driver_cannot_append[PCIDSK] test is failing.
|
||||
"-k" "not test_no_append_driver_cannot_append")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-configure-flags
|
||||
|
|
@ -1118,18 +1123,7 @@ projections and coordinate transformations library.")
|
|||
(lambda _
|
||||
;; This would otherwise interfere with finding the installed
|
||||
;; fiona when running tests.
|
||||
(delete-file-recursively "fiona")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(setenv "GDAL_ENABLE_DEPRECATED_DRIVER_GTM" "YES")
|
||||
(when tests?
|
||||
(invoke "pytest"
|
||||
"-m" "not network and not wheel"
|
||||
;; FIXME: Find why the
|
||||
;; test_no_append_driver_cannot_append[PCIDSK]
|
||||
;; test is failing.
|
||||
"-k" "not test_no_append_driver_cannot_append")))))))
|
||||
(delete-file-recursively "fiona"))))))
|
||||
(inputs
|
||||
(list gdal))
|
||||
(propagated-inputs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue