[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71787] [PATCH 11/12] gnu: Add python-rst2pdf.
From: |
David Elsing |
Subject: |
[bug#71787] [PATCH 11/12] gnu: Add python-rst2pdf. |
Date: |
Wed, 26 Jun 2024 19:27:04 +0000 |
* 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
- [bug#71787] [PATCH 00/12] Update and unbundle ghostscript and mupdf, David Elsing, 2024/06/26
- [bug#71787] [PATCH 01/12] gnu: Add lcms2mt., David Elsing, 2024/06/26
- [bug#71787] [PATCH 10/12] gnu: Add python-svglib., David Elsing, 2024/06/26
- [bug#71787] [PATCH 04/12] gnu: ijs: Remove unneeded files and build shared library., David Elsing, 2024/06/26
- [bug#71787] [PATCH 09/12] gnu: Add python-pymupdf., David Elsing, 2024/06/26
- [bug#71787] [PATCH 05/12] gnu: ghostscript: Unbundle dependencies and remove non-free parts., David Elsing, 2024/06/26
- [bug#71787] [PATCH 02/12] gnu: Add memento., David Elsing, 2024/06/26
- [bug#71787] [PATCH 08/12] gnu: Add mupdf/tesseract., David Elsing, 2024/06/26
- [bug#71787] [PATCH 11/12] gnu: Add python-rst2pdf.,
David Elsing <=
- [bug#71787] [PATCH 03/12] gnu: Add extract., David Elsing, 2024/06/26
- [bug#71787] [PATCH 07/12] gnu: mupdf: Update to 1.24.4 and unbundle remaining dependencies., David Elsing, 2024/06/26
- [bug#71787] [PATCH 06/12] gnu: Add ghostscript/tesseract., David Elsing, 2024/06/26
- [bug#71787] [PATCH 12/12] gnu: Add ghostscript-documentation., David Elsing, 2024/06/26