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:           Wed Apr 28 09:56:15 UTC 2021

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

Log Message:
py-xhtml2pdf: added version 0.2.5

xhtml2pdf is a HTML to PDF converter using Python, the ReportLab Toolkit,
html5lib and PyPDF2. It supports HTML5 and CSS 2.1 (and some of CSS 3). It is
completely written in pure Python, so it is platform independent.

The main benefit of this tool is that a user with web skills like HTML and CSS
is able to generate PDF templates very quickly without learning new
technologies.


To generate a diff of this commit:
cvs rdiff -u -r1.804 -r1.805 pkgsrc/print/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/print/py-xhtml2pdf/ALTERNATIVES \
    pkgsrc/print/py-xhtml2pdf/DESCR pkgsrc/print/py-xhtml2pdf/Makefile \
    pkgsrc/print/py-xhtml2pdf/PLIST pkgsrc/print/py-xhtml2pdf/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.804 pkgsrc/print/Makefile:1.805
--- pkgsrc/print/Makefile:1.804 Tue Apr 27 05:02:29 2021
+++ pkgsrc/print/Makefile       Wed Apr 28 09:56:15 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.804 2021/04/27 05:02:29 adam Exp $
+# $NetBSD: Makefile,v 1.805 2021/04/28 09:56:15 adam Exp $
 #
 
 COMMENT=       Desktop publishing
@@ -138,6 +138,7 @@ SUBDIR+=    py-pisa
 SUBDIR+=       py-pslib
 SUBDIR+=       py-reportlab
 SUBDIR+=       py-weasyprint
+SUBDIR+=       py-xhtml2pdf
 SUBDIR+=       qpdf
 SUBDIR+=       qpdfview
 SUBDIR+=       rlpr

Added files:

