pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 28 14:20:04 UTC 2025

Modified Files:
        pkgsrc/print: Makefile
Added Files:
        pkgsrc/print/py-rlpycairo: DESCR Makefile PLIST distinfo

Log Message:
py-rlpycairo: added version 0.4.0

This is a plugin for the ReportLab PDF Toolkit which constructs rich PDF
documents, and also creation of charts in a variety of bitmap and vector
formats.

This plugin is intended to replace most of the usage of the libart based C
extension _renderPM which has been shown to have issues when rendering complex
documents.

This backend can be brought into use by setting
reportlab.rl_config.renderPMBackend = 'rlPyCairo' any of the methods detailed
in reportlab/rl_config.py can be used to accomplish this.


To generate a diff of this commit:
cvs rdiff -u -r1.952 -r1.953 pkgsrc/print/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/print/py-rlpycairo/DESCR \
    pkgsrc/print/py-rlpycairo/Makefile pkgsrc/print/py-rlpycairo/PLIST \
    pkgsrc/print/py-rlpycairo/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/Makefile
diff -u pkgsrc/print/Makefile:1.952 pkgsrc/print/Makefile:1.953
--- pkgsrc/print/Makefile:1.952 Thu Nov 13 22:51:58 2025
+++ pkgsrc/print/Makefile       Sun Dec 28 14:20:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.952 2025/11/13 22:51:58 wiz Exp $
+# $NetBSD: Makefile,v 1.953 2025/12/28 14:20:03 adam Exp $
 #
 
 COMMENT=       Desktop publishing
@@ -149,6 +149,7 @@ SUBDIR+=    py-pslib
 SUBDIR+=       py-pspdfutils
 SUBDIR+=       py-pydyf
 SUBDIR+=       py-reportlab
+SUBDIR+=       py-rlpycairo
 SUBDIR+=       py-weasyprint
 SUBDIR+=       py-xhtml2pdf
 SUBDIR+=       qpdf

Added files:

Index: pkgsrc/print/py-rlpycairo/DESCR
diff -u /dev/null pkgsrc/print/py-rlpycairo/DESCR:1.1
--- /dev/null   Sun Dec 28 14:20:04 2025
+++ pkgsrc/print/py-rlpycairo/DESCR     Sun Dec 28 14:20:03 2025
@@ -0,0 +1,11 @@
+This is a plugin for the ReportLab PDF Toolkit which constructs rich PDF
+documents, and also creation of charts in a variety of bitmap and vector
+formats.
+
+This plugin is intended to replace most of the usage of the libart based C
+extension _renderPM which has been shown to have issues when rendering complex
+documents.
+
+This backend can be brought into use by setting
+reportlab.rl_config.renderPMBackend = 'rlPyCairo' any of the methods detailed
+in reportlab/rl_config.py can be used to accomplish this.
Index: pkgsrc/print/py-rlpycairo/Makefile
diff -u /dev/null pkgsrc/print/py-rlpycairo/Makefile:1.1
--- /dev/null   Sun Dec 28 14:20:04 2025
+++ pkgsrc/print/py-rlpycairo/Makefile  Sun Dec 28 14:20:03 2025
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2025/12/28 14:20:03 adam Exp $
+
+DISTNAME=      rlpycairo-0.4.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    print python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rlpycairo/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.reportlab.com/
+COMMENT=       Plugin backend renderer for reportlab.graphics.renderPM
+LICENSE=       modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-cairo>=1.20.0:../../graphics/py-cairo
+DEPENDS+=      ${PYPKGPREFIX}-freetype-py>=2.3:../../graphics/py-freetype-py
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/print/py-rlpycairo/PLIST
diff -u /dev/null pkgsrc/print/py-rlpycairo/PLIST:1.1
--- /dev/null   Sun Dec 28 14:20:04 2025
+++ pkgsrc/print/py-rlpycairo/PLIST     Sun Dec 28 14:20:03 2025
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2025/12/28 14:20:03 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/rlPyCairo/__init__.py
+${PYSITELIB}/rlPyCairo/__init__.pyc
+${PYSITELIB}/rlPyCairo/__init__.pyo
+${PYSITELIB}/rlPyCairo/gstate.py
+${PYSITELIB}/rlPyCairo/gstate.pyc
+${PYSITELIB}/rlPyCairo/gstate.pyo
+${PYSITELIB}/rlPyCairo/pil2pict.py
+${PYSITELIB}/rlPyCairo/pil2pict.pyc
+${PYSITELIB}/rlPyCairo/pil2pict.pyo
Index: pkgsrc/print/py-rlpycairo/distinfo
diff -u /dev/null pkgsrc/print/py-rlpycairo/distinfo:1.1
--- /dev/null   Sun Dec 28 14:20:04 2025
+++ pkgsrc/print/py-rlpycairo/distinfo  Sun Dec 28 14:20:03 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/12/28 14:20:03 adam Exp $
+
+BLAKE2s (rlpycairo-0.4.0.tar.gz) = 79adec6949590449b13e87678aeb7e3b3cd8ab4627cd30ea6e79b27759c48066
+SHA512 (rlpycairo-0.4.0.tar.gz) = e239221b8c8cad9f3a5942c18ad426009a6d1d76e344dcc15f735357458b93c180b4d9c0975a1a905bca5fce0ae187d29f7a17d830606d25652b3db5ef8278f7
+Size (rlpycairo-0.4.0.tar.gz) = 7692 bytes



Home | Main Index | Thread Index | Old Index