[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
81/232: gnu: Add python-skia-pathops.
From: |
guix-commits |
Subject: |
81/232: gnu: Add python-skia-pathops. |
Date: |
Sun, 24 Apr 2022 23:58:48 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 77cdc9c0d2941af49c9e9f8ac70ed4d8d08af957
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 8 21:56:09 2022 -0400
gnu: Add python-skia-pathops.
* gnu/packages/fontutils.scm (python-skia-pathops): New variable.
---
gnu/packages/fontutils.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 9d170da953..f2a76b9492 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -573,6 +573,50 @@ suite of the @code{psautohint} package.")
can be used to hint PostScript fonts. A Python wrapper is also included.")
(license license:asl2.0)))
+(define-public python-skia-pathops
+ (package
+ (name "python-skia-pathops")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "skia-pathops" version ".zip"))
+ (modules '((guix build utils)))
+ (snippet '(delete-file-recursively "src/cpp")) ;140+ MiB of stuff
+ (sha256
+ (base32 "1456rclfn6a01c2cchlgyn166zppcjcqij0k5gwmm8gvzsd5rn0r"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure-env
+ (lambda _
+ (setenv "BUILD_SKIA_FROM_SOURCE" "0")))
+ (add-after 'unpack 'adjust-c++-language
+ (lambda _
+ ;; Our version of Skia requires c++17.
+ (substitute* "setup.py"
+ (("-std=c\\+\\+14")
+ "-std=c++17"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs
+ (list pkg-config
+ python-cython
+ python-pytest
+ python-setuptools-scm
+ unzip))
+ (inputs (list skia))
+ (home-page "https://github.com/fonttools/skia-pathops")
+ (synopsis "Python bindings for the Skia library's Path Ops module")
+ (description "This package provides Python bindings for the Path Ops
+module of the Skia library, performing boolean operations on
+paths (intersection, union, difference, xor).")
+ (license license:bsd-3)))
+
(define-public python-ufoprocessor
(package
(name "python-ufoprocessor")
- 33/232: gnu: Add python-cu2qu., (continued)
- 33/232: gnu: Add python-cu2qu., guix-commits, 2022/04/24
- 55/232: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 56/232: gnu: Add python-path., guix-commits, 2022/04/24
- 58/232: gnu: Add python-tempora., guix-commits, 2022/04/24
- 61/232: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/24
- 60/232: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/24
- 62/232: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 71/232: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 64/232: gnu: Add psautohint., guix-commits, 2022/04/24
- 73/232: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 81/232: gnu: Add python-skia-pathops.,
guix-commits <=
- 79/232: gnu: Add python-cffsubr., guix-commits, 2022/04/24
- 83/232: gnu: Add python-compreffor., guix-commits, 2022/04/24
- 82/232: gnu: Add python-ufolib2., guix-commits, 2022/04/24
- 84/232: gnu: Add python-ufo2ft., guix-commits, 2022/04/24
- 94/232: gnu: pylint: Run tests in parallel., guix-commits, 2022/04/24
- 97/232: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 100/232: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 104/232: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24
- 106/232: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/232: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24