summaryrefslogtreecommitdiff
path: root/gnu/packages/fontutils.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-22 21:05:40 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-25 21:48:30 +0000
commit47809a119da1435108db6c809c555fb1e08564d0 (patch)
treeaff5a587949731a04e3ef498ac0625bbe75579d8 /gnu/packages/fontutils.scm
parente698cd05d3851f213525cc2c361d3cf0bffccb8a (diff)
gnu: python-mutatormath: Switch to pyproject.
* gnu/packages/fontutils.scm (python-mutatormath): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-backend, #:test-flags>: Set them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I77fc56a315f80a50a989671c15c8c04ba1e45ee1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r--gnu/packages/fontutils.scm26
1 files changed, 17 insertions, 9 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index bfeaa6809ee..3b21d598e13 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -915,20 +915,28 @@ different scripts and languages.")
915 (version "3.0.1") 915 (version "3.0.1")
916 (source 916 (source
917 (origin 917 (origin
918 (method url-fetch) 918 (method git-fetch)
919 (uri (pypi-uri "MutatorMath" version ".zip")) 919 (uri (git-reference
920 (url "https://github.com/LettError/MutatorMath")
921 (commit version)))
922 (file-name (git-file-name name version))
920 (sha256 923 (sha256
921 (base32 "0r1qq45np49x14zz1zwkaayqrn7m8dn2jlipjldg2ihnmpzw29w1")))) 924 (base32 "1pvkhvafy2zzk8rr2dld866jq000vl2srzh0dw9x5lb6rhxi2f9b"))))
922 (build-system python-build-system) 925 (build-system pyproject-build-system)
926 (arguments
927 (list
928 #:test-backend #~'custom
929 #:test-flags #~(list "Lib/mutatorMath/test/run.py")))
923 (propagated-inputs (list python-defcon python-fontmath 930 (propagated-inputs (list python-defcon python-fontmath
924 python-fonttools-minimal)) 931 python-fonttools-minimal))
925 (native-inputs (list unzip)) 932 (native-inputs (list python-setuptools unzip))
926 (home-page "https://github.com/LettError/MutatorMath") 933 (home-page "https://github.com/LettError/MutatorMath")
927 (synopsis "Piecewise linear interpolation Python library") 934 (synopsis "Piecewise linear interpolation Python library")
928 (description "MutatorMath is a Python library for the calculation of 935 (description
929piecewise linear interpolations in n-dimensions with any number of masters. It 936 "MutatorMath is a Python library for the calculation of piecewise linear
930was developed for interpolating data related to fonts, but if can handle any 937interpolations in n-dimensions with any number of masters. It was developed
931arithmetic object.") 938for interpolating data related to fonts, but if can handle any arithmetic
939object.")
932 (license license:bsd-3))) 940 (license license:bsd-3)))
933 941
934(define-public psautohint-font-data 942(define-public psautohint-font-data