~ruther/guix-local

63c4ff7fd1e0162c97b82beb5a95279cdfa6ce9e — Nicolas Graves 7 months ago fca58e7
gnu: python-beziers: Update to 0.6.0.

* gnu/packages/fontutils.scm (python-beziers): Update to 0.6.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop them.
[native-inputs]: Add python-setuptools.

Change-Id: Ie489d95de14ca79dcd8eb61aad4ef9d8b924159a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 13 insertions(+), 18 deletions(-)

M gnu/packages/fontutils.scm
M gnu/packages/fontutils.scm => gnu/packages/fontutils.scm +13 -18
@@ 450,24 450,19 @@ but also provides many useful font conversion and analysis facilities.
(define-public python-beziers
  (package
    (name "python-beziers")
    (version "0.5.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/simoncozens/beziers.py")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1dyr45m15sclbgaz1mrcnw8kny50h09gd45dlpfkgv9qpfxphkg3"))))
    (build-system python-build-system)
    (arguments
     (list #:phases #~(modify-phases %standard-phases
                        (replace 'check
                          (lambda* (#:key tests? #:allow-other-keys)
                            (when tests?
                              (invoke "pytest" "-vv")))))))
    (native-inputs (list python-pytest python-dotmap python-matplotlib))
    (version "0.6.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/simoncozens/beziers.py")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ww2cc4wi3a3i9wknddjcii2p4r8ksilkqpnbkqg6d7z3jqrcf9n"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-pytest python-dotmap python-matplotlib python-setuptools))
    (propagated-inputs (list python-pyclipper))
    (home-page "https://simoncozens.github.io/beziers.py/index.html")
    (synopsis "Python bezier manipulation library")