unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64286] [PATCH] gnu: Add python-beziers.
@ 2023-06-25 18:46 Rikard Nordgren
  2023-10-08 21:34 ` bug#64286: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Rikard Nordgren @ 2023-06-25 18:46 UTC (permalink / raw)
  To: 64286; +Cc: hrn

---
 gnu/packages/fontutils.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 1b4e0064f4..61c4074603 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -357,6 +357,37 @@ (define-public python-afdko-3.6.1
            python-ufonormalizer
            python-ufoprocessor))))
 
+(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))
+    (propagated-inputs (list python-pyclipper))
+    (home-page "https://simoncozens.github.io/beziers.py/index.html")
+    (synopsis "Python bezier manipulation library")
+    (description
+     "Beziers provides a variety of classes for constructing,
+manipulating and drawing Bezier curves and paths.  Principally designed for
+font design software, it allows you to join, split, offset, and perform many
+other operations on paths.")
+    (license license:expat)))
+
 (define-public python-cffsubr
   (package
     (name "python-cffsubr")
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#64286: [PATCH] gnu: Add python-beziers.
  2023-06-25 18:46 [bug#64286] [PATCH] gnu: Add python-beziers Rikard Nordgren
@ 2023-10-08 21:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-10-08 21:34 UTC (permalink / raw)
  To: Rikard Nordgren; +Cc: 64286-done

Hi,

Rikard Nordgren <hrn@posteo.net> skribis:

> +(define-public python-beziers
> +  (package
> +    (name "python-beziers")

Finally applied (I added a commit log), thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-08 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-25 18:46 [bug#64286] [PATCH] gnu: Add python-beziers Rikard Nordgren
2023-10-08 21:34 ` bug#64286: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).