Package Details: python-pypdf2 2:3.0.1-1

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://pypi.org/project/PyPDF2
Licenses: BSD
Submitter: arojas
Maintainer: fryfrog (bulletmark)
Last Packager: fryfrog
Votes: 32
Popularity: 0.062204
First Submitted: 2019-07-30 05:58 (UTC)
Last Updated: 2024-09-22 16:37 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

bulletmark commented on 2022-10-11 01:05 (UTC)

@loathingkernel, this builds fine using yay, paru, makepkg etc, and also in a clean chroot. You are building it in an extra-ordinary way (which you neglected to mention in your original post here) so either please provide the exact commands + procedure you are using, or preferably, please debug this a little yourself and work out if it is a bug in paru etc.

loathingkernel commented on 2022-10-11 00:28 (UTC)

@bulletmark It's built through paru on a clean chroot. Building through makechrootpkg succeeds.

bulletmark commented on 2022-10-10 22:19 (UTC) (edited on 2022-10-10 22:26 (UTC) by bulletmark)

@loathingkernel, I don't see why that would be happening. What system are you on and is it fully up to date? How are you building this (AUR helper?, makepkg?), and clean everything out of that directory except the LATEST PKGBUILD and try again.

loathingkernel commented on 2022-10-10 12:22 (UTC) (edited on 2022-10-10 12:24 (UTC) by loathingkernel)

there is an issue with the directory naming

==> Starting build()...
/startdir/PKGBUILD: line 20: cd: PyPDF2-2.11.1: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...

bulletmark commented on 2022-10-09 23:02 (UTC)

@ouuan, oops sorry about that. Fixed now with 2.11.1-2.

ouuan commented on 2022-10-09 15:15 (UTC)

I got the error ModuleNotFoundError: No module named 'setuptools' when building on a clean environment with the latest PKGBUILD. I think python-setuptools is still a required make dependency.

freswa commented on 2022-07-17 18:13 (UTC)

Any chance for an update? pdfposter-0.8 depends on pypdf2 >= 2

HHL commented on 2022-06-04 17:13 (UTC) (edited on 2022-06-07 15:40 (UTC) by HHL)

The issue below has been resolved upstream in version 2.1.0 as of 22-06-06 and should fix the package once the PKGBUILD is updated to that version.


I am using pyenv [1] via oh-my-zsh [2] on my system. I cannot install this package as-is, due to the error

pyenv: version `3.6.15' is not installed (set by /home/HHL/.cache/paru/clone/python-pypdf2/src/PyPDF2-1.27.12/.python-version)

Of course I could circumvent the problem by installing the version or disabling pyenv, however my opinion is this should either not make it into the source or be removed from the package by the build process (i.e. PKGBUILD).

[1] https://github.com/pyenv/pyenv

[2] https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/pyenv

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...