diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-14 23:49:17 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:14:28 +0100 |
| commit | 9c96a64391a1bf3b5193a3c47e834ea4a37b1cab (patch) | |
| tree | 91fbbb3235a2174382bd19cd0283092b94b60cce /gnu/packages/fontutils.scm | |
| parent | 1a4e95e53f1b92a88ede26f571dc795d11b509f2 (diff) | |
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
Diffstat (limited to 'gnu/packages/fontutils.scm')
| -rw-r--r-- | gnu/packages/fontutils.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index b2feaae477f..7b92b700b26 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm | |||
| @@ -473,6 +473,53 @@ font design software, it allows you to join, split, offset, and perform many | |||
| 473 | other operations on paths.") | 473 | other operations on paths.") |
| 474 | (license license:expat))) | 474 | (license license:expat))) |
| 475 | 475 | ||
| 476 | (define-public python-booleanoperations | ||
| 477 | (package | ||
| 478 | (name "python-booleanoperations") | ||
| 479 | (version "0.9.0") | ||
| 480 | (source | ||
| 481 | (origin | ||
| 482 | (method git-fetch) | ||
| 483 | (uri (git-reference | ||
| 484 | (url "https://github.com/typemytype/booleanOperations") | ||
| 485 | (commit version))) | ||
| 486 | (file-name (git-file-name name version)) | ||
| 487 | (sha256 | ||
| 488 | (base32 "0ahfgamyq1ndwbr9n8sdx8qhqc2195xnbahylgjpk877hbr2gxav")))) | ||
| 489 | (build-system pyproject-build-system) | ||
| 490 | (arguments | ||
| 491 | (list | ||
| 492 | ;; Some tests fail due to small differences in the expected result (see: | ||
| 493 | ;; <https://github.com/typemytype/booleanOperations/issues/69>). | ||
| 494 | #:test-flags | ||
| 495 | #~(list "-k" | ||
| 496 | (string-join | ||
| 497 | (list "not test_QTail_reversed_difference" | ||
| 498 | "test_QTail_reversed_intersection" | ||
| 499 | "test_QTail_reversed_union" | ||
| 500 | "test_QTail_reversed_xor" | ||
| 501 | "test_Q_difference" | ||
| 502 | "test_Q_intersection" | ||
| 503 | "test_Q_union" | ||
| 504 | "test_Q_xor") | ||
| 505 | " and not ")))) | ||
| 506 | (native-inputs | ||
| 507 | (list python-defcon-bootstrap | ||
| 508 | python-fontpens-bootstrap | ||
| 509 | python-pytest | ||
| 510 | python-setuptools | ||
| 511 | python-setuptools-scm)) | ||
| 512 | (propagated-inputs | ||
| 513 | (list python-fonttools-minimal | ||
| 514 | python-pyclipper)) | ||
| 515 | (home-page "https://github.com/typemytype/booleanOperations") | ||
| 516 | (synopsis "Boolean operations on paths") | ||
| 517 | (description | ||
| 518 | "Boolean operations on paths which uses a super fast | ||
| 519 | @url{http://www.angusj.com/delphi/clipper.php, polygon clipper library by | ||
| 520 | Angus Johnson}.") | ||
| 521 | (license license:expat))) | ||
| 522 | |||
| 476 | (define-public python-cffsubr | 523 | (define-public python-cffsubr |
| 477 | (package | 524 | (package |
| 478 | (name "python-cffsubr") | 525 | (name "python-cffsubr") |
