diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 14:47:02 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:47 +0100 |
| commit | 6f81a0079916fe8423487aa8990f6cb69ff0709b (patch) | |
| tree | 2196222db10d0b77b201b2e5299a962878c4325c | |
| parent | caed96ece35917114b35fd8ff9d10f9ed23ca0f3 (diff) | |
gnu: python-defcon-bootstrap: Update to 0.11.0.
* gnu/packages/fontutils.scm (python-defcon-bootstrap): Update to 0.11.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Add python-setuptools. Remove python-pytest-runner.
[synopsis, description]: Improve style.
Change-Id: I1701844a4258cafba88c87e1a3884b6a63bd25b7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/fontutils.scm | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 884b9efe60..997fb3c3de 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -1956,14 +1956,24 @@ API-compatible with defcon.") (define-public python-defcon-bootstrap (package (name "python-defcon-bootstrap") - (version "0.10.3") + (version "0.11.0") (source (origin - (method url-fetch) - (uri (pypi-uri "defcon" version ".zip")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/robotools/defcon") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "036clkwjfv5mmvy6s67s0pbni73n9hdw32z20gm4w5jzqzbjdpjn")))) + (base32 "06w5kd5ac63m6m8x8j4xwdl7ncbpjl7pdpfpy9i6c8nhbd8sbjfm")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) (propagated-inputs (list python-fontpens-bootstrap python-fonttools)) (native-inputs (list python-pytest @@ -1971,8 +1981,9 @@ API-compatible with defcon.") python-setuptools-scm unzip)) (home-page "https://github.com/robotools/defcon") - (synopsis "Flexible objects for representing @acronym{UFO, unified font object} data") - (description "Defcon is a set of @acronym{UFO, unified font object} based + (synopsis "Flexible objects for representing UFO data") + (description + "Defcon is a set of @acronym{UFO, unified font object} based objects optimized for use in font editing applications. The objects are built to be lightweight, fast and flexible. The objects are very bare-bones and they are not meant to be end-all, be-all objects. Rather, they are meant to |
