aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-pdfrw
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-06-21 20:22:16 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-06-21 20:22:16 +0000
commit5f25058cbd89b9a8e7e462c21a90973e2cb8642a (patch)
treee22a708b7b7a1a397d5bbf25e02254c5d8096650 /textproc/py-pdfrw
parentef5f1bb98926928c3fb3f567f407f01bc5428a92 (diff)
downloadports-5f25058cbd89b9a8e7e462c21a90973e2cb8642a.tar.gz
ports-5f25058cbd89b9a8e7e462c21a90973e2cb8642a.zip
New port: textproc/py-pdfrw
A Python library and utility that reads and writes PDF files: - Version 0.4 is tested and works on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6 - 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 WWW: https://github.com/pmaupin/pdfrw PR: 226702 Submitted by: greg@unrelenting.technology
Notes
Notes: svn path=/head/; revision=472998
Diffstat (limited to 'textproc/py-pdfrw')
-rw-r--r--textproc/py-pdfrw/Makefile17
-rw-r--r--textproc/py-pdfrw/distinfo3
-rw-r--r--textproc/py-pdfrw/pkg-descr12
3 files changed, 32 insertions, 0 deletions
diff --git a/textproc/py-pdfrw/Makefile b/textproc/py-pdfrw/Makefile
new file mode 100644
index 000000000000..4f83b06e542e
--- /dev/null
+++ b/textproc/py-pdfrw/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= pdfrw
+PORTVERSION= 0.4
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= greg@unrelenting.technology
+COMMENT= PDF file reader/writer library
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pdfrw/distinfo b/textproc/py-pdfrw/distinfo
new file mode 100644
index 000000000000..228ad1b8d563
--- /dev/null
+++ b/textproc/py-pdfrw/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521393528
+SHA256 (pdfrw-0.4.tar.gz) = 0dc0494a0e6561b268542b28ede2280387c2728114f117d3bb5d8e4787b93ef4
+SIZE (pdfrw-0.4.tar.gz) = 95402
diff --git a/textproc/py-pdfrw/pkg-descr b/textproc/py-pdfrw/pkg-descr
new file mode 100644
index 000000000000..4510f735df40
--- /dev/null
+++ b/textproc/py-pdfrw/pkg-descr
@@ -0,0 +1,12 @@
+A Python library and utility that reads and writes PDF files:
+
+- Version 0.4 is tested and works on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6
+- 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
+
+WWW: https://github.com/pmaupin/pdfrw