summaryrefslogtreecommitdiff
path: root/print/py-reportlab/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-12-17 16:47:54 +0000
committeradam <adam@pkgsrc.org>2017-12-17 16:47:54 +0000
commita8e086d287c6f7e9579a009d213bfe97a3cf4e46 (patch)
treec86eeaaddd433438312ce91f35b53f2ea4ed388f /print/py-reportlab/Makefile
parent2c89be045fd8acedc2ffae11b4fa21275f725159 (diff)
downloadpkgsrc-a8e086d287c6f7e9579a009d213bfe97a3cf4e46.tar.gz
py-reportlab: updated to 3.4.0
RELEASE 3.4: * More pagesizes from https://en.wikipedia.org/wiki/Paper_size (contributed by https://bitbucket.org/alainchiasson/) * add in fillMode (fill-rule) variable to the graphics state for drawings * add support for automatic bullet rotation in ListFlowables. * fix acroform annotation bug in radios (reported by Olivia Zhang) * fix split paragraph rendering bug (reported by Olivia Zhang & Echo Bell) * Allow Image to have a drawing as argument * support for Path autoclose & fillMode; version --> 3.3.29 * add support for different fill policies in renderXX drawPath; version-->3.3.28 * allow for UTF_16_LE BOM, fix for bug contributed by Michael Poindexter mpoindexter@housecanary.com * improved support for images in renderPM/renderSVG bug report from Claude Paroz * add AcroForm support to canvas; version --> 3.3.22 * avoid cr lf line endings * attempt to ensure zipImported has some files or returns None * added additonal test to barcode/test.py * add an invisible font test thanks https://bitbucket.org/kb/ Konstantin Baierer * add mailto href test * improve UPCA barcode contribution by Kyle McFarlane https://bitbucket.org/kylemacfarlane/ * attempt to fix __loader__ issues in pyinstaller suggested by dbrnz @ bitbucket * fix NormalDate comprisons in python3.x * fix ypad use in ParagraphAndImage contrib annamarianfr@bitbucket, version-->3.3.16 * try to prevent multiple saving contrib by Tim Meneely * fix problems with svg drawToString contrib by Eric Gillet & Johann Du Toit * fix issue reported by Yitzchak Scott-Thoennes <sthoenna@gmail.com> * fix fake KeepTogether setup in handle_keepWithNext * add NullActionFlowable, fix empty KeepTogether * really merge para-measure-fix * merge para-measure-fix changes * fixes to TypedPropertyCollection * changes to Render class; allow drawings to specify initialFontName/Size * fix python>=3.2 default axis labelling to match python2.x * fix AttributeError * add experimental time value axis * fix bug in python shapes rendering * add negative span style to test_platypus_tables splitting example * fix segfault in _rl_accel.c * attempt to remove quadratic performance hit when longTableOptimize is set * allow DATA: scheme in open for read * import Table _rowpositions calculation * support small ttfs which do not allow subsets * add rl_settings allowTTFSubsetting * address issue 76 (deprecated immports) * add table cell support for simple background shadings, contributed by Jeffrey Creem jcreem@bitbucket * fix bug in tables.py reported by Vytis Banaitis @ bitbucket; version-->3.3.2 * minor change to allow barWidth setting in ecc200datamatrix.py (suggested by Kyle MacFarlane @ bitbucket) * make paraparser syntax errors real and fix <sup/sub> tags to have relative values; version-->3.3.1 * ReportLab now runs all tests under Python 2.7, 3.3, 3.4, 3.5 & 3.6.
Diffstat (limited to 'print/py-reportlab/Makefile')
-rw-r--r--print/py-reportlab/Makefile53
1 files changed, 7 insertions, 46 deletions
diff --git a/print/py-reportlab/Makefile b/print/py-reportlab/Makefile
index c977ccecb79..02a9c148147 100644
--- a/print/py-reportlab/Makefile
+++ b/print/py-reportlab/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.58 2017/11/09 08:10:55 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2017/12/17 16:47:54 adam Exp $
-DISTNAME= reportlab-3.3.0
+DISTNAME= reportlab-3.4.0
DISTFILES= ${DEFAULT_DISTFILES} pfbfer.zip
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/reportlab/}
SITES.pfbfer.zip= http://www.reportlab.com/ftp/fonts/
@@ -14,57 +13,19 @@ COMMENT= Powerful PDF-generating toolkit for Python
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
-DEPENDS+= ${PYPKGPREFIX}-{Pillow-[0-9]*,imaging-[0-9]*}:../../graphics/py-Pillow
+DEPENDS+= ${PYPKGPREFIX}-Pillow>=2.4.0:../../graphics/py-Pillow
EXTRACT_DIR.pfbfer.zip= ${WRKSRC}/src/reportlab/fonts
EXTRACT_OPTS_ZIP+= -L
-REPLACE_PYTHON+= demos/tests/testdemos.py
-REPLACE_PYTHON+= docs/genAll.py
-REPLACE_PYTHON+= docs/reference/genreference.py
-REPLACE_PYTHON+= docs/userguide/genuserguide.py
-REPLACE_PYTHON+= src/reportlab/graphics/barcode/test.py
-REPLACE_PYTHON+= src/reportlab/graphics/testdrawings.py
-REPLACE_PYTHON+= src/reportlab/graphics/testshapes.py
-REPLACE_PYTHON+= src/reportlab/graphics/widgets/table.py
-REPLACE_PYTHON+= src/reportlab/lib/__init__.py
-REPLACE_PYTHON+= src/reportlab/lib/corp.py
-REPLACE_PYTHON+= src/reportlab/lib/fonts.py
-REPLACE_PYTHON+= src/reportlab/lib/formatters.py
-REPLACE_PYTHON+= src/reportlab/lib/logger.py
-REPLACE_PYTHON+= src/reportlab/lib/normalDate.py
-REPLACE_PYTHON+= src/reportlab/lib/pagesizes.py
-REPLACE_PYTHON+= src/reportlab/lib/randomtext.py
-REPLACE_PYTHON+= src/reportlab/lib/units.py
-REPLACE_PYTHON+= tests/runAll.py
-REPLACE_PYTHON+= tests/test_docstrings.py
-REPLACE_PYTHON+= tests/test_geomutils.py
-REPLACE_PYTHON+= tests/test_hello.py
-REPLACE_PYTHON+= tests/test_images.py
-REPLACE_PYTHON+= tests/test_invariant.py
-REPLACE_PYTHON+= tests/test_lib_pdfencrypt.py
-REPLACE_PYTHON+= tests/test_pdfbase_postscript.py
-REPLACE_PYTHON+= tests/test_pdfgen_callback.py
-REPLACE_PYTHON+= tests/test_pdfgen_general.py
-REPLACE_PYTHON+= tests/test_platypus_paraparser.py
-REPLACE_PYTHON+= tests/test_platypus_tables.py
-REPLACE_PYTHON+= tests/test_renderSVG.py
-REPLACE_PYTHON+= tests/test_source_chars.py
-REPLACE_PYTHON+= tests/test_utils.py
-REPLACE_PYTHON+= tools/docco/docpy.py
-REPLACE_PYTHON+= tools/docco/graphdocpy.py
-REPLACE_PYTHON+= tools/docco/rl_doc_utils.py
-REPLACE_PYTHON+= tools/pythonpoint/pythonpoint.py
-
-#fixup group/world writeable fonts from pfbfer.zip
+# fixup group/world writeable fonts from pfbfer.zip
post-install:
- ${CHMOD} ${SHAREMODE} \
- ${DESTDIR}${PREFIX}/${PYSITELIB}/reportlab/fonts/*.pfb
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${PYSITELIB}/reportlab/fonts/*.pfb
+
do-test:
- ${RUN}cd ${WRKSRC};${PYTHONBIN} setup.py tests
+ cd ${WRKSRC} && ${PYTHONBIN} setup.py tests
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"