From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0JnnDeprfGZfOwAAqHPOHw:P1 (envelope-from ) for ; Wed, 26 Jun 2024 19:28:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0JnnDeprfGZfOwAAqHPOHw (envelope-from ) for ; Wed, 26 Jun 2024 21:28:42 +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=hpxvxPOM; 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=1719430122; 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=5Jxtj/q5nB4hu10ahVRZdsSmnY6vhaOafm4YGK2Tv60=; b=RHEmhfRSZbQ8NWCecymc6Lohayr4KtkTLYN9qbpdN3OTQAuRN4IoTZTAHFGrdwpqB6K6gm QM/9bIASIl1oKlzSEoU9DQGo6xkSmmBXd/ZOQ1AATiSr7EIooZN6TfwLjnjaEtfinM5vOM l1m7D7QLrdyG2H7M3mcgs1pJxp15AYJS7iDjVgYtY43Wk9EFtwhS8ZaFNq3y65QkC8rZpp 64jxTMwTx0zbVcey97rqLDbreJ1jeR7h9b8JwSlN2jfApQrwnPlIn0OWFNPMgq66VDjWiX bHn80ZEirniO8P5Lx4sSOvQxpFUu5xgmv5LqwCNCM1FiRxATLvtyhbp27Ymu7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=hpxvxPOM; 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=1719430122; a=rsa-sha256; cv=none; b=GFfqgJgRxZ/P2OJv8NO6UkGyU0/RIfKoBzP3iKBR+HOqtIPQ+k4SuRElOgNtvvjUPt3uCH JeeZwEmKc6oD79pHmU6g8Ov0VZcgrnCTao7u42p0RJ9zQ0Cxa+6UoE07zkzRkvgsCmVTiO 9FkKCYiiGROHntpTlDC+bu0E1UybePY9LaSWU1i/zir/eNOOjepGMAqLuvkPLyTR9ppb92 uuZSxHYrSaVV+++v4SRCilWdbnAQFXmOGJXlXCwuWf3C57SRoyn619q3MDKJtyFsMRXmWf YWDNf0QUnoOonQwfaNz4o7gvBwjDOU8DCbEwrqstfRoQINzp3B+Yqy67wuJcGQ== 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 216EA76556 for ; Wed, 26 Jun 2024 21:28:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMYJa-0003UE-OS; Wed, 26 Jun 2024 15:28:22 -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-0003P0-V6 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-0007fT-Jb 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 1sMYJK-0007Ej-19 for guix-patches@gnu.org; Wed, 26 Jun 2024 15:28:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71787] [PATCH 11/12] gnu: Add python-rst2pdf. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Jun 2024 19:28:06 +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.171943008127740 (code B ref 71787); Wed, 26 Jun 2024 19:28:06 +0000 Received: (at 71787) by debbugs.gnu.org; 26 Jun 2024 19:28:01 +0000 Received: from localhost ([127.0.0.1]:40352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMYJE-0007DC-SP for submit@debbugs.gnu.org; Wed, 26 Jun 2024 15:28:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMYJ8-0007Bc-5I for 71787@debbugs.gnu.org; Wed, 26 Jun 2024 15:27:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 18BBE240027 for <71787@debbugs.gnu.org>; Wed, 26 Jun 2024 21:27:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719430066; bh=xQUpDW/HWayDMclhmXSa8NXBRbjascg05+N2Ch60NsU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=hpxvxPOMRn70D9MtHpvwP0GmyURKwgWNtsWTNqJ6b41rh/ld2i4D8DyX9VA0rffmo 5gbg5hHxIdj0ASmmMScHeMnaWVXzQAq4PUCyR1xjO09A3ude1CHdCYHcGRYnlWLkHO QCxwMVPaIvh4nr1LLqU/D9Y3aq/A/XDzu4faIKXf72eIyDxBjtCEoytMUK+/5OL2Rc nx6vUK+kd+//KZevZTJ1yZcVCKknKEjUx1sAvSJrfbZpHdop6wQSj++KugtXGjLw54 EtzZhVyGkStg37xM8uXsa4fF+dRYT+OVnnHy8+eiWkSB7c/u9/7MrP5qsNN4JrpRZm rKWN4c5jQhk5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W8Wtn4fLXz9rxN; Wed, 26 Jun 2024 21:27:45 +0200 (CEST) From: David Elsing Date: Wed, 26 Jun 2024 19:27:04 +0000 Message-ID: <20240626192717.12818-11-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-Spam-Score: 3.93 X-Migadu-Queue-Id: 216EA76556 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.93 X-TUID: OirAkwkGgedJ * gnu/packages/python-xyz.scm (python-rst2pdf): New variable. --- gnu/packages/python-xyz.scm | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d1385ffdef..1688999d56 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6877,6 +6877,59 @@ (define-public python-docutils ;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses. (license (list license:public-domain license:psfl license:bsd-2 license:gpl3+)))) +(define-public python-rst2pdf + (package + (name "python-rst2pdf") + (version "0.102") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rst2pdf" version)) + (sha256 + (base32 "09gl8h457p4ackgmisxy41y4dx8fccj6zbnbvpfkx9skx4j0cc1p")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-docutils + python-importlib-metadata + python-jinja2 + python-packaging + python-pygments + python-pyyaml + python-reportlab + python-smartypants)) + (native-inputs + (list fontconfig + python-pymupdf + python-pytest + python-svglib)) + (arguments + (list + ;; These tests fail + #:test-flags + '(list + "-k" + (string-join + '("not test-referencing-an-aliased-font" + "test_aafigure" + "test_aafigure_extra" + "test_docutils_math" + "test_issue_231" + "test_issue_349" + "test_issue_363" + "test_issue_73_unicode_box_drawing_characters_renders_without_errors" + "test_issue_785" + "test_math" + "test_math_role" + "test_raw_html" + "test_slides") + " and not ")))) + (home-page "https://rst2pdf.org") + (synopsis "Tool to convert reStructuredText to PDF via ReportLab") + (description + "@code{rst2pdf} is a command line tool for converting @code{reStructured} +text to PDF files via the @code{ReportLab} library.") + (license license:expat))) + ;; awscli refuses to be built with docutils < 0.16. (define-public python-docutils-0.15 (package -- 2.45.1