gnu: python-defcon-bootstrap: Update to 0.12.2.

* gnu/packages/fontutils.scm (python-defcon-bootstrap): Update to 0.12.2.
Make hidden.
(python-defcon): Un-hide.

Change-Id: I107b1d40bd94c98bc14e81a052d28a8508eb2959
This commit is contained in:
Maxim Cournoyer 2025-09-26 21:55:27 +09:00 committed by Andreas Enge
parent 5cbb644df7
commit 255ea433ac
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1953,51 +1953,53 @@ API-compatible with defcon.")
;;; A variant used to break a cycle between python-fontpens and ;;; A variant used to break a cycle between python-fontpens and
;;; python-fontparts. ;;; python-fontparts.
(define-public python-defcon-bootstrap (define-public python-defcon-bootstrap
(package (hidden-package
(name "python-defcon-bootstrap") (package
(version "0.11.0") (name "python-defcon-bootstrap")
(source (version "0.12.2")
(origin (source
(method git-fetch) (origin
(uri (git-reference (method git-fetch)
(url "https://github.com/robotools/defcon") (uri (git-reference
(commit version))) (url "https://github.com/robotools/defcon")
(file-name (git-file-name name version)) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 "06w5kd5ac63m6m8x8j4xwdl7ncbpjl7pdpfpy9i6c8nhbd8sbjfm")))) (sha256
(build-system pyproject-build-system) (base32 "1zx4xas6qcpp54d1vcfy5wjv17aazkpfmb7hkjy99g47xsi6crrh"))))
(arguments (build-system pyproject-build-system)
(list (arguments
#:phases (list
#~(modify-phases %standard-phases #:phases
(add-after 'unpack 'set-version #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'set-version
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) (lambda _
(propagated-inputs (list python-fontpens-bootstrap python-fonttools)) (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs (propagated-inputs (list python-fontpens-bootstrap python-fonttools))
(list python-pytest (native-inputs
python-setuptools (list python-pytest
python-setuptools-scm python-setuptools
unzip)) python-setuptools-scm))
(home-page "https://github.com/robotools/defcon") (home-page "https://github.com/robotools/defcon")
(synopsis "Flexible objects for representing UFO data") (synopsis "Flexible objects for representing UFO data")
(description (description
"Defcon is a set of @acronym{UFO, unified font object} based "Defcon is a set of @acronym{UFO, unified font object} based
objects optimized for use in font editing applications. The objects are built 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 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 they are not meant to be end-all, be-all objects. Rather, they are meant to
provide base functionality so that you can focus on your applications provide base functionality so that you can focus on your applications
behavior, not object observing or maintaining cached data. Defcon implements behavior, not object observing or maintaining cached data. Defcon implements
UFO3 as described by the UFO font format.") UFO3 as described by the UFO font format.")
(license license:expat))) (license license:expat))))
(define-public python-defcon (define-public python-defcon
(hidden-package (package/inherit python-defcon-bootstrap
(package/inherit python-defcon-bootstrap (name "python-defcon")
(name "python-defcon") (propagated-inputs
(propagated-inputs (modify-inputs (package-propagated-inputs python-defcon-bootstrap)
(modify-inputs (package-propagated-inputs python-defcon-bootstrap) (replace "python-fontpens-bootstrap" python-fontpens)))
(replace "python-fontpens-bootstrap" python-fontpens)))))) (properties
(alist-delete 'hidden?
(package-properties python-fontparts-bootstrap)))))
(define-public nototools (define-public nototools
(package (package