head 1.15; access; symbols pkgsrc-2023Q4:1.15.0.6 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.4 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.2 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.14.0.6 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.4 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.2 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.13.0.2 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.12.0.2 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.10.0.10 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.8 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.6 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.4 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.2 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.8.0.2 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.6.0.2 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.5.0.6 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.8 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.4 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.2 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.2.0.6 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.4 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.2 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.1.0.14 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.12 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.10 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.8 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.4 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.2 pkgsrc-2017Q1-base:1.1; locks; strict; comment @# @; 1.15 date 2023.06.06.12.42.33; author riastradh; state Exp; branches; next 1.14; commitid xhspr6Z8JLQOWSrE; 1.14 date 2022.07.11.00.32.34; author gutteridge; state Exp; branches; next 1.13; commitid PCEGj2PhC5B1xpLD; 1.13 date 2022.05.10.07.21.45; author adam; state Exp; branches; next 1.12; commitid 56TeDdQPwtBbNtDD; 1.12 date 2022.01.05.15.41.26; author wiz; state Exp; branches; next 1.11; commitid FQ77UruBIUsgzsnD; 1.11 date 2022.01.04.20.55.05; author wiz; state Exp; branches; next 1.10; commitid CYyhdK9qtoffkmnD; 1.10 date 2020.10.27.10.18.39; author adam; state Exp; branches; next 1.9; commitid pVGdNpHRgul1MwtC; 1.9 date 2020.10.21.06.58.09; author adam; state Exp; branches; next 1.8; commitid UVZqEFHUtEOVQJsC; 1.8 date 2020.08.31.23.07.06; author wiz; state Exp; branches; next 1.7; commitid 9yf8HHEtVF21RgmC; 1.7 date 2020.07.13.20.05.12; author wiz; state Exp; branches; next 1.6; commitid NzLTjcIvA0yrqXfC; 1.6 date 2020.06.11.10.30.41; author adam; state Exp; branches; next 1.5; commitid 5VndVPTsqMJDgNbC; 1.5 date 2019.06.10.15.39.44; author adam; state Exp; branches; next 1.4; commitid TWYaHWoFJl5vMEqB; 1.4 date 2019.05.08.10.20.16; author adam; state Exp; branches; next 1.3; commitid EuwqP3zdbCHL4omB; 1.3 date 2019.04.03.15.23.24; author adam; state Exp; branches; next 1.2; commitid iUxNb0oXsEhmSUhB; 1.2 date 2018.07.03.05.03.37; author adam; state Exp; branches; next 1.1; commitid bH4MNADzVzoIfEIA; 1.1 date 2017.03.16.20.00.39; author darcy; state Exp; branches; next ; commitid bQBDPBbZjOzIrOJz; desc @@ 1.15 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @# $NetBSD: Makefile,v 1.14 2022/07/11 00:32:34 gutteridge Exp $ DISTNAME= rst2pdf-0.99 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://rst2pdf.org/ COMMENT= Convert restructured text to PDF via reportlab LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2 USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 USE_PKG_RESOURCES= yes post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.14 log @py-rst2pdf: py-yaml is also a dependency Issue noted and patch provided by J. Dekker on pkgsrc-users@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/05/10 07:21:45 adam Exp $ d14 1 a14 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm @ 1.13 log @py-rst2pdf: updated to 0.99 0.99 (2022-01-08) Added: Python 3.9 & 3.10 are now supported Added: Sphinx 4 is now supported. Added: Can now set background images using PageBreak. Added: Can now set multiple style names in the class directive Added: pdf_smartquotes option is now supported with Sphinx builds Added: Add support for styling separations. Changed: Outline entries that are deeper than the ToC are now collapsed Changed: math directive updated to support latest matplotlib Changed: the --very-verbose option provides more information when things go wrong. Changed: The default stylesheet has been improved. Use the rst2pdf-0.9 stylesheet to apply the previous default as per the "Migrating to the New Default Stylesheet" section of the manual. Also, the twoColumn style is no longer part of the default styles and is now a separate style. Add -s twocolumn to apply it or, for Sphinx add pdf_stylesheets = ['twocolumn'] Changed: Stylesheets are now in YAML. Migrate to the new format using python -m rst2pdf.style2yaml as per the "Migrating Stylesheet Format" section of the manual. Fixed: An imagine that is too tall in a table cell is now resized to fit. Fixed: rst2pdf now writes to stdout again Fixed: Ensure table columns are wide enough for use Fixed: Better error messages for malformed RST Fixed: The Sphinx versionadded & versionchanged directives work again Fixed: Hyperlinks with embedded internal link aliases no longer crash. Fixed: A more sensible error message is displayed when importing an extension fails Fixed: If rst2pdf errors, it should now return a non-zero status code. Fixed: Various documentation improvements Fixed: Addressed regular expression FutureWarning. Removed: Documentation related to kerning has been removed as it depended on word-axe which is longer @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2022/01/05 15:41:26 wiz Exp $ d5 1 d22 1 @ 1.12 log @python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2022/01/04 20:55:05 wiz Exp $ d3 1 a3 1 DISTNAME= rst2pdf-0.98 a4 1 PKGREVISION= 2 @ 1.11 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2020/10/27 10:18:39 adam Exp $ d5 1 a5 1 PKGREVISION= 1 d28 2 @ 1.10 log @py-rst2pdf: needs py-setuptools_scm @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/10/21 06:58:09 adam Exp $ d5 1 @ 1.9 log @py-rst2pdf: updated to 0.98 0.98 Added: We can now create coverage reports using tox -e coverage. Changed: Update Pygments styles Changed: Update Pillow dependency in requirements.txt. Changed: Use content-based comparison in tests. Fixed: Elements with that that don't have an rst2pdf element (e.g. subtitles, inline references) no longer cause a crash, Fixed: SVGlib is really optional now! Fixed: The README, LICENSE and CHANGES files are now packaged with the release tarball. Removed: Support for pdfrw has been removed and hence support for rendering SVGs using Inkscape has also been removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/08/31 23:07:06 wiz Exp $ d13 1 @ 1.8 log @*: switch to versioned_dependencies.mk for py-setuptools @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/07/13 20:05:12 wiz Exp $ d3 1 a3 1 DISTNAME= rst2pdf-0.97 d14 1 d16 1 a16 1 DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw a18 1 DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six d22 1 a22 1 PYTHON_VERSIONED_DEPENDENCIES+= setuptools d24 1 a24 1 USE_LANGUAGES= # none a30 1 .include "../../lang/python/versioned_dependencies.mk" @ 1.7 log @*: reset maintainer for darcy @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/06/11 10:30:41 adam Exp $ a17 1 DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools d22 2 d31 1 @ 1.6 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/06/10 15:39:44 adam Exp $ d8 1 a8 1 MAINTAINER= darcy@@NetBSD.org @ 1.5 log @py-rst2pdf: updated to 0.94.1 0.94.1: Update urllib3 and Jinja2 dependencies in requirements.txt Fix "reportlab is not defined" error when using ReportLab 3.5.20+ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/05/08 10:20:16 adam Exp $ d3 1 a3 1 DISTNAME= rst2pdf-0.94.1 d5 2 a6 5 CATEGORIES= python textproc # PyPI distfile does not include images, styles, and templates #MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} MASTER_SITES= ${MASTER_SITE_GITHUB:=rst2pdf/} GITHUB_PROJECT= rst2pdf a24 6 PYTHON_VERSIONS_ACCEPTED= 27 # setup.cfg contains only 'tag_build = .dev', which we don't want. pre-configure: ${RM} ${WRKSRC}/setup.cfg @ 1.4 log @py-rst2pdf: use distfile from GitHub; fixes PR 54161 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/04/03 15:23:24 adam Exp $ d3 1 a3 2 DISTNAME= rst2pdf-0.94 PKGREVISION= 1 a9 2 # TODO: remove on next update DIST_SUBDIR= rst2pdf @ 1.3 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2018/07/03 05:03:37 adam Exp $ d4 1 d7 6 a12 1 MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} d27 1 d33 4 a40 4 # tests not included do-test: ${DO_NADA} @ 1.2 log @extend PYTHON_VERSIONS_ for Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2017/03/16 20:00:39 darcy Exp $ d3 22 a24 19 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 d27 6 a32 2 ${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 a33 1 .include "../../lang/python/application.mk" @ 1.1 log @Add py-rst2pdf package, a tool to create PDFs from text. @ text @d1 1 a1 1 # $NetBSD$ d14 1 a14 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 36 @