Thu Jun 11 10:30:41 2020 UTC ()
py-rst2pdf: updated to 0.97

0.97
* Update dumpstyle.py
* Inkscape_r2p: Fix imports for Python 2/3
* Add support for publishing rst2pdf as a snap
* Fix PyPI links in README
* Template and fonts fixes
* Fix snapcraft link to be RST syntax
* Fix unicode and basestring (required by Python3)
* Switch to pytest
* Post-pytest migration cleanup
* Fix generation of source tarball
* Update Pillow to 6.2.2

0.96
* Fix manual

0.95
* More cleanups!
* Convert Code of Conduct to Markdown
* Support docutils math directive instead of rst2pdf's
* More cleanups 3
* Update version to 0.95.dev
* Add missing parenthesis and made -e preprocess inline literal text
* Improve findfonts.py
* Fixed reportlab import
* Fix internal links so that they work with latest ReportLab
* Update LICENSE copyright to reference all contributors
* Update dependencies
* Fix image retrieval over urlretrieve + svg import errors
* Replace deprecated BuildEnvironment.create_index()
* Fix highlight's linenothreshold for Sphinx >=1.8+ & <2.0
* Fixed a syntax incompatibility with Python3
* Sphinx3 compatibility fixes
* Remove Makefile, make.bat from sphinx tests
* Remove unused file
* Minor doc updates
* Adding badges to README
* Make it still work with Python 2
* Fix for fonts in Windows
* Update CHANGES
* Fix Preprocess extension for UTF-8 in Python 2
* Detail supported Python 3 versions
* Bump pillow from 6.0.0 to 6.2.0
* Support Inkscape 1.x
* Add svglib to requirements.txt
* Allow code-block language to be optional


(adam)
diff -r1.5 -r1.6 pkgsrc/textproc/py-rst2pdf/Makefile
diff -r1.3 -r1.4 pkgsrc/textproc/py-rst2pdf/PLIST
diff -r1.4 -r1.5 pkgsrc/textproc/py-rst2pdf/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/textproc/py-rst2pdf/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-rst2pdf/Makefile 2019/06/10 15:39:44 1.5
+++ pkgsrc/textproc/py-rst2pdf/Makefile 2020/06/11 10:30:41 1.6
@@ -1,39 +1,30 @@ @@ -1,39 +1,30 @@
1# $NetBSD: Makefile,v 1.5 2019/06/10 15:39:44 adam Exp $ 1# $NetBSD: Makefile,v 1.6 2020/06/11 10:30:41 adam Exp $
2 2
3DISTNAME= rst2pdf-0.94.1 3DISTNAME= rst2pdf-0.97
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= python textproc 5CATEGORIES= textproc python
6# PyPI distfile does not include images, styles, and templates 6MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/}
7#MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} 
8MASTER_SITES= ${MASTER_SITE_GITHUB:=rst2pdf/} 
9GITHUB_PROJECT= rst2pdf 
10 7
11MAINTAINER= darcy@NetBSD.org 8MAINTAINER= darcy@NetBSD.org
12HOMEPAGE= https://rst2pdf.org/ 9HOMEPAGE= https://rst2pdf.org/
13COMMENT= Convert restructured text to PDF via reportlab 10COMMENT= Convert restructured text to PDF via reportlab
14LICENSE= mit 11LICENSE= mit
15 12
16DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils 13DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
17DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 14DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
18DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw 15DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw
19DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments 16DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
20DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab 17DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
21DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 18DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
22DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 19DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
23DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants 20DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants
24TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2 21TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
25 22
26USE_LANGUAGES= # none 23USE_LANGUAGES= # none
27 24
28PYTHON_VERSIONS_ACCEPTED= 27 
29 
30# setup.cfg contains only 'tag_build = .dev', which we don't want. 
31pre-configure: 
32 ${RM} ${WRKSRC}/setup.cfg 
33 
34post-install: 25post-install:
35 cd ${DESTDIR}${PREFIX}/bin && \ 26 cd ${DESTDIR}${PREFIX}/bin && \
36 ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE} 27 ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
37 28
38.include "../../lang/python/egg.mk" 29.include "../../lang/python/egg.mk"
39.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/textproc/py-rst2pdf/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-rst2pdf/PLIST 2019/05/08 10:20:16 1.3
+++ pkgsrc/textproc/py-rst2pdf/PLIST 2020/06/11 10:30:41 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.3 2019/05/08 10:20:16 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2020/06/11 10:30:41 adam Exp $
2bin/rst2pdf-${PYVERSSUFFIX} 2bin/rst2pdf-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/rst2pdf/__init__.py 9${PYSITELIB}/rst2pdf/__init__.py
10${PYSITELIB}/rst2pdf/__init__.pyc 10${PYSITELIB}/rst2pdf/__init__.pyc
11${PYSITELIB}/rst2pdf/__init__.pyo 11${PYSITELIB}/rst2pdf/__init__.pyo
12${PYSITELIB}/rst2pdf/aafigure_directive.py 12${PYSITELIB}/rst2pdf/aafigure_directive.py
13${PYSITELIB}/rst2pdf/aafigure_directive.pyc 13${PYSITELIB}/rst2pdf/aafigure_directive.pyc
14${PYSITELIB}/rst2pdf/aafigure_directive.pyo 14${PYSITELIB}/rst2pdf/aafigure_directive.pyo
@@ -67,29 +67,26 @@ ${PYSITELIB}/rst2pdf/genpdftext.py @@ -67,29 +67,26 @@ ${PYSITELIB}/rst2pdf/genpdftext.py
67${PYSITELIB}/rst2pdf/genpdftext.pyc 67${PYSITELIB}/rst2pdf/genpdftext.pyc
68${PYSITELIB}/rst2pdf/genpdftext.pyo 68${PYSITELIB}/rst2pdf/genpdftext.pyo
69${PYSITELIB}/rst2pdf/image.py 69${PYSITELIB}/rst2pdf/image.py
70${PYSITELIB}/rst2pdf/image.pyc 70${PYSITELIB}/rst2pdf/image.pyc
71${PYSITELIB}/rst2pdf/image.pyo 71${PYSITELIB}/rst2pdf/image.pyo
72${PYSITELIB}/rst2pdf/images/image-missing.jpg 72${PYSITELIB}/rst2pdf/images/image-missing.jpg
73${PYSITELIB}/rst2pdf/images/image-missing.png 73${PYSITELIB}/rst2pdf/images/image-missing.png
74${PYSITELIB}/rst2pdf/languages.py 74${PYSITELIB}/rst2pdf/languages.py
75${PYSITELIB}/rst2pdf/languages.pyc 75${PYSITELIB}/rst2pdf/languages.pyc
76${PYSITELIB}/rst2pdf/languages.pyo 76${PYSITELIB}/rst2pdf/languages.pyo
77${PYSITELIB}/rst2pdf/log.py 77${PYSITELIB}/rst2pdf/log.py
78${PYSITELIB}/rst2pdf/log.pyc 78${PYSITELIB}/rst2pdf/log.pyc
79${PYSITELIB}/rst2pdf/log.pyo 79${PYSITELIB}/rst2pdf/log.pyo
80${PYSITELIB}/rst2pdf/math_directive.py 
81${PYSITELIB}/rst2pdf/math_directive.pyc 
82${PYSITELIB}/rst2pdf/math_directive.pyo 
83${PYSITELIB}/rst2pdf/math_flowable.py 80${PYSITELIB}/rst2pdf/math_flowable.py
84${PYSITELIB}/rst2pdf/math_flowable.pyc 81${PYSITELIB}/rst2pdf/math_flowable.pyc
85${PYSITELIB}/rst2pdf/math_flowable.pyo 82${PYSITELIB}/rst2pdf/math_flowable.pyo
86${PYSITELIB}/rst2pdf/nodehandlers.py 83${PYSITELIB}/rst2pdf/nodehandlers.py
87${PYSITELIB}/rst2pdf/nodehandlers.pyc 84${PYSITELIB}/rst2pdf/nodehandlers.pyc
88${PYSITELIB}/rst2pdf/nodehandlers.pyo 85${PYSITELIB}/rst2pdf/nodehandlers.pyo
89${PYSITELIB}/rst2pdf/noop_directive.py 86${PYSITELIB}/rst2pdf/noop_directive.py
90${PYSITELIB}/rst2pdf/noop_directive.pyc 87${PYSITELIB}/rst2pdf/noop_directive.pyc
91${PYSITELIB}/rst2pdf/noop_directive.pyo 88${PYSITELIB}/rst2pdf/noop_directive.pyo
92${PYSITELIB}/rst2pdf/oddeven_directive.py 89${PYSITELIB}/rst2pdf/oddeven_directive.py
93${PYSITELIB}/rst2pdf/oddeven_directive.pyc 90${PYSITELIB}/rst2pdf/oddeven_directive.pyc
94${PYSITELIB}/rst2pdf/oddeven_directive.pyo 91${PYSITELIB}/rst2pdf/oddeven_directive.pyo
95${PYSITELIB}/rst2pdf/opt_imports.py 92${PYSITELIB}/rst2pdf/opt_imports.py

