gnu: python-booleanoperations: Update to 0.9.0.

* gnu/packages/graphics.scm (python-booleanoperations): Update to 0.9.0.
[#:modules, #:test-flags]: New arguments.
[native-inputs]: Delete unzip.

Change-Id: If4c4f36545f90b8d76d1a6a8c214aeaaa0841a58
This commit is contained in:
Maxim Cournoyer 2025-09-26 21:52:46 +09:00
parent d7d573920a
commit 07339a7420
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -21,7 +21,7 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020, 2021, 2025 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2020, 2021, 2025 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
;;; Copyright © 2020-2024 Maxim Cournoyer <maxim@guixotic.coop> ;;; Copyright © 2020-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net> ;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2021 Andy Tai <atai@atai.org> ;;; Copyright © 2021 Andy Tai <atai@atai.org>
@ -1238,14 +1238,30 @@ basic geometries.")
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/typemytype/booleanOperations") (url "https://github.com/typemytype/booleanOperations")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav")))) (base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; There are
#:modules '((guix build pyproject-build-system)
(guix build utils)
(ice-9 format))
;; Some tests fail due to small differences in the expected result (see:
;; <https://github.com/typemytype/booleanOperations/issues/69>).
#:test-flags #~(list "-k"
(format #f "not ~{~a~^ and not ~}"
'("test_QTail_reversed_difference"
"test_QTail_reversed_intersection"
"test_QTail_reversed_union"
"test_QTail_reversed_xor"
"test_Q_difference"
"test_Q_intersection"
"test_Q_union"
"test_Q_xor")))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'set-version (add-after 'unpack 'set-version
@ -1257,8 +1273,7 @@ basic geometries.")
python-fontpens-bootstrap python-fontpens-bootstrap
python-pytest python-pytest
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm))
unzip))
(home-page "https://github.com/typemytype/booleanOperations") (home-page "https://github.com/typemytype/booleanOperations")
(synopsis "Boolean operations on paths") (synopsis "Boolean operations on paths")
(description (description