pkgsrc/textproc/py-rst2pdf/Makefile
adam bf5c74f608 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 <img> 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
2019-04-03 15:23:24 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2019/04/03 15:23:24 adam Exp $
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:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
# tests not included
do-test:
${DO_NADA}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"