head	1.23;
access;
symbols
	pkgsrc-2026Q1:1.23.0.2
	pkgsrc-2026Q1-base:1.23
	pkgsrc-2025Q4:1.20.0.2
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.19.0.2
	pkgsrc-2025Q3-base:1.19
	pkgsrc-2025Q2:1.18.0.2
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.17.0.4
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.17.0.2
	pkgsrc-2024Q4-base:1.17
	pkgsrc-2024Q3:1.16.0.2
	pkgsrc-2024Q3-base:1.16
	pkgsrc-2024Q2:1.15.0.10
	pkgsrc-2024Q2-base:1.15
	pkgsrc-2024Q1:1.15.0.8
	pkgsrc-2024Q1-base:1.15
	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.23
date	2026.03.10.13.54.42;	author adam;	state Exp;
branches;
next	1.22;
commitid	LRM7RBg3k071YqxG;

1.22
date	2026.01.11.10.19.06;	author adam;	state Exp;
branches;
next	1.21;
commitid	CMV4CPrZkQUyDXpG;

1.21
date	2025.12.28.14.44.20;	author adam;	state Exp;
branches;
next	1.20;
commitid	BV3DTciVofOkyboG;

1.20
date	2025.10.09.07.58.02;	author wiz;	state Exp;
branches;
next	1.19;
commitid	t4nMY0Dt3rBjSRdG;

1.19
date	2025.07.05.11.44.07;	author wiz;	state Exp;
branches;
next	1.18;
commitid	B2KLCDAZOmgedy1G;

1.18
date	2025.04.24.07.11.24;	author wiz;	state Exp;
branches;
next	1.17;
commitid	zqg5X4lfEv1p1hSF;

1.17
date	2024.11.11.07.29.08;	author wiz;	state Exp;
branches;
next	1.16;
commitid	1fBDq3LwS98NncxF;

1.16
date	2024.07.22.05.14.51;	author adam;	state Exp;
branches;
next	1.15;
commitid	bC5Zzrkc3OVjfNiF;

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.23
log
@py-rst2pdf: updated to 0.105

0.105 (2026-01-09)
* Changed: We have updated our dependencies to support the latest version of packaging (v)26 and pytest (v9)
@
text
@# $NetBSD: Makefile,v 1.22 2026/01/11 10:19:06 adam Exp $

