pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-pdfrw py-pdfrw: update to 0.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0aba90300b8a
branches:  trunk
changeset: 369604:0aba90300b8a
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 02 10:56:15 2017 +0000

description:
py-pdfrw: update to 0.4

pdfrw 0.4:

Fixes, enhancements, and new examples:
- Python 3.6 added to test matrix
- Proper unicode support for text strings in PDFs added
- buildxobj fixes allow better support creating form XObjects
  out of compressed pages in some cases
- Compression fixes for Python 3+
- New subset_booklets.py example
- Bug with non-compressed indices into compressed object streams fixed
- Bug with distinguishing compressed object stream first objects fixed
- Better error reporting added for some invalid PDFs (e.g. when reading
  past the end of file)
- Better scrubbing of old bookmark information when writing PDFs, to
  remove dangling references
- Refactoring of pdfwriter, including updating API, to allow future
  enhancements for things like incremental writing
- Minor tokenizer speedup
- Some flate decompressor bugs fixed
- Compression and decompression tests added
- Tests for new unicode handling added

diffstat:

 textproc/py-pdfrw/Makefile |   8 +++-----
 textproc/py-pdfrw/PLIST    |   6 +++++-
 textproc/py-pdfrw/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 11 deletions(-)

diffs (62 lines):

diff -r 35022876a7c3 -r 0aba90300b8a textproc/py-pdfrw/Makefile
--- a/textproc/py-pdfrw/Makefile        Mon Oct 02 09:24:40 2017 +0000
+++ b/textproc/py-pdfrw/Makefile        Mon Oct 02 10:56:15 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/03/16 20:07:05 darcy Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/02 10:56:15 adam Exp $
 
-DISTNAME=      pdfrw-0.2
+DISTNAME=      pdfrw-0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    textproc
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pdfrw/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,7 +12,5 @@
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  35
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 35022876a7c3 -r 0aba90300b8a textproc/py-pdfrw/PLIST
--- a/textproc/py-pdfrw/PLIST   Mon Oct 02 09:24:40 2017 +0000
+++ b/textproc/py-pdfrw/PLIST   Mon Oct 02 10:56:15 2017 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:07:05 darcy Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/02 10:56:15 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/pdfrw/__init__.py
 ${PYSITELIB}/pdfrw/__init__.pyc
 ${PYSITELIB}/pdfrw/__init__.pyo
@@ -12,6 +13,9 @@
 ${PYSITELIB}/pdfrw/compress.py
 ${PYSITELIB}/pdfrw/compress.pyc
 ${PYSITELIB}/pdfrw/compress.pyo
+${PYSITELIB}/pdfrw/crypt.py
+${PYSITELIB}/pdfrw/crypt.pyc
+${PYSITELIB}/pdfrw/crypt.pyo
 ${PYSITELIB}/pdfrw/errors.py
 ${PYSITELIB}/pdfrw/errors.pyc
 ${PYSITELIB}/pdfrw/errors.pyo
diff -r 35022876a7c3 -r 0aba90300b8a textproc/py-pdfrw/distinfo
--- a/textproc/py-pdfrw/distinfo        Mon Oct 02 09:24:40 2017 +0000
+++ b/textproc/py-pdfrw/distinfo        Mon Oct 02 10:56:15 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/03/16 20:07:05 darcy Exp $
+$NetBSD: distinfo,v 1.2 2017/10/02 10:56:15 adam Exp $
 
-SHA1 (pdfrw-0.2.tar.gz) = 67a64bfdd1c543efe847f13a9a1e521337873e69
-RMD160 (pdfrw-0.2.tar.gz) = 9e46bcdaf58ee4eb0d47f0d36757d4c228c3d215
-SHA512 (pdfrw-0.2.tar.gz) = 4f1ed3b7ddb42969110291b31e02e15e1f98316ede25eaa4d63cdbc443497a278267309769351e04cff52651cdbc44c93771e521cb953ba08d57152f81ee516f
-Size (pdfrw-0.2.tar.gz) = 69177 bytes
+SHA1 (pdfrw-0.4.tar.gz) = 0055a83778e14287795dc4011b52c0e2d79cc8dd
+RMD160 (pdfrw-0.4.tar.gz) = 592e7ea22b4b69204eba5b859b6909d8d8d6fbfc
+SHA512 (pdfrw-0.4.tar.gz) = 6c0b629e837f9bd479a288bcd040952b98920da345113bf90167becbdf2f90a9d6c082c5e7988c68118bd62a2a5a0d22f98523407996531bb5d3031e847e10b0
+Size (pdfrw-0.4.tar.gz) = 95402 bytes



Home | Main Index | Thread Index | Old Index