GNU bug report logs -
#37356
[PATCH] gnu: Add stapler.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Mon, 9 Sep 2019 15:02:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37356 in the body.
You can then email your comments to 37356 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#37356
; Package
guix-patches
.
(Mon, 09 Sep 2019 15:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 09 Sep 2019 15:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/pdf.scm (stapler): New variable.
---
gnu/packages/pdf.scm | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index d45a78222c..af915422de 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2016, 2017 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2016 Julien Lepiller <julien <at> lepiller.eu>
-;;; Copyright © 2016 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2016, 2019 Arun Isaac <arunisaac <at> systemreboot.net>
;;; Copyright © 2017, 2018 Leo Famulari <leo <at> famulari.name>
;;; Copyright © 2017 Alex Vong <alexvong1995 <at> gmail.com>
;;; Copyright © 2017, 2018 Rene Saavedra <pacoon <at> protonmail.com>
@@ -1116,3 +1116,37 @@ presentation. The input files processed by pdfpc are PDF documents.")
rendering of the file. The rendering is done by creating outline curves
through the Pango @code{ft2} backend.")
(license license:lgpl2.0+))))
+
+(define-public stapler
+ (package
+ (name "stapler")
+ (version "0.3.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hellerbarde/stapler")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "06w7xanzr7cicqik62g7zqs57j4y6fc7hflrc1rlmphxx40hkg6r"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python2-pypdf2" ,python2-pypdf2)))
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-pypdf-version-requirement
+ ;; A PyPDF2 version requirement of 1.25.1 is hard-coded in
+ ;; setup.py. Relax it to work with any version of PyPDF2.
+ (lambda _
+ (substitute* "setup.py"
+ (("PyPDF2==1.25.1") "PyPDF2"))
+ #t)))))
+ (home-page "https://github.com/hellerbarde/stapler")
+ (synopsis "PDF manipulation tool")
+ (description "Stapler is a pure Python alternative to PDFtk, a tool for
+manipulating PDF documents from the command line.")
+ (license license:bsd-3)))
--
2.23.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37356
; Package
guix-patches
.
(Thu, 26 Sep 2019 09:41:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37356 <at> debbugs.gnu.org (full text, mbox):
Hello,
Arun Isaac <arunisaac <at> systemreboot.net> skribis:
> * gnu/packages/pdf.scm (stapler): New variable.
[...]
> + (home-page "https://github.com/hellerbarde/stapler")
> + (synopsis "PDF manipulation tool")
> + (description "Stapler is a pure Python alternative to PDFtk, a tool for
> +manipulating PDF documents from the command line.")
Perhaps add a few words on the kind of PDF manipulations it supports.
Otherwise LGTM, thanks!
Ludo’.
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Sat, 28 Sep 2019 06:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Sat, 28 Sep 2019 06:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 37356-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for the review! I added a complete list of features to the
description and pushed to master.
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 26 Oct 2019 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.