diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-22 21:05:40 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-25 21:48:30 +0000 |
| commit | 47809a119da1435108db6c809c555fb1e08564d0 (patch) | |
| tree | aff5a587949731a04e3ef498ac0625bbe75579d8 /gnu/packages/fontutils.scm | |
| parent | e698cd05d3851f213525cc2c361d3cf0bffccb8a (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.scm | 26 |
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 |
| 929 | piecewise linear interpolations in n-dimensions with any number of masters. It | 936 | "MutatorMath is a Python library for the calculation of piecewise linear |
| 930 | was developed for interpolating data related to fonts, but if can handle any | 937 | interpolations in n-dimensions with any number of masters. It was developed |
| 931 | arithmetic object.") | 938 | for interpolating data related to fonts, but if can handle any arithmetic |
| 939 | object.") | ||
| 932 | (license license:bsd-3))) | 940 | (license license:bsd-3))) |
| 933 | 941 | ||
| 934 | (define-public psautohint-font-data | 942 | (define-public psautohint-font-data |
