summaryrefslogtreecommitdiff
path: root/dev-python/qpageview/qpageview-1.0.2.ebuild
blob: b44c6da19372e4421aa5195d58fb8304b336c850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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 Qt5/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,pdfium,printsupport,svg,widgets,${PYTHON_USEDEP}]
"

pkg_postinst() {
	optfeature "printing support" dev-python/pycups
}