Received: by mail.netbsd.org (Postfix, from userid 605) id B26BD84D7C; Wed, 3 Apr 2019 15:23:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3B75284D75 for ; Wed, 3 Apr 2019 15:23:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 7Ggdz66ieJSg for ; Wed, 3 Apr 2019 15:23:24 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D20FA84CEE for ; Wed, 3 Apr 2019 15:23:24 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CF4BDFB16; Wed, 3 Apr 2019 15:23:24 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1554305004249300" MIME-Version: 1.0 Date: Wed, 3 Apr 2019 15:23:24 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/textproc/py-rst2pdf To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20190403152324.CF4BDFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1554305004249300 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Wed Apr 3 15:23:24 UTC 2019 Modified Files: pkgsrc/textproc/py-rst2pdf: Makefile PLIST distinfo Log Message: py-rst2pdf: updated to 0.94 0.94: Added: :hl_lines: code directive allows highlighting of specific lines Added: repeat_table_rows is now supported in Sphinx Added: scale_width is now supported for --fit-background-mode Added: Extension metadata for Sphinx is now returned in pdfbuilder Added: The Sphinx today config setting is now used if it is set Changed: :start-after: will now render the next line Changed: Updated reportlab dependency to 3.5.12 and Sphinx to 1.7.9 Changed: We no longer logging.basicConfig configuration Changed: We now use PILLOW rather than PIL Fixed bug in token replacement that broke tables in headers/footers Fixed handling of empty documents, they now generate a single empty page Fixed: :alt: option now works for plantuml extension Fixed: :linenos_offset: now works again Fixed: rst2pdf.createpdf.main now releases the input file handle Fixed: CreationDate metadata shows correct date using Sphinx Fixed: Error when using --date-invariant with newer reportlab versions Fixed: handling of non-http/ftp URLs Fixed: Inline :math: works again as we now use quoted attributes for HTML tags Fixed: Made literal block shrinking work again Fixed: Removed debugging print statement when using line blocks Fixed: Removed uniconverter from setup Fixed: Renamed links now work Fixed: Sphinx config setting pdf_invariant works properly now Fixed: sphinx+rst2pdf now works with automodule directive Sphinx >= 1.4 Fixed: Using :start-after: with linenos_offset now displays the correct line number Fixed: Using :start-at: with linenos_offset now displays the correct line number Removed: Our own copy of smartypants. We now use the PyPI package instead Removed: Tenjin has been switched to Jinja2 Removed: The QT4 GUI is no more To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-rst2pdf/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-rst2pdf/PLIST \ pkgsrc/textproc/py-rst2pdf/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1554305004249300 Content-Disposition: inline Content-Length: 9350 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/py-rst2pdf/Makefile diff -u pkgsrc/textproc/py-rst2pdf/Makefile:1.2 pkgsrc/textproc/py-rst2pdf/Makefile:1.3 --- pkgsrc/textproc/py-rst2pdf/Makefile:1.2 Tue Jul 3 05:03:37 2018 +++ pkgsrc/textproc/py-rst2pdf/Makefile Wed Apr 3 15:23:24 2019 @@ -1,29 +1,35 @@ -# $NetBSD: Makefile,v 1.2 2018/07/03 05:03:37 adam Exp $ +# $NetBSD: Makefile,v 1.3 2019/04/03 15:23:24 adam Exp $ -DISTNAME= rst2pdf-0.93 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -CATEGORIES= python textproc -MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} - -MAINTAINER= darcy@NetBSD.org -HOMEPAGE= http://rst2pdf.ralsina.me/stories/index.html -COMMENT= Convert restructured text to PDF via reportlab -LICENSE= mit - -USE_LANGUAGES= # none -PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 36 37 -REPLACE_PYTHON= rst2pdf/__init__.py - -DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils -DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw -DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments -DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab -DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip +DISTNAME= rst2pdf-0.94 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python textproc +MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} + +MAINTAINER= darcy@NetBSD.org +HOMEPAGE= https://rst2pdf.org/ +COMMENT= Convert restructured text to PDF via reportlab +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils +DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 +DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw +DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments +DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab +DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_ACCEPTED= 27 post-install: - ${MV} ${DESTDIR}${PREFIX}/bin/rst2pdf ${DESTDIR}${PREFIX}/bin/rst2pdf-${PYVERSSUFFIX} || ${TRUE} - ${MV} ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93.dev0-py2.7.egg-info ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93-py2.7.egg-info + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE} + +# tests not included +do-test: + ${DO_NADA} -.include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/py-rst2pdf/PLIST diff -u pkgsrc/textproc/py-rst2pdf/PLIST:1.1 pkgsrc/textproc/py-rst2pdf/PLIST:1.2 --- pkgsrc/textproc/py-rst2pdf/PLIST:1.1 Thu Mar 16 20:00:39 2017 +++ pkgsrc/textproc/py-rst2pdf/PLIST Wed Apr 3 15:23:24 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:00:39 darcy Exp $ +@comment $NetBSD: PLIST,v 1.2 2019/04/03 15:23:24 adam Exp $ bin/rst2pdf-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -18,6 +18,9 @@ ${PYSITELIB}/rst2pdf/basenodehandler.pyo ${PYSITELIB}/rst2pdf/config.py ${PYSITELIB}/rst2pdf/config.pyc ${PYSITELIB}/rst2pdf/config.pyo +${PYSITELIB}/rst2pdf/counter_off_role.py +${PYSITELIB}/rst2pdf/counter_off_role.pyc +${PYSITELIB}/rst2pdf/counter_off_role.pyo ${PYSITELIB}/rst2pdf/counter_role.py ${PYSITELIB}/rst2pdf/counter_role.pyc ${PYSITELIB}/rst2pdf/counter_role.pyo @@ -66,8 +69,6 @@ ${PYSITELIB}/rst2pdf/genpdftext.pyo ${PYSITELIB}/rst2pdf/image.py ${PYSITELIB}/rst2pdf/image.pyc ${PYSITELIB}/rst2pdf/image.pyo -${PYSITELIB}/rst2pdf/images/image-missing.jpg -${PYSITELIB}/rst2pdf/images/image-missing.png ${PYSITELIB}/rst2pdf/languages.py ${PYSITELIB}/rst2pdf/languages.pyc ${PYSITELIB}/rst2pdf/languages.pyo @@ -83,6 +84,9 @@ ${PYSITELIB}/rst2pdf/math_flowable.pyo ${PYSITELIB}/rst2pdf/nodehandlers.py ${PYSITELIB}/rst2pdf/nodehandlers.pyc ${PYSITELIB}/rst2pdf/nodehandlers.pyo +${PYSITELIB}/rst2pdf/noop_directive.py +${PYSITELIB}/rst2pdf/noop_directive.pyc +${PYSITELIB}/rst2pdf/noop_directive.pyo ${PYSITELIB}/rst2pdf/oddeven_directive.py ${PYSITELIB}/rst2pdf/oddeven_directive.pyc ${PYSITELIB}/rst2pdf/oddeven_directive.pyo @@ -92,9 +96,6 @@ ${PYSITELIB}/rst2pdf/opt_imports.pyo ${PYSITELIB}/rst2pdf/pdfbuilder.py ${PYSITELIB}/rst2pdf/pdfbuilder.pyc ${PYSITELIB}/rst2pdf/pdfbuilder.pyo -${PYSITELIB}/rst2pdf/pygments2json.py -${PYSITELIB}/rst2pdf/pygments2json.pyc -${PYSITELIB}/rst2pdf/pygments2json.pyo ${PYSITELIB}/rst2pdf/pygments2style.py ${PYSITELIB}/rst2pdf/pygments2style.pyc ${PYSITELIB}/rst2pdf/pygments2style.pyo @@ -110,87 +111,15 @@ ${PYSITELIB}/rst2pdf/sectnumlinks.pyo ${PYSITELIB}/rst2pdf/sinker.py ${PYSITELIB}/rst2pdf/sinker.pyc ${PYSITELIB}/rst2pdf/sinker.pyo -${PYSITELIB}/rst2pdf/smartypants.py -${PYSITELIB}/rst2pdf/smartypants.pyc -${PYSITELIB}/rst2pdf/smartypants.pyo ${PYSITELIB}/rst2pdf/sphinxnodes.py ${PYSITELIB}/rst2pdf/sphinxnodes.pyc ${PYSITELIB}/rst2pdf/sphinxnodes.pyo ${PYSITELIB}/rst2pdf/styles.py ${PYSITELIB}/rst2pdf/styles.pyc ${PYSITELIB}/rst2pdf/styles.pyo -${PYSITELIB}/rst2pdf/styles/11x17.style -${PYSITELIB}/rst2pdf/styles/a0.style -${PYSITELIB}/rst2pdf/styles/a1-landscape.style -${PYSITELIB}/rst2pdf/styles/a1.style -${PYSITELIB}/rst2pdf/styles/a2-landscape.style -${PYSITELIB}/rst2pdf/styles/a2.style -${PYSITELIB}/rst2pdf/styles/a3-landscape.style -${PYSITELIB}/rst2pdf/styles/a3.style -${PYSITELIB}/rst2pdf/styles/a4-landscape.style -${PYSITELIB}/rst2pdf/styles/a4.style -${PYSITELIB}/rst2pdf/styles/a5-landscape.style -${PYSITELIB}/rst2pdf/styles/a5.style -${PYSITELIB}/rst2pdf/styles/a6-landscape.style -${PYSITELIB}/rst2pdf/styles/a6.style -${PYSITELIB}/rst2pdf/styles/autumn.style -${PYSITELIB}/rst2pdf/styles/b0.style -${PYSITELIB}/rst2pdf/styles/b1-landscape.style -${PYSITELIB}/rst2pdf/styles/b1.style -${PYSITELIB}/rst2pdf/styles/b2-landscape.style -${PYSITELIB}/rst2pdf/styles/b2.style -${PYSITELIB}/rst2pdf/styles/b3-landscape.style -${PYSITELIB}/rst2pdf/styles/b3.style -${PYSITELIB}/rst2pdf/styles/b4-landscape.style -${PYSITELIB}/rst2pdf/styles/b4.style -${PYSITELIB}/rst2pdf/styles/b5-landscape.style -${PYSITELIB}/rst2pdf/styles/b5.style -${PYSITELIB}/rst2pdf/styles/b6-landscape.style -${PYSITELIB}/rst2pdf/styles/b6.style -${PYSITELIB}/rst2pdf/styles/borland.style -${PYSITELIB}/rst2pdf/styles/bw.style -${PYSITELIB}/rst2pdf/styles/colorful.style -${PYSITELIB}/rst2pdf/styles/debugtables.style -${PYSITELIB}/rst2pdf/styles/default.style -${PYSITELIB}/rst2pdf/styles/dejavu.style -${PYSITELIB}/rst2pdf/styles/double-sided.style -${PYSITELIB}/rst2pdf/styles/eightpoint.style -${PYSITELIB}/rst2pdf/styles/emacs.style -${PYSITELIB}/rst2pdf/styles/freetype-sans.style -${PYSITELIB}/rst2pdf/styles/freetype-serif.style -${PYSITELIB}/rst2pdf/styles/friendly.style -${PYSITELIB}/rst2pdf/styles/fruity.style -${PYSITELIB}/rst2pdf/styles/kerning.style -${PYSITELIB}/rst2pdf/styles/legal.style -${PYSITELIB}/rst2pdf/styles/letter-landscape.style -${PYSITELIB}/rst2pdf/styles/letter.style -${PYSITELIB}/rst2pdf/styles/manni.style -${PYSITELIB}/rst2pdf/styles/monokai.style -${PYSITELIB}/rst2pdf/styles/murphy.style -${PYSITELIB}/rst2pdf/styles/native.style -${PYSITELIB}/rst2pdf/styles/no-compact-lists.style -${PYSITELIB}/rst2pdf/styles/pastie.style -${PYSITELIB}/rst2pdf/styles/perldoc.style -${PYSITELIB}/rst2pdf/styles/serif.style -${PYSITELIB}/rst2pdf/styles/sphinx.style -${PYSITELIB}/rst2pdf/styles/styles.style -${PYSITELIB}/rst2pdf/styles/tango.style -${PYSITELIB}/rst2pdf/styles/tenpoint.style -${PYSITELIB}/rst2pdf/styles/trac.style -${PYSITELIB}/rst2pdf/styles/twelvepoint.style -${PYSITELIB}/rst2pdf/styles/twocolumn.style -${PYSITELIB}/rst2pdf/styles/vs.style ${PYSITELIB}/rst2pdf/svgimage.py ${PYSITELIB}/rst2pdf/svgimage.pyc ${PYSITELIB}/rst2pdf/svgimage.pyo -${PYSITELIB}/rst2pdf/templates/cover.tmpl -${PYSITELIB}/rst2pdf/templates/sphinxcover.tmpl -${PYSITELIB}/rst2pdf/tenjin.py -${PYSITELIB}/rst2pdf/tenjin.pyc -${PYSITELIB}/rst2pdf/tenjin.pyo -${PYSITELIB}/rst2pdf/uniconvsaver.py -${PYSITELIB}/rst2pdf/uniconvsaver.pyc -${PYSITELIB}/rst2pdf/uniconvsaver.pyo ${PYSITELIB}/rst2pdf/utils.py ${PYSITELIB}/rst2pdf/utils.pyc ${PYSITELIB}/rst2pdf/utils.pyo Index: pkgsrc/textproc/py-rst2pdf/distinfo diff -u pkgsrc/textproc/py-rst2pdf/distinfo:1.1 pkgsrc/textproc/py-rst2pdf/distinfo:1.2 --- pkgsrc/textproc/py-rst2pdf/distinfo:1.1 Thu Mar 16 20:00:39 2017 +++ pkgsrc/textproc/py-rst2pdf/distinfo Wed Apr 3 15:23:24 2019 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2017/03/16 20:00:39 darcy Exp $ +$NetBSD: distinfo,v 1.2 2019/04/03 15:23:24 adam Exp $ -SHA1 (rst2pdf-0.93.tar.gz) = 2172a10262bc390fea07c7a69241eb4a375c5e0b -RMD160 (rst2pdf-0.93.tar.gz) = c155440e9ca857a94a5235342959718ebf9c5c77 -SHA512 (rst2pdf-0.93.tar.gz) = 75423b75504d31995d449f4e90fa73ce755bf167d18a38f42f73fe6d76b4d0e5c38bc28cd2cce5a3e485a0a8c5529667d689dc4b41a125c14c9e023b7d6ff7d3 -Size (rst2pdf-0.93.tar.gz) = 1301775 bytes +SHA1 (rst2pdf-0.94.tar.gz) = 3f15856abf07dcd29af9bd3eca8137d98b533492 +RMD160 (rst2pdf-0.94.tar.gz) = 61c8c07a21cd6deee252be894a6003f0de154c44 +SHA512 (rst2pdf-0.94.tar.gz) = 9666989f819fd173b14f1366faba420dc5040a9249f24641445c840d7d8a46675bb7545e2954d9e0cac128fffde764d365d9ff0e9c36d5062303733f53c30425 +Size (rst2pdf-0.94.tar.gz) = 112652 bytes --_----------=_1554305004249300--