svn commit: r447816 - in head/print: . py-stapler
Ben Woods
woodsb02 at FreeBSD.org
Sat Aug 12 05:43:47 UTC 2017
Author: woodsb02
Date: Sat Aug 12 05:43:46 2017
New Revision: 447816
URL: https://svnweb.freebsd.org/changeset/ports/447816
Log:
Add new port print/py-stapler
Stapler is a pure Python alternative to PDFtk, a tool for manipulating PDF
documents from the command line. Like pdftk, stapler is a command-line tool.
With the select command, you can cherry-pick pages from pdfs and concatenate
them into a new pdf file.
The delete command works almost exactly the same as select, but inverse.
It uses the pages and ranges which you didn't specify.
The split command splits the specified pdf files into their single pages and
writes each page into it's own pdf file.
With the zip command, you can cherry-pick pages from pdfs (like select).
The pages from each pdf are merged together in an interleaving manner.
This can be used to collate a pdf with odd pages and a pdf with even pages
into a single file.
The info command shows information on the metadata stored inside a PDF file.
WWW: https://github.com/hellerbarde/stapler
Added:
head/print/py-stapler/
head/print/py-stapler/Makefile (contents, props changed)
head/print/py-stapler/distinfo (contents, props changed)
head/print/py-stapler/pkg-descr (contents, props changed)
Modified:
head/print/Makefile
Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile Sat Aug 12 03:51:33 2017 (r447815)
+++ head/print/Makefile Sat Aug 12 05:43:46 2017 (r447816)
@@ -201,6 +201,7 @@
SUBDIR += py-reportlab
SUBDIR += py-reportlab1
SUBDIR += py-rtf
+ SUBDIR += py-stapler
SUBDIR += py-trml2pdf
SUBDIR += py3-fonttools
SUBDIR += py3-pycups
Added: head/print/py-stapler/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-stapler/Makefile Sat Aug 12 05:43:46 2017 (r447816)
@@ -0,0 +1,23 @@
+# Created by: Ben Woods <woodsb02 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= stapler
+PORTVERSION= 0.3.3
+CATEGORIES= print python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+#DISTNAME= PyPDF2-${PORTVERSION}
+
+MAINTAINER= woodsb02 at FreeBSD.org
+COMMENT= Manipulate PDF documents from the command line
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}more-itertools>=2.2:devel/py-more-itertools \
+ ${PYTHON_PKGNAMEPREFIX}pdf2>=1.24:print/py-pdf2
+
+USES= python:2.7+
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/print/py-stapler/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-stapler/distinfo Sat Aug 12 05:43:46 2017 (r447816)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1502515886
+SHA256 (stapler-0.3.3.tar.gz) = 326d2eeb2556e98162d1c2671f944deb912f757469cf0316de121a25d16a6e4a
+SIZE (stapler-0.3.3.tar.gz) = 8130
Added: head/print/py-stapler/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-stapler/pkg-descr Sat Aug 12 05:43:46 2017 (r447816)
@@ -0,0 +1,20 @@
+Stapler is a pure Python alternative to PDFtk, a tool for manipulating PDF
+documents from the command line. Like pdftk, stapler is a command-line tool.
+
+With the select command, you can cherry-pick pages from pdfs and concatenate
+them into a new pdf file.
+
+The delete command works almost exactly the same as select, but inverse.
+It uses the pages and ranges which you didn't specify.
+
+The split command splits the specified pdf files into their single pages and
+writes each page into it's own pdf file.
+
+With the zip command, you can cherry-pick pages from pdfs (like select).
+The pages from each pdf are merged together in an interleaving manner.
+This can be used to collate a pdf with odd pages and a pdf with even pages
+into a single file.
+
+The info command shows information on the metadata stored inside a PDF file.
+
+WWW: https://github.com/hellerbarde/stapler
More information about the svn-ports-head
mailing list