cvs diff -r1.4 -r1.5 pkgsrc/textproc/py-rst2pdf/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-rst2pdf/distinfo 2019/06/10 15:39:44 1.4
+++ pkgsrc/textproc/py-rst2pdf/distinfo 2020/06/11 10:30:41 1.5
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.4 2019/06/10 15:39:44 adam Exp $ 1$NetBSD: distinfo,v 1.5 2020/06/11 10:30:41 adam Exp $
2 2
3SHA1 (rst2pdf-0.94.1.tar.gz) = bb8474cd42b623fcc4acab5ac67626e2c1d82fa9 3SHA1 (rst2pdf-0.97.tar.gz) = 75da7c01e6e82971a60b77c73cd395004b9caef1
4RMD160 (rst2pdf-0.94.1.tar.gz) = fc363dd184aae47fdfcc497ae9c154d609c53a7b 4RMD160 (rst2pdf-0.97.tar.gz) = d97cfc611c59060fbb0db91b55d9dacf11ad7fa9
5SHA512 (rst2pdf-0.94.1.tar.gz) = a9b7c4d9fac429bb8e61ea727ccb8cd8a157f28de9266aab597396fd56e00b8d9ca12c16a5985f2db0371e15551ced3ff7090b3a7b3a2829eec316ae5a11e7dd 5SHA512 (rst2pdf-0.97.tar.gz) = cb5c219895791e68bd025f00adc00babb30d2b37e0e48ad69e05c264e96d7e0ec9f272fa87f9d0fccc0160f737b374e35add6eb650fe7e59333149ba413fa193
6Size (rst2pdf-0.94.1.tar.gz) = 10313993 bytes 6Size (rst2pdf-0.97.tar.gz) = 140033 bytes
7SHA1 (patch-rst2pdf_createpdf.py) = dae3e14b3e35f5cc8bf3292ec5dc4cd13724447c 7SHA1 (patch-rst2pdf_createpdf.py) = dae3e14b3e35f5cc8bf3292ec5dc4cd13724447c
8SHA1 (patch-rst2pdf_flowables.py) = 13c639110fd34bcecfc6a79f0c1c6002af301201 8SHA1 (patch-rst2pdf_flowables.py) = 13c639110fd34bcecfc6a79f0c1c6002af301201