pkgsrc-WIP-changes archive

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

py-pdfrw: Import py-pdfrw-0.2 as wip/py-pdfrw



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Jan 12 14:52:23 2016 +0100
Changeset:	a706a0cfbd212efab764b00be23eb4ad346f8c5b

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

Log Message:
py-pdfrw: Import py-pdfrw-0.2 as wip/py-pdfrw

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a706a0cfbd212efab764b00be23eb4ad346f8c5b

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

diffstat:
 Makefile          |  1 +
 py-pdfrw/DESCR    | 17 +++++++++++++++
 py-pdfrw/Makefile | 18 ++++++++++++++++
 py-pdfrw/PLIST    | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-pdfrw/distinfo |  6 ++++++
 5 files changed, 104 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f9edde5..ec582a2 100755
--- a/Makefile
+++ b/Makefile
@@ -3071,6 +3071,7 @@ SUBDIR+=	py-patsy
 SUBDIR+=	py-pcapy
 SUBDIR+=	py-pdef
 SUBDIR+=	py-pdfposter
+SUBDIR+=	py-pdfrw
 SUBDIR+=	py-peak-rules
 SUBDIR+=	py-pebl
 SUBDIR+=	py-percol
diff --git a/py-pdfrw/DESCR b/py-pdfrw/DESCR
new file mode 100644
index 0000000..5fd4978
--- /dev/null
+++ b/py-pdfrw/DESCR
@@ -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 --git a/py-pdfrw/Makefile b/py-pdfrw/Makefile
new file mode 100644
index 0000000..9fce77d
--- /dev/null
+++ b/py-pdfrw/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	pdfrw-0.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	print
+MASTER_SITES=	${MASTER_SITE_PYPI}
+
+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 --git a/py-pdfrw/PLIST b/py-pdfrw/PLIST
new file mode 100644
index 0000000..4144ffe
--- /dev/null
+++ b/py-pdfrw/PLIST
@@ -0,0 +1,62 @@
+@comment $NetBSD$
+${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 --git a/py-pdfrw/distinfo b/py-pdfrw/distinfo
new file mode 100644
index 0000000..58c3f22
--- /dev/null
+++ b/py-pdfrw/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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