diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-22 21:00:42 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-25 21:48:30 +0000 |
| commit | e698cd05d3851f213525cc2c361d3cf0bffccb8a (patch) | |
| tree | 92849d648bcbc28b44a8cefa8d89117530ddf601 /gnu/packages/fontutils.scm | |
| parent | 219a2523106cb42e4e7d57cb427f6175912bd5d0 (diff) | |
gnu: python-opentype-sanitizer: Switch to pyproject.
* gnu/packages/fontutils.scm (python-opentype-sanitizer):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove 'check phase replacement.
[native-inputs]: Add python-setuptools.
Change-Id: Ieafed5fee7d31293812e233695ea79fedd28b293
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/fontutils.scm')
| -rw-r--r-- | gnu/packages/fontutils.scm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index f3a30dd68e6..bfeaa6809ee 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm | |||
| @@ -886,7 +886,7 @@ different scripts and languages.") | |||
| 886 | (uri (pypi-uri "opentype-sanitizer" version)) | 886 | (uri (pypi-uri "opentype-sanitizer" version)) |
| 887 | (sha256 | 887 | (sha256 |
| 888 | (base32 "1wjy6chbnj9ic5yjxal6spln5jfzr8cigqs6ab0gj7q60dndrl5k")))) | 888 | (base32 "1wjy6chbnj9ic5yjxal6spln5jfzr8cigqs6ab0gj7q60dndrl5k")))) |
| 889 | (build-system python-build-system) | 889 | (build-system pyproject-build-system) |
| 890 | (arguments | 890 | (arguments |
| 891 | (list | 891 | (list |
| 892 | #:phases | 892 | #:phases |
| @@ -901,12 +901,8 @@ different scripts and languages.") | |||
| 901 | (substitute* "src/python/ots/__init__.py" | 901 | (substitute* "src/python/ots/__init__.py" |
| 902 | (("^OTS_SANITIZE = .*") | 902 | (("^OTS_SANITIZE = .*") |
| 903 | (format #f "OTS_SANITIZE = ~s~%" | 903 | (format #f "OTS_SANITIZE = ~s~%" |
| 904 | (search-input-file inputs "bin/ots-sanitize")))))) | 904 | (search-input-file inputs "bin/ots-sanitize"))))))))) |
| 905 | (replace 'check | 905 | (native-inputs (list python-pytest python-setuptools-scm python-setuptools)) |
| 906 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 907 | (when tests? | ||
| 908 | (invoke "pytest" "-vv"))))))) | ||
| 909 | (native-inputs (list python-pytest python-setuptools-scm)) | ||
| 910 | (inputs (list opentype-sanitizer)) | 906 | (inputs (list opentype-sanitizer)) |
| 911 | (home-page "https://github.com/googlefonts/ots-python") | 907 | (home-page "https://github.com/googlefonts/ots-python") |
| 912 | (synopsis "Python wrapper for OpenType Sanitizer") | 908 | (synopsis "Python wrapper for OpenType Sanitizer") |
