pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/py-xhtml2pdf py-xhtml2pdf: update to 0.2.8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e360a33d9d77
branches: trunk
changeset: 388196:e360a33d9d77
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 14 19:32:41 2022 +0000
description:
py-xhtml2pdf: update to 0.2.8.
Release 0.2.8 Fixed background-image and font-face definitions
🐛 Bug-Fixes
Fix background-image issues with #614 and pull requests with #619
Fix CSSParseError for minified @font-face definitions #609
Fixed a few typos and grammar mistakes in usage.rst documentation. #610
Release 0.2.7 Graphics, signing, watermarks
🎉 New
Add encryption and password protection
New WaterMark management system with new options
Add Graphic builder
Add signing pdfs (simple and pades)
🐛 Bug-Fixes
Remove import cycle between utils and default
Fixed link_callback construction of path
Fixed path when is relative to current path
⚠️ Deprecation
xhtml in pisa.CreatePDF support will removed on next release
XML2PDF and XHTML2PDF will be removed on next release use HTML2PDF instead
📘 Documentation
Add render pdf on documentation and add some html example.
Include graphics examples
Release 0.2.6. Drop python 2 support
Drop python 2 support.
Remove most of python 2 code and cleanup
Update packages dependencies
Remove six dependency and update Readme
Set timeout in https options
Add new file manager approach using factory method, now new classes deal with different types of data
B64InlineURI, LocalProtocolURI, NetworkFileUri, LocalFileURI, BytesFileUri
Now getColor return None when None is passed ignoring default value, but return default if bool(data) == false
rtl languages reversed lines added as a ParaFrag (note: not fully supported yet)
Check if Paragraph has 'rtl' attribute (note: not fully supported yet)
Fix UnboundLocalError in reportlab_paragraph (#585) (#586)
Remove usage of getStringIO (#590) removed form reportlab
Change test for github workflow using only Linux
Add Python 3.9, 3.10
Switch from PyPDF2 to PyPDF3
Add SVG support
Update package information.
Allow call tests using make.
diffstat:
print/py-xhtml2pdf/Makefile | 10 +++++-----
print/py-xhtml2pdf/PLIST | 17 ++++++++++++++++-
print/py-xhtml2pdf/distinfo | 8 ++++----
3 files changed, 25 insertions(+), 10 deletions(-)
diffs (77 lines):
diff -r 52cbe63a43b9 -r e360a33d9d77 print/py-xhtml2pdf/Makefile
--- a/print/py-xhtml2pdf/Makefile Mon Nov 14 19:29:38 2022 +0000
+++ b/print/py-xhtml2pdf/Makefile Mon Nov 14 19:32:41 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/06/22 01:26:35 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2022/11/14 19:32:41 wiz Exp $
-DISTNAME= xhtml2pdf-0.2.5
+DISTNAME= xhtml2pdf-0.2.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
@@ -19,8 +18,9 @@
DEPENDS+= ${PYPKGPREFIX}-reportlab>=3.3.0:../../print/py-reportlab
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-USE_LANGUAGES= # none
-USE_PKG_RESOURCES= yes
+USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
.for bin in pisa xhtml2pdf
diff -r 52cbe63a43b9 -r e360a33d9d77 print/py-xhtml2pdf/PLIST
--- a/print/py-xhtml2pdf/PLIST Mon Nov 14 19:29:38 2022 +0000
+++ b/print/py-xhtml2pdf/PLIST Mon Nov 14 19:32:41 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/04/28 09:56:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/14 19:32:41 wiz Exp $
bin/pisa-${PYVERSSUFFIX}
bin/xhtml2pdf-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -10,6 +10,18 @@
${PYSITELIB}/xhtml2pdf/__init__.py
${PYSITELIB}/xhtml2pdf/__init__.pyc
${PYSITELIB}/xhtml2pdf/__init__.pyo
+${PYSITELIB}/xhtml2pdf/builders/__init__.py
+${PYSITELIB}/xhtml2pdf/builders/__init__.pyc
+${PYSITELIB}/xhtml2pdf/builders/__init__.pyo
+${PYSITELIB}/xhtml2pdf/builders/signs.py
+${PYSITELIB}/xhtml2pdf/builders/signs.pyc
+${PYSITELIB}/xhtml2pdf/builders/signs.pyo
+${PYSITELIB}/xhtml2pdf/builders/watermarks.py
+${PYSITELIB}/xhtml2pdf/builders/watermarks.pyc
+${PYSITELIB}/xhtml2pdf/builders/watermarks.pyo
+${PYSITELIB}/xhtml2pdf/charts.py
+${PYSITELIB}/xhtml2pdf/charts.pyc
+${PYSITELIB}/xhtml2pdf/charts.pyo
${PYSITELIB}/xhtml2pdf/config/__init__.py
${PYSITELIB}/xhtml2pdf/config/__init__.pyc
${PYSITELIB}/xhtml2pdf/config/__init__.pyo
@@ -25,6 +37,9 @@
${PYSITELIB}/xhtml2pdf/document.py
${PYSITELIB}/xhtml2pdf/document.pyc
${PYSITELIB}/xhtml2pdf/document.pyo
+${PYSITELIB}/xhtml2pdf/files.py
+${PYSITELIB}/xhtml2pdf/files.pyc
+${PYSITELIB}/xhtml2pdf/files.pyo
${PYSITELIB}/xhtml2pdf/paragraph.py
${PYSITELIB}/xhtml2pdf/paragraph.pyc
${PYSITELIB}/xhtml2pdf/paragraph.pyo
diff -r 52cbe63a43b9 -r e360a33d9d77 print/py-xhtml2pdf/distinfo
--- a/print/py-xhtml2pdf/distinfo Mon Nov 14 19:29:38 2022 +0000
+++ b/print/py-xhtml2pdf/distinfo Mon Nov 14 19:32:41 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:12:16 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/11/14 19:32:41 wiz Exp $
-BLAKE2s (xhtml2pdf-0.2.5.tar.gz) = d043d8ed0bdfceaa7fe59196953c0c294cd05682f98ee38469078ce3552ce556
-SHA512 (xhtml2pdf-0.2.5.tar.gz) = 370a8772ed85e8fddd7bcdd7f116310042294b9cb541b227ff1e1864ad52b9e3af034332fccc86a57260b1ca82bf34dc3327c273cc3bfa05ba2e46708619305c
-Size (xhtml2pdf-0.2.5.tar.gz) = 100124 bytes
+BLAKE2s (xhtml2pdf-0.2.8.tar.gz) = 9e3cfcbe45e59eb019b0ad1254ef807eff059273531a5e6a594eb31d04fc0a97
+SHA512 (xhtml2pdf-0.2.8.tar.gz) = 15c46121caac5e2be289e547a1358d81a93352efdb47b4e106aaab93a8b3ff5851a51638b72c2508c4b9c67ecac4edc1a79ab527c2039d79d4c2a3dd7c6708ba
+Size (xhtml2pdf-0.2.8.tar.gz) = 107374 bytes
Home |
Main Index |
Thread Index |
Old Index