From: Jeremy Lainé Description: Use PyPDF2 instead of pyPdf Debian now ships PyPDF2 instead of the original pyPdf, see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749321 This patch allows pdfshuffler to use either pyPdf or PyPDF2. --- a/pdfshuffler/pdfshuffler.py 2012-04-28 16:15:17.000000000 +0200 +++ b/pdfshuffler/pdfshuffler.py 2014-09-27 14:12:20.868185865 +0200 @@ -71,7 +71,10 @@ import cairo import poppler #for the rendering of pdf pages -from pyPdf import PdfFileWriter, PdfFileReader +try: + from pyPdf import PdfFileWriter, PdfFileReader +except ImportError: + from PyPDF2 import PdfFileWriter, PdfFileReader from pdfshuffler_iconview import CellRendererImage gobject.type_register(CellRendererImage)