pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc Add py-pdfrw package, a pure Python library t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67a153463ad9
branches:  trunk
changeset: 359724:67a153463ad9
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Thu Mar 16 20:07:05 2017 +0000

description:
Add py-pdfrw package, a pure Python library that reads and writes PDFs.

diffstat:

 textproc/Makefile          |   3 +-
 textproc/py-pdfrw/DESCR    |  17 ++++++++++++
 textproc/py-pdfrw/Makefile |  18 +++++++++++++
 textproc/py-pdfrw/PLIST    |  62 ++++++++++++++++++++++++++++++++++++++++++++++
 textproc/py-pdfrw/distinfo |   6 ++++
 5 files changed, 105 insertions(+), 1 deletions(-)

diffs (136 lines):

diff -r 76f65d96ae03 -r 67a153463ad9 textproc/Makefile
--- a/textproc/Makefile Thu Mar 16 20:05:47 2017 +0000
+++ b/textproc/Makefile Thu Mar 16 20:07:05 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.913 2017/03/16 20:00:39 darcy Exp $
+# $NetBSD: Makefile,v 1.914 2017/03/16 20:07:05 darcy Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -755,6 +755,7 @@
 SUBDIR+=       py-numpydoc
 SUBDIR+=       py-openpyxl
 SUBDIR+=       py-pdf-parser
+SUBDIR+=       py-pdfrw
 SUBDIR+=       py-phonenumbers
 SUBDIR+=       py-prettytable
 SUBDIR+=       py-pygments
diff -r 76f65d96ae03 -r 67a153463ad9 textproc/py-pdfrw/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pdfrw/DESCR   Thu Mar 16 20:07:05 2017 +0000
@@ -0,0 +1,17 @@
+pdfrw is a Python library and utility that reads and writes PDF files:
+
+  * Version 0.2 is tested and works on Python 2.6, 2.7, 3.3, and 3.4.
+  * Operations include subsetting, merging, rotating, modifying metadata, etc.
+  * The fastest pure Python PDF parser available
+  * Has been used for years by a printer in pre-press production
+  * Can be used with rst2pdf to faithfully reproduce vector images
+  * Can be used either standalone, or in conjunction with reportlab to reuse
+    existing PDFs in new ones
+  * Permissively licensed
+
+pdfrw will faithfully reproduce vector formats without rasterization, so the
+rst2pdf package has used pdfrw for PDF and SVG images by default since March
+2010.
+
+pdfrw can also be used in conjunction with reportlab, in order to re-use
+portions of existing PDFs in new PDFs created with reportlab.
diff -r 76f65d96ae03 -r 67a153463ad9 textproc/py-pdfrw/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pdfrw/Makefile        Thu Mar 16 20:07:05 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/03/16 20:07:05 darcy Exp $
+
+DISTNAME=      pdfrw-0.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pdfrw/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pmaupin/pdfrw
+COMMENT=       PDF file reader/writer pure Python library
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  35
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 76f65d96ae03 -r 67a153463ad9 textproc/py-pdfrw/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pdfrw/PLIST   Thu Mar 16 20:07:05 2017 +0000
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:07:05 darcy Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pdfrw/__init__.py
+${PYSITELIB}/pdfrw/__init__.pyc
+${PYSITELIB}/pdfrw/__init__.pyo
+${PYSITELIB}/pdfrw/buildxobj.py
+${PYSITELIB}/pdfrw/buildxobj.pyc
+${PYSITELIB}/pdfrw/buildxobj.pyo
+${PYSITELIB}/pdfrw/compress.py
+${PYSITELIB}/pdfrw/compress.pyc
+${PYSITELIB}/pdfrw/compress.pyo
+${PYSITELIB}/pdfrw/errors.py
+${PYSITELIB}/pdfrw/errors.pyc
+${PYSITELIB}/pdfrw/errors.pyo
+${PYSITELIB}/pdfrw/findobjs.py
+${PYSITELIB}/pdfrw/findobjs.pyc
+${PYSITELIB}/pdfrw/findobjs.pyo
+${PYSITELIB}/pdfrw/objects/__init__.py
+${PYSITELIB}/pdfrw/objects/__init__.pyc
+${PYSITELIB}/pdfrw/objects/__init__.pyo
+${PYSITELIB}/pdfrw/objects/pdfarray.py
+${PYSITELIB}/pdfrw/objects/pdfarray.pyc
+${PYSITELIB}/pdfrw/objects/pdfarray.pyo
+${PYSITELIB}/pdfrw/objects/pdfdict.py
+${PYSITELIB}/pdfrw/objects/pdfdict.pyc
+${PYSITELIB}/pdfrw/objects/pdfdict.pyo
+${PYSITELIB}/pdfrw/objects/pdfindirect.py
+${PYSITELIB}/pdfrw/objects/pdfindirect.pyc
+${PYSITELIB}/pdfrw/objects/pdfindirect.pyo
+${PYSITELIB}/pdfrw/objects/pdfname.py
+${PYSITELIB}/pdfrw/objects/pdfname.pyc
+${PYSITELIB}/pdfrw/objects/pdfname.pyo
+${PYSITELIB}/pdfrw/objects/pdfobject.py
+${PYSITELIB}/pdfrw/objects/pdfobject.pyc
+${PYSITELIB}/pdfrw/objects/pdfobject.pyo
+${PYSITELIB}/pdfrw/objects/pdfstring.py
+${PYSITELIB}/pdfrw/objects/pdfstring.pyc
+${PYSITELIB}/pdfrw/objects/pdfstring.pyo
+${PYSITELIB}/pdfrw/pagemerge.py
+${PYSITELIB}/pdfrw/pagemerge.pyc
+${PYSITELIB}/pdfrw/pagemerge.pyo
+${PYSITELIB}/pdfrw/pdfreader.py
+${PYSITELIB}/pdfrw/pdfreader.pyc
+${PYSITELIB}/pdfrw/pdfreader.pyo
+${PYSITELIB}/pdfrw/pdfwriter.py
+${PYSITELIB}/pdfrw/pdfwriter.pyc
+${PYSITELIB}/pdfrw/pdfwriter.pyo
+${PYSITELIB}/pdfrw/py23_diffs.py
+${PYSITELIB}/pdfrw/py23_diffs.pyc
+${PYSITELIB}/pdfrw/py23_diffs.pyo
+${PYSITELIB}/pdfrw/tokens.py
+${PYSITELIB}/pdfrw/tokens.pyc
+${PYSITELIB}/pdfrw/tokens.pyo
+${PYSITELIB}/pdfrw/toreportlab.py
+${PYSITELIB}/pdfrw/toreportlab.pyc
+${PYSITELIB}/pdfrw/toreportlab.pyo
+${PYSITELIB}/pdfrw/uncompress.py
+${PYSITELIB}/pdfrw/uncompress.pyc
+${PYSITELIB}/pdfrw/uncompress.pyo
diff -r 76f65d96ae03 -r 67a153463ad9 textproc/py-pdfrw/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pdfrw/distinfo        Thu Mar 16 20:07:05 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/16 20:07:05 darcy 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



Home | Main Index | Thread Index | Old Index