Package Details: python-pypdf2 1:2.12.1-3

Git Clone URL: https://aur.archlinux.org/python-pypdf2.git (read-only, click to copy)
Package Base: python-pypdf2
Description: Python library for manipulating pages of PDF files (legacy v2)
Upstream URL: https://github.com/py-pdf/PyPDF2
Licenses: BSD
Submitter: arojas
Maintainer: sadid
Last Packager: bulletmark
Votes: 31
Popularity: 0.146253
First Submitted: 2019-07-30 05:58 (UTC)
Last Updated: 2023-01-20 07:13 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

sadid commented on 2022-05-09 05:52 (UTC)

This package build will update it since the main github remove has been renamed:

# Maintainer: Yuanji <self@gimo.me>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Francois Boulogne <fboulogne at april dot org>

pkgname=python-pypdf2
pkgver=1.27.12
pkgrel=1
pkgdesc='A utility to read and write PDFs with Python'
arch=(any)
url='https://github.com/py-pdf/PyPDF2'
license=(BSD)
depends=(python)
makedepends=(python-setuptools)
source=($pkgname-$pkgver.tar.gz::"https://github.com/py-pdf/PyPDF2/archive/$pkgver.tar.gz")
sha256sums=('2f953639cc0c2722aac61411c4ba4f03116825946c13cc9d01500a183862632c')

build() {
  cd PyPDF2-$pkgver
  python setup.py build
}

package(){
  cd PyPDF2-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
  install -D -m755 Scripts/pdfcat "$pkgdir"/usr/bin/pdfcat
  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

cmcc commented on 2022-05-02 16:49 (UTC)

Is it there any chance to see this package updated? It has been flagged out-of-date since many days now...

bulletmark commented on 2020-12-02 22:35 (UTC)

@C0rn3j, that is unnecessary and doesn't solve the problem for the many users who don't use Arch (Manjaro, Arch ARM, etc). AUR users should know that after a major Python update type: yay -S --rebuildall --noconfirm $(yay -Qqo /usr/lib/python3.8/).

C0rn3j commented on 2020-12-02 08:28 (UTC)

Please bump up the pkgrel so the package rebuilds for Python 3.9.

bulletmark commented on 2019-12-10 08:03 (UTC)

Works superbly. Thanks very much for the very fast response!

yuanji commented on 2019-12-10 07:24 (UTC)

hello @bulletmark

I have added the pdfcat script to /usr/bin, you can rebuild the package and have a try.

bulletmark commented on 2019-12-10 06:36 (UTC)

pdftk has bitrotted away and does not work for me anymore so I have been looking for an alternative. This library includes a very handy program pdfcat (in Scripts/) which does 90% of what users do with pdftk, i.e. catting and splitting multiple PDF files. Can you please consider adding a line to PKGBUILD to install that script in /usr/bin/?