From 4473f8ae902c2192cab6919363a9101ce9861e45 Mon Sep 17 00:00:00 2001 From: Evgeny Pisemsky Date: Mon, 18 Nov 2024 22:47:17 +0000 Subject: [PATCH] gnu: Add python-svgelements. * gnu/packages/python-xyz.scm (python-svgelements): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: Ic42dc142ba63ccf8c1bfa72a69b43afd7344b327 --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0156d311e89..c7d2efe79f5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -157,6 +157,7 @@ ;;; Copyright © 2024 Rick Huijzer ;;; Copyright © 2024 Peter Kannewitz ;;; Copyright © 2024 Aaron Covrig +;;; Copyright © 2024 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -32224,6 +32225,33 @@ For the most part it's transliterated from C, the major differences are: "Jinxed is an implementation of a subset of the Python curses library.") (license license:mpl2.0))) +(define-public python-svgelements + (package + (name "python-svgelements") + (version "1.9.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "svgelements" version)) + (sha256 + (base32 "1xrp7yxg65dqdrmghriljf9hh2smq2zhzr2hzmqifgfd0ijas0kw")))) + (build-system pyproject-build-system) + (native-inputs + (list python-anyio + python-pytest + python-numpy + python-pillow + python-scipy + python-setuptools + python-wheel)) + (home-page "https://github.com/meerk40t/svgelements") + (synopsis "SVG parsing for elements, paths, and other SVG objects") + (description + "This module does high fidelity SVG parsing and geometric rendering. +The goal is to successfully and correctly process SVG for use with any scripts +that may need or want to use SVG files as geometric data.") + (license license:expat))) + (define-public python-svgutils (package (name "python-svgutils")