pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   darcy
Date:           Thu Mar 16 20:07:05 UTC 2017

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-pdfrw: DESCR Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.913 -r1.914 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-pdfrw/DESCR \
    pkgsrc/textproc/py-pdfrw/Makefile pkgsrc/textproc/py-pdfrw/PLIST \
    pkgsrc/textproc/py-pdfrw/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.913 pkgsrc/textproc/Makefile:1.914
--- pkgsrc/textproc/Makefile:1.913      Thu Mar 16 20:00:39 2017
+++ pkgsrc/textproc/Makefile    Thu Mar 16 20:07:05 2017
@@ -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-natsort
 SUBDIR+=       py-numpydoc
 SUBDIR+=       py-openpyxl
 SUBDIR+=       py-pdf-parser
+SUBDIR+=       py-pdfrw
 SUBDIR+=       py-phonenumbers
 SUBDIR+=       py-prettytable
 SUBDIR+=       py-pygments

Added files:

Index: pkgsrc/textproc/py-pdfrw/DESCR
diff -u /dev/null pkgsrc/textproc/py-pdfrw/DESCR:1.1
--- /dev/null   Thu Mar 16 20:07:05 2017
+++ pkgsrc/textproc/py-pdfrw/DESCR      Thu Mar 16 20:07:05 2017
@@ -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.
Index: pkgsrc/textproc/py-pdfrw/Makefile
diff -u /dev/null pkgsrc/textproc/py-pdfrw/Makefile:1.1
--- /dev/null   Thu Mar 16 20:07:05 2017
+++ pkgsrc/textproc/py-pdfrw/Makefile   Thu Mar 16 20:07:05 2017
@@ -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"
Index: pkgsrc/textproc/py-pdfrw/PLIST
diff -u /dev/null pkgsrc/textproc/py-pdfrw/PLIST:1.1
--- /dev/null   Thu Mar 16 20:07:05 2017
+++ pkgsrc/textproc/py-pdfrw/PLIST      Thu Mar 16 20:07:05 2017
@@ -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
Index: pkgsrc/textproc/py-pdfrw/distinfo
diff -u /dev/null pkgsrc/textproc/py-pdfrw/distinfo:1.1
--- /dev/null   Thu Mar 16 20:07:05 2017
+++ pkgsrc/textproc/py-pdfrw/distinfo   Thu Mar 16 20:07:05 2017
@@ -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