From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MD+RE91rfGbZAwAAe85BDQ:P1 (envelope-from ) for ; Wed, 26 Jun 2024 19:28:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MD+RE91rfGbZAwAAe85BDQ (envelope-from ) for ; Wed, 26 Jun 2024 21:28:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="oT/Dj01O"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719430109; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EJE5rmlY+VnwyhZOMfGstu0/O8RNw9spSncW8f/3BVU=; b=oRiHIQhPWGEWIk7+iCVZiEtjqOWW9oqsg++PPQgX9vNf5bJzSxk/xyjyTZ97SEqqxfPA5O 5nJupwnSQ2FUvk2Y1UJ99/zmIX1mTglxVIOa8PR65XtLkH7c1+uPNhK8OQp0NAfVs9/N2b n3DZbX7Df4Qr4cYNWyDBu4bN7JdHuoj35KqqiaHw3qzdibzCbn5bbNHFAp7p/MD0QrsVaA 6+sagjuHuxRWhCkv4DecY3I4ORlkNl2TFTWMq5zSGz6uLtKpsdcaJX/QucKrk4/YmSCW9N SheH2bYmtuX9Pb/EhKZKdBgGonoHmHGI6G+DZTCubdvIfBE0VlVWFZ1DmwzqMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="oT/Dj01O"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719430109; a=rsa-sha256; cv=none; b=Qs5SY/oSnecD3Tvicm/b06eKZs9uadtWUIe7zuRwB52mu55JCWHsjPvM4Uxtp8FmZXL9x2 9Bj6nT9tudlqgASZA5fEBYRKUOO3rpwg15dA1zlKa5fBnDGf9XNviUjpwUL4ZIH/IvUywB Dlc+ikzG2QkmSCRoC4AiAFB062LtZj2BPYIzcpqRRA33APKFr675d33EgU+kbDlWaG7hc8 MfkEo3bE9+03UM+sMp2Zv52mFs+1DRZ6aX1u1Ate8xvU/SPGQmtzHzOCW4ALvKcpV8QBNt GbIEajRw8A436lPw17zDcI1fUd3Mfp8l8jAXGKkv3eGS31vtRosHRnU8jApJsg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B1E2B6523F for ; Wed, 26 Jun 2024 21:28:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMYJW-0003Qs-FK; Wed, 26 Jun 2024 15:28:19 -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 1sMYJM-0003Ow-Sr for guix-patches@gnu.org; Wed, 26 Jun 2024 15:28:08 -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 1sMYJH-0007fS-7x for guix-patches@gnu.org; Wed, 26 Jun 2024 15:28:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMYJJ-0007Ec-Kr for guix-patches@gnu.org; Wed, 26 Jun 2024 15:28:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71787] [PATCH 10/12] gnu: Add python-svglib. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Jun 2024 19:28:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71787 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71787@debbugs.gnu.org Cc: David Elsing Received: via spool by 71787-submit@debbugs.gnu.org id=B71787.171943007927729 (code B ref 71787); Wed, 26 Jun 2024 19:28:05 +0000 Received: (at 71787) by debbugs.gnu.org; 26 Jun 2024 19:27:59 +0000 Received: from localhost ([127.0.0.1]:40350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMYJD-0007D4-Fu for submit@debbugs.gnu.org; Wed, 26 Jun 2024 15:27:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMYJ7-0007BP-7G for 71787@debbugs.gnu.org; Wed, 26 Jun 2024 15:27:53 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 29118240103 for <71787@debbugs.gnu.org>; Wed, 26 Jun 2024 21:27:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719430065; bh=zlhW8nHi/yAkjCbu7Sbzasx6J6TegFpICgmQeqb1uTg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=oT/Dj01Ow4DKmESU0FIIn1ChmqQCxamH5CiCGz7f3p43phksggPaQKzvW43SDX5DF fvi1tk0zH+VS9hG/k78pa27KyayVQcDiwbQl05o0tBhIdmCQ8P0+ZOCPBvu89WR2Wz KpotHJHbfZh+P/5y+U6mEiUCWYez7BOVfXdrVRS0pTeM8TxUaNiDrsXmoXH7BtpwDe WzrvHMbzJkmx1KRpWVmMgfY805VVTIJDrJ+bp2qKIKBZkOIEkPZ/1ZOtfuTLgg+oDy J6mbH8tmOMDBXZwKMpFqIu70obUvHJ0US+HxFrunp6joXe2wpW1lFzmebV0wFDLHxM IPB9vI/R/b2HQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W8Wtm5Nljz9rxG; Wed, 26 Jun 2024 21:27:44 +0200 (CEST) From: David Elsing Date: Wed, 26 Jun 2024 19:27:03 +0000 Message-ID: <20240626192717.12818-10-david.elsing@posteo.net> In-Reply-To: <20240626192505.12401-1-david.elsing@posteo.net> References: <20240626192505.12401-1-david.elsing@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B1E2B6523F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.97 X-Spam-Score: -3.97 X-TUID: g6JfliHHQ8EN * gnu/packages/python-xyz.scm (python-svglib): New variable. --- gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 111a3dd56c..d1385ffdef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29611,6 +29611,47 @@ (define-public python-cairosvg qvarious formats: PDF, PostScript, PNG and even SVG.") (license license:lgpl3+))) +(define-public python-svglib + (package + (name "python-svglib") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "svglib" version)) + (sha256 + (base32 "11z5jl38zjbzrmdly197m5x6303axcnlrlml1w6fd7j0m79nbrrs")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-cssselect2 + python-lxml + python-reportlab + python-tinycss2)) + (native-inputs + (list python-pytest)) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (if tests? + (setenv "PYTHONPATH" (getcwd)) + (invoke + "pytest" "-vv" + ;; These tests download additional data + "--deselect" + "tests/test_samples.py::TestW3CSVG::test_convert_pdf_png" + "--deselect" + (string-append + "tests/test_samples.py::TestWikipediaFlags" + "::test_convert_pdf")))))))) + (home-page "https://github.com/deeplook/svglib") + (synopsis "Python library for reading and converting SVG files") + (description "This package provides a pure-Python library for reading SVG +files and converting them to other formats.") + (license license:lgpl3+))) + (define-public python-pyphen (package (name "python-pyphen") -- 2.45.1