guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 6538ce6ec4b8fb7eae5aff9158665c029a2a4229
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Mar 14 23:49:17 2026 +0000
gnu: python-booleanoperations: Move to fontutils.
The description of the package does not match the selected module, and
it's used only to build font related packages.
* gnu/packages/graphics.scm (python-booleanoperations): Move from here ...
* gnu/packages/fontutils.scm ... to here.
Change-Id: If96253ef74f2931b1c184eecd7c961b02e721cfd
---
gnu/packages/fontutils.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++++
gnu/packages/graphics.scm | 45 --------------------------------------------
2 files changed, 47 insertions(+), 45 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 6deaaba386..02b2ad42a4 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -472,6 +472,53 @@ font design software, it allows you to join, split,
offset, and perform many
other operations on paths.")
(license license:expat)))
+(define-public python-booleanoperations
+ (package
+ (name "python-booleanoperations")
+ (version "0.9.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/typemytype/booleanOperations")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Some tests fail due to small differences in the expected result (see:
+ ;; <https://github.com/typemytype/booleanOperations/issues/69>).
+ #:test-flags
+ #~(list "-k"
+ (string-join
+ (list "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")
+ " and not "))))
+ (native-inputs
+ (list python-defcon-bootstrap
+ python-fontpens-bootstrap
+ python-pytest
+ python-setuptools
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-fonttools-minimal
+ python-pyclipper))
+ (home-page "https://github.com/typemytype/booleanOperations")
+ (synopsis "Boolean operations on paths")
+ (description
+ "Boolean operations on paths which uses a super fast
+@url{http://www.angusj.com/delphi/clipper.php, polygon clipper library by
+Angus Johnson}.")
+ (license license:expat)))
+
(define-public python-cffsubr
(package
(name "python-cffsubr")
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 39711d3d96..16383a92cd 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1265,51 +1265,6 @@ basic geometries.")
;; https://gitlab.com/inkscape/inkscape/issues/784).
(license license:gpl3+)))
-(define-public python-booleanoperations
- (package
- (name "python-booleanoperations")
- (version "0.9.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/typemytype/booleanOperations")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- ;; Some tests fail due to small differences in the expected result (see:
- ;; <https://github.com/typemytype/booleanOperations/issues/69>).
- #:test-flags
- #~(list "-k"
- (string-join
- (list "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")
- " and not "))))
- (propagated-inputs (list python-fonttools-minimal python-pyclipper))
- (native-inputs
- (list python-defcon-bootstrap
- python-fontpens-bootstrap
- python-pytest
- python-setuptools
- python-setuptools-scm))
- (home-page "https://github.com/typemytype/booleanOperations")
- (synopsis "Boolean operations on paths")
- (description
- "Boolean operations on paths which uses a super fast
-@url{http://www.angusj.com/delphi/clipper.php, polygon clipper library by
-Angus Johnson}.")
- (license license:expat)))
-
(define-public pstoedit
(package
(name "pstoedit")