Files
gentoo/dev-python/qpageview/qpageview-1.0.4-r1.ebuild
Ionen Wolkens cabdcdb638 dev-python/qpageview: pyqt6[pdfium] -> pyqt6-pdf
pyqt6-6.12.0 has moved QtPdf bindings (USE=pdfium) to its own package
due to the qtwebengine versioning changes (aka, now pyqt6-pdf-6.140.0).

pyqt6-pdf-6.11.0 exists as a transitional package to avoid the need
for a temporary || ( pyqt6-pdf pyqt6[pdfium(-)] ) in revdeps.

Could be wrong but, as far as I can tell, QtPdfWidgets is unused so
there should be no need to check for pyqt6-pdf[widgets].

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2026-11-03 05:44:26 -05:00

31 lines
677 B
Bash

# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/frescobaldi/qpageview
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 optfeature pypi
DESCRIPTION="Page-based viewer widget for Qt6/PyQt5"
HOMEPAGE="
https://qpageview.org/
https://github.com/frescobaldi/qpageview/
https://pypi.org/project/qpageview/
"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
dev-python/pyqt6[gui,printsupport,svg,widgets,${PYTHON_USEDEP}]
dev-python/pyqt6-pdf[${PYTHON_USEDEP}]
"
pkg_postinst() {
optfeature "printing support" dev-python/pycups
}