From patchwork Wed Jul 10 15:04:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 29149 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2A38927BBEA; Wed, 10 Jul 2024 16:05:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 91DD327BBE2 for ; Wed, 10 Jul 2024 16:05:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRYsM-0005ze-Ls; Wed, 10 Jul 2024 11:04:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRYsK-0005zM-SW for guix-patches@gnu.org; Wed, 10 Jul 2024 11:04:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRYsK-0004y0-Kj for guix-patches@gnu.org; Wed, 10 Jul 2024 11:04:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRYsQ-0005Ki-BP for guix-patches@gnu.org; Wed, 10 Jul 2024 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72037] [PATCH] gnu: Add python-svgelements. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Jul 2024 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72037 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72037@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172062387520451 (code B ref -1); Wed, 10 Jul 2024 15:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jul 2024 15:04:35 +0000 Received: from localhost ([127.0.0.1]:56918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRYry-0005Jn-I2 for submit@debbugs.gnu.org; Wed, 10 Jul 2024 11:04:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:38476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRYrv-0005Je-0p for submit@debbugs.gnu.org; Wed, 10 Jul 2024 11:04:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRYro-0005va-5Y for guix-patches@gnu.org; Wed, 10 Jul 2024 11:04:24 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRYrm-0004oo-BG for guix-patches@gnu.org; Wed, 10 Jul 2024 11:04:23 -0400 Received: from [185.211.158.16] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sRYra-000000002Hk-3Ywj for guix-patches@gnu.org; Wed, 10 Jul 2024 18:04:11 +0300 From: Evgeny Pisemsky Date: Wed, 10 Jul 2024 18:04:06 +0300 Message-ID: <87v81d47bt.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Disposition: inline; filename=0001-gnu-Add-python-svgelements.patch Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 1a0dad5f3e21f1e1da09c0adeb6e645af252519c Mon Sep 17 00:00:00 2001 Message-ID: <1a0dad5f3e21f1e1da09c0adeb6e645af252519c.1720623721.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Wed, 10 Jul 2024 18:00:06 +0300 Subject: [PATCH] gnu: Add python-svgelements. * gnu/packages/python-xyz.scm (python-svgelements): New variable. Change-Id: Ief5aa396d2073b1235f5bd742343e38a588bd086 --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 93eeab8ea9..49a9e98de4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -153,6 +153,7 @@ ;;; Copyright © 2024 Navid Afkhami ;;; Copyright © 2024 TakeV ;;; Copyright © 2024 David Elsing +;;; Copyright © 2024 Evgeny Pisemsky ;;; ;;; This file is part of GNU Guix. ;;; @@ -31735,6 +31736,26 @@ (define-public python-jinxed "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) + (propagated-inputs (list python-scipy python-numpy python-pillow)) + (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") base-commit: 71694363f6cc79e44955acbd9f7ca108e658caca -- 2.45.2