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
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2020/06/11 10:30:41 adam Exp $
|
|
|
|
DISTNAME= rst2pdf-0.97
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
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
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|