If the global PYTHON_TARGETS does not contain python2_7, installing app-text/pdfshuffler will not require Python 2.7 support in its dev-python/* dependencies, because it does not use PYTHON_USEDEP. If dev-python/PyPDF2 is installed but was not built without Python 2.7 support, app-text/pdfshuffler can be successfully installed, but attempting to launch it fails with the error message "Neither PyPDF2 nor pyPdf found".
Created attachment 536102 [details, diff] update app-text/pdfshuffler to use PYTHON_USEDEP
python2-7 only, last release in 2012 and no maintainer, I'm wondering if this rather isn't treecleaning material.
The upstream doesn't seem completely dead. It appears that development has moved to http://svn.savannah.gnu.org/viewvc/pdfshuffler/. The code was ported to Python 3 in the last year, though there still hasn't been a new release and the last activity was about ten months ago. There is also a fork which seems to be reasonably active: https://github.com/jeromerobert/pdfarranger. It is available in Jorgicio's overlay: https://github.com/jorgicio/jorgicio-gentoo-overlay/tree/master/app-text/pdfarranger. The only other alternative I've been able to find is pdfslicer (https://github.com/junrrein/pdfslicer), but it seems to be primarily targeting FlatPak for distribution - the only distro I've found that packages it is Arch: https://aur.archlinux.org/packages/pdfslicer.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ecf64c5c8bddf16ce1878da19857617d6ba169 commit 12ecf64c5c8bddf16ce1878da19857617d6ba169 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-12-01 20:09:45 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-12-01 20:19:37 +0000 package.mask: Last rite app-text/pdfshuffler Bug: https://bugs.gentoo.org/658302 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c00371747dc56f521f87460e57ced68e08d87c3 commit 0c00371747dc56f521f87460e57ced68e08d87c3 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2020-01-05 03:14:57 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2020-01-05 03:14:57 +0000 app-text/pdfshuffler: drop last-rited pkg Closes: https://bugs.gentoo.org/658302 Signed-off-by: Aaron Bauman <bman@gentoo.org> app-text/pdfshuffler/Manifest | 1 - .../pdfshuffler/files/pdfshuffler-PyPDF2.patch | 18 ---------------- app-text/pdfshuffler/metadata.xml | 8 -------- app-text/pdfshuffler/pdfshuffler-0.6.0-r1.ebuild | 24 ---------------------- 4 files changed, 51 deletions(-)