DISTNAME=	rst2pdf-0.105
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
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>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=8:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-docutils>=0.21.2:../../textproc/py-docutils
DEPENDS+=	${PYPKGPREFIX}-jinja2>=3.0:../../textproc/py-jinja2
DEPENDS+=	${PYPKGPREFIX}-packaging>=25.0:../../devel/py-packaging
DEPENDS+=	${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments
DEPENDS+=	${PYPKGPREFIX}-reportlab>=4.0:../../print/py-reportlab
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0.1:../../textproc/py-yaml
# not mentioned by needed: https://github.com/rst2pdf/rst2pdf/issues/1283
DEPENDS+=	${PYPKGPREFIX}-roman>0:../../math/py-roman
# also: fitz_old
TEST_DEPENDS+=	${PYPKGPREFIX}-test-xdist>=3.0:../../devel/py-test-xdist

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.22
log
@py-rst2pdf: updated to 0.104

0.104 (2026-01-08)

* Added: We now support Python 3.14
* Changed: We now use docutil's smart quotes rather than the old, abandoned smartypants library
* Changed: When using Sphinx 8.2.0+, rst2pdf uses Sphinx's formatting for the productionlist directive
* Changed: Improved handling of linenos directive in code blocks
* Note: A change in svglib results in text with SVGs rendering slightly smaller. See commit ``3a9955ca``
* Note: With Pillow 11.1.0+, the dpi for an image is now populated correctly for images using cm. This
    affects the way images are sized as rst2pdf will now use the image's dpi value rather than defaulting
    to 300dpi.
* Changed: We now use our own copy of docutils _roman_numerals.py from v0.22.4
* Removed: Support for Python 3.9. Python 3.10 is the new minimum supported version of Python.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2025/12/28 14:44:20 adam Exp $
d3 1
a3 1
DISTNAME=	rst2pdf-0.104
@


1.21
log
@py-rst2pdf: updated to 0.103.1

0.103.1 (2024-12-24)
* Changed: Updated pyproject classifiers to include Python 3.13
* Changed: Various project changes to allow releasing using uv

0.103 (2024-12-24)
* Added: We now support Python 3.13
* Added: We now support ``emphasize-lines`` asa an alias for ``hl_lines``
* Changed: Support PyMuPDF when it's installed as fitz_old
* Changed: We now use pyproject.toml and uv
* Fixed: We now run our Sphinx tests again
* Fixed: We no longer add a second document to Sphinx builds
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2025/10/09 07:58:02 wiz Exp $
d3 1
a3 1
DISTNAME=	rst2pdf-0.103.1
a15 1
DEPENDS+=	${PYPKGPREFIX}-importlib-metadata>=8.0:../../devel/py-importlib-metadata
d17 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-packaging>=24.0:../../devel/py-packaging
d20 1
a20 2
DEPENDS+=	${PYPKGPREFIX}-smartypants>=2.0:../../textproc/py-smartypants
DEPENDS+=	${PYPKGPREFIX}-yaml>=6.0:../../textproc/py-yaml
d23 1
@


1.20
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/07/05 11:44:07 wiz Exp $
d3 1
a3 1
DISTNAME=	rst2pdf-0.102
a4 1
PKGREVISION=	1
d14 12
a25 11
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
# TODO:
#TEST_DEPENDS+=	${PYPKGPREFIX}-mupdf-[0-9]*:../../print/py-mupdf
@


1.19
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/04/24 07:11:24 wiz Exp $
d29 1
a29 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.18
log
@py-rst2pdf: adapt for setuptools 78

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/11/11 07:29:08 wiz Exp $
d29 2
@


1.17
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/07/22 05:14:51 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
a28 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.16
log
@py-rst2pdf: updated to 0.102

0.102 (2024-06-05)

* Added: We now set ``supported_image_type`` attribute in the Sphinx builder
* Changed: We now support ReportLab 4 and xhtml2pdf 0.12.2
* Fixed: CI now correctly fails if the tests fail


0.101 (2023-08-02)

* Changed: We now recommend using pipx to install rst2pdf.
* Changed: The manual's examples for embedding fonts are now better.
* Fixed: The ``twocolumn.yaml`` stylesheet has been restored after inadvertent removal in 0.100.
* Fixed: We now use ``ConfigParser`` so that we are ready for 3.12.
* Fixed: Tests now run correctly regardless of locale.
* Fixed: Arguments when calling ``DelayedTable`` are now in the correct order.


0.100 (2023-03-20)

* Added: New command line option ``--record-dependencies`` to write out the list of files that were
  used to create the PDF.
* Added: Python 3.11 is now experimentally supported. Please report any issues found.
* Changed: Updated tests to use ReportLab 3.6.12. Note that ReportLab 3.6.5 introduced some layout
  changes in rst2pdf's output. We have noticed that header/footer spacing is different, the space
  before nested bullets is bigger than before and that some fully-justified text paragraphs now
  wrap differently.
* Fixed: The ``twoColumn`` style has been reinstated as its used with Sphinx.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/06/06 12:42:33 riastradh Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


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
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2022/07/11 00:32:34 gutteridge Exp $
d3 1
a3 1
DISTNAME=	rst2pdf-0.99
a4 1
PKGREVISION=	1
d13 1
d15 1
d24 2
a25 1
TEST_DEPENDS+=	${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
a30 2
USE_PKG_RESOURCES=	yes

d35 1
a35 1
.include "../../lang/python/egg.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 <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
@
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
@

