diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-21 13:14:54 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:46 +0100 |
| commit | a41c63bbef9a3836c087ee633e933aa9e478c7f5 (patch) | |
| tree | f379a79fbf0cfe3334bbe8243428d49603fbc42b | |
| parent | f31dcd9414e81507ef620de395080812189aa2f9 (diff) | |
gnu: python-compreffor: Update to 0.5.6.
* gnu/packages/fontutils.scm (python-compreffor): Update to 0.5.6.
[bulid-system]: Switch to pyproejct-build-system.
[arguments] <test-flags>: Provide option to run tests agains installed library.
<phases>: Remove 'patch-setup.py as no loner required.
[native-inputs]: Remove python-pytest-runner; add python-cython and
python-setuptools.
Change-Id: If69282d19d2f97d3f5b8967759956e8547603d28
| -rw-r--r-- | gnu/packages/fontutils.scm | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 414f350870..2762aec3af 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -494,25 +494,21 @@ Kit for OpenType (AFDKO) @command{tx} tool.") (define-public python-compreffor (package (name "python-compreffor") - (version "0.5.4") + (version "0.5.6") (source (origin (method url-fetch) (uri (pypi-uri "compreffor" version)) (sha256 - (base32 "05gpszc8xh6wn3mdra05d6yz6ns624y67m9xs4vv8gh68m0aasrh")))) - (build-system python-build-system) + (base32 "03hh7yi5slib4gayvj955a2f03j9yknijsx6kbh3yj7r6wc3vhc9")))) + (build-system pyproject-build-system) (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'patch-setup.py - (lambda _ - (substitute* "setup.py" - ;; Not actually needed. - ((", \"setuptools_git_ls_files\"") ""))))))) - (native-inputs (list python-pytest python-pytest-runner - python-setuptools-scm)) + (list #:test-flags #~(list "--pyargs" "compreffor"))) + (native-inputs + (list python-cython + python-pytest + python-setuptools + python-setuptools-scm)) (propagated-inputs (list python-fonttools-minimal)) (home-page "https://github.com/googlefonts/compreffor") (synopsis "@acronym{CFF, Compact Font Format} subroutinizer for fontTools") |