Index: pkgsrc/print/py-xhtml2pdf/ALTERNATIVES
diff -u /dev/null pkgsrc/print/py-xhtml2pdf/ALTERNATIVES:1.1
--- /dev/null   Wed Apr 28 09:56:15 2021
+++ pkgsrc/print/py-xhtml2pdf/ALTERNATIVES      Wed Apr 28 09:56:15 2021
@@ -0,0 +1,2 @@
+bin/pisa @PREFIX@/bin/pisa-@PYVERSSUFFIX@
+bin/xhtml2pdf @PREFIX@/bin/xhtml2pdf-@PYVERSSUFFIX@
Index: pkgsrc/print/py-xhtml2pdf/DESCR
diff -u /dev/null pkgsrc/print/py-xhtml2pdf/DESCR:1.1
--- /dev/null   Wed Apr 28 09:56:15 2021
+++ pkgsrc/print/py-xhtml2pdf/DESCR     Wed Apr 28 09:56:15 2021
@@ -0,0 +1,7 @@
+xhtml2pdf is a HTML to PDF converter using Python, the ReportLab Toolkit,
+html5lib and PyPDF2. It supports HTML5 and CSS 2.1 (and some of CSS 3). It is
+completely written in pure Python, so it is platform independent.
+
+The main benefit of this tool is that a user with web skills like HTML and CSS
+is able to generate PDF templates very quickly without learning new
+technologies.
Index: pkgsrc/print/py-xhtml2pdf/Makefile
diff -u /dev/null pkgsrc/print/py-xhtml2pdf/Makefile:1.1
--- /dev/null   Wed Apr 28 09:56:15 2021
+++ pkgsrc/print/py-xhtml2pdf/Makefile  Wed Apr 28 09:56:15 2021
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2021/04/28 09:56:15 adam Exp $
+
+DISTNAME=      xhtml2pdf-0.2.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    print python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xhtml2pdf/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/xhtml2pdf/xhtml2pdf
+COMMENT=       PDF generator using HTML and CSS
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
+DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-arabic-reshaper>=2.1.0:../../converters/py-arabic-reshaper
+DEPENDS+=      ${PYPKGPREFIX}-bidi>=0.4.2:../../converters/py-bidi
+DEPENDS+=      ${PYPKGPREFIX}-html5lib>=1.0:../../textproc/py-html5lib
+DEPENDS+=      ${PYPKGPREFIX}-reportlab>=3.3.0:../../print/py-reportlab
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-pyphen
+
+post-install:
+.for bin in pisa xhtml2pdf
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/print/py-xhtml2pdf/PLIST
diff -u /dev/null pkgsrc/print/py-xhtml2pdf/PLIST:1.1
--- /dev/null   Wed Apr 28 09:56:15 2021
+++ pkgsrc/print/py-xhtml2pdf/PLIST     Wed Apr 28 09:56:15 2021
@@ -0,0 +1,72 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/28 09:56:15 adam Exp $
+bin/pisa-${PYVERSSUFFIX}
+bin/xhtml2pdf-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/xhtml2pdf/__init__.py
+${PYSITELIB}/xhtml2pdf/__init__.pyc
+${PYSITELIB}/xhtml2pdf/__init__.pyo
+${PYSITELIB}/xhtml2pdf/config/__init__.py
+${PYSITELIB}/xhtml2pdf/config/__init__.pyc
+${PYSITELIB}/xhtml2pdf/config/__init__.pyo
+${PYSITELIB}/xhtml2pdf/config/httpconfig.py
+${PYSITELIB}/xhtml2pdf/config/httpconfig.pyc
+${PYSITELIB}/xhtml2pdf/config/httpconfig.pyo
+${PYSITELIB}/xhtml2pdf/context.py
+${PYSITELIB}/xhtml2pdf/context.pyc
+${PYSITELIB}/xhtml2pdf/context.pyo
+${PYSITELIB}/xhtml2pdf/default.py
+${PYSITELIB}/xhtml2pdf/default.pyc
+${PYSITELIB}/xhtml2pdf/default.pyo
+${PYSITELIB}/xhtml2pdf/document.py
+${PYSITELIB}/xhtml2pdf/document.pyc
+${PYSITELIB}/xhtml2pdf/document.pyo
+${PYSITELIB}/xhtml2pdf/paragraph.py
+${PYSITELIB}/xhtml2pdf/paragraph.pyc
+${PYSITELIB}/xhtml2pdf/paragraph.pyo
+${PYSITELIB}/xhtml2pdf/parser.py
+${PYSITELIB}/xhtml2pdf/parser.pyc
+${PYSITELIB}/xhtml2pdf/parser.pyo
+${PYSITELIB}/xhtml2pdf/pdf.py
+${PYSITELIB}/xhtml2pdf/pdf.pyc
+${PYSITELIB}/xhtml2pdf/pdf.pyo
+${PYSITELIB}/xhtml2pdf/pisa.py
+${PYSITELIB}/xhtml2pdf/pisa.pyc
+${PYSITELIB}/xhtml2pdf/pisa.pyo
+${PYSITELIB}/xhtml2pdf/reportlab_paragraph.py
+${PYSITELIB}/xhtml2pdf/reportlab_paragraph.pyc
+${PYSITELIB}/xhtml2pdf/reportlab_paragraph.pyo
+${PYSITELIB}/xhtml2pdf/tables.py
+${PYSITELIB}/xhtml2pdf/tables.pyc
+${PYSITELIB}/xhtml2pdf/tables.pyo
+${PYSITELIB}/xhtml2pdf/tags.py
+${PYSITELIB}/xhtml2pdf/tags.pyc
+${PYSITELIB}/xhtml2pdf/tags.pyo
+${PYSITELIB}/xhtml2pdf/util.py
+${PYSITELIB}/xhtml2pdf/util.pyc
+${PYSITELIB}/xhtml2pdf/util.pyo
+${PYSITELIB}/xhtml2pdf/w3c/__init__.py
+${PYSITELIB}/xhtml2pdf/w3c/__init__.pyc
+${PYSITELIB}/xhtml2pdf/w3c/__init__.pyo
+${PYSITELIB}/xhtml2pdf/w3c/css.py
+${PYSITELIB}/xhtml2pdf/w3c/css.pyc
+${PYSITELIB}/xhtml2pdf/w3c/css.pyo
+${PYSITELIB}/xhtml2pdf/w3c/cssDOMElementInterface.py
+${PYSITELIB}/xhtml2pdf/w3c/cssDOMElementInterface.pyc
+${PYSITELIB}/xhtml2pdf/w3c/cssDOMElementInterface.pyo
+${PYSITELIB}/xhtml2pdf/w3c/cssParser.py
+${PYSITELIB}/xhtml2pdf/w3c/cssParser.pyc
+${PYSITELIB}/xhtml2pdf/w3c/cssParser.pyo
+${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.py
+${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.pyc
+${PYSITELIB}/xhtml2pdf/w3c/cssSpecial.pyo
+${PYSITELIB}/xhtml2pdf/wsgi.py
+${PYSITELIB}/xhtml2pdf/wsgi.pyc
+${PYSITELIB}/xhtml2pdf/wsgi.pyo
+${PYSITELIB}/xhtml2pdf/xhtml2pdf_reportlab.py
+${PYSITELIB}/xhtml2pdf/xhtml2pdf_reportlab.pyc
+${PYSITELIB}/xhtml2pdf/xhtml2pdf_reportlab.pyo
Index: pkgsrc/print/py-xhtml2pdf/distinfo
diff -u /dev/null pkgsrc/print/py-xhtml2pdf/distinfo:1.1
--- /dev/null   Wed Apr 28 09:56:15 2021
+++ pkgsrc/print/py-xhtml2pdf/distinfo  Wed Apr 28 09:56:15 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/28 09:56:15 adam Exp $
+
+SHA1 (xhtml2pdf-0.2.5.tar.gz) = 4178dd9831b003cd74a246054011f3b8ead768f8
+RMD160 (xhtml2pdf-0.2.5.tar.gz) = 1314366bcddb31344db53b22b1fc1464da9bc376
+SHA512 (xhtml2pdf-0.2.5.tar.gz) = 370a8772ed85e8fddd7bcdd7f116310042294b9cb541b227ff1e1864ad52b9e3af034332fccc86a57260b1ca82bf34dc3327c273cc3bfa05ba2e46708619305c
+Size (xhtml2pdf-0.2.5.tar.gz) = 100124 bytes



Home | Main Index | Thread Index | Old Index