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 optionaldiff -r1.5 -r1.6 pkgsrc/textproc/py-rst2pdf/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= rst2pdf-0.94.1 | 3 | DISTNAME= rst2pdf-0.97 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= python textproc | 5 | CATEGORIES= textproc python | |
6 | # PyPI distfile does not include images, styles, and templates | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} | |
7 | #MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} | |||
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=rst2pdf/} | |||
9 | GITHUB_PROJECT= rst2pdf | |||
10 | 7 | |||
11 | MAINTAINER= darcy@NetBSD.org | 8 | MAINTAINER= darcy@NetBSD.org | |
12 | HOMEPAGE= https://rst2pdf.org/ | 9 | HOMEPAGE= https://rst2pdf.org/ | |
13 | COMMENT= Convert restructured text to PDF via reportlab | 10 | COMMENT= Convert restructured text to PDF via reportlab | |
14 | LICENSE= mit | 11 | LICENSE= mit | |
15 | 12 | |||
16 | DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils | 13 | DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils | |
17 | DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 | 14 | DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 | |
18 | DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw | 15 | DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw | |
19 | DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments | 16 | DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments | |
20 | DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab | 17 | DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab | |
21 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | 18 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
22 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | 19 | DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six | |
23 | DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants | 20 | DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants | |
24 | TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2 | 21 | TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2 | |
25 | 22 | |||
26 | USE_LANGUAGES= # none | 23 | USE_LANGUAGES= # none | |
27 | 24 | |||
28 | PYTHON_VERSIONS_ACCEPTED= 27 | |||
29 | ||||
30 | # setup.cfg contains only 'tag_build = .dev', which we don't want. | |||
31 | pre-configure: | |||
32 | ${RM} ${WRKSRC}/setup.cfg | |||
33 | ||||
34 | post-install: | 25 | post-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" |
@@ -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 $ | |
2 | bin/rst2pdf-${PYVERSSUFFIX} | 2 | bin/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 |
@@ -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 | |||
3 | SHA1 (rst2pdf-0.94.1.tar.gz) = bb8474cd42b623fcc4acab5ac67626e2c1d82fa9 | 3 | SHA1 (rst2pdf-0.97.tar.gz) = 75da7c01e6e82971a60b77c73cd395004b9caef1 | |
4 | RMD160 (rst2pdf-0.94.1.tar.gz) = fc363dd184aae47fdfcc497ae9c154d609c53a7b | 4 | RMD160 (rst2pdf-0.97.tar.gz) = d97cfc611c59060fbb0db91b55d9dacf11ad7fa9 | |
5 | SHA512 (rst2pdf-0.94.1.tar.gz) = a9b7c4d9fac429bb8e61ea727ccb8cd8a157f28de9266aab597396fd56e00b8d9ca12c16a5985f2db0371e15551ced3ff7090b3a7b3a2829eec316ae5a11e7dd | 5 | SHA512 (rst2pdf-0.97.tar.gz) = cb5c219895791e68bd025f00adc00babb30d2b37e0e48ad69e05c264e96d7e0ec9f272fa87f9d0fccc0160f737b374e35add6eb650fe7e59333149ba413fa193 | |
6 | Size (rst2pdf-0.94.1.tar.gz) = 10313993 bytes | 6 | Size (rst2pdf-0.97.tar.gz) = 140033 bytes | |
7 | SHA1 (patch-rst2pdf_createpdf.py) = dae3e14b3e35f5cc8bf3292ec5dc4cd13724447c | 7 | SHA1 (patch-rst2pdf_createpdf.py) = dae3e14b3e35f5cc8bf3292ec5dc4cd13724447c | |
8 | SHA1 (patch-rst2pdf_flowables.py) = 13c639110fd34bcecfc6a79f0c1c6002af301201 | 8 | SHA1 (patch-rst2pdf_flowables.py) = 13c639110fd34bcecfc6a79f0c1c6002af301201 |