blob: 6e8fcf632c7ef112838469e4b3cc394cedd2d376 (
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
|
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 optfeature
DESCRIPTION="Page-based viewer widget for Qt5/PyQt5"
HOMEPAGE="https://qpageview.org/"
SRC_URI="https://github.com/frescobaldi/qpageview/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
# GPL-2+ added here because of https://github.com/frescobaldi/qpageview/issues/15
# Should be GPL-3+ once cleared up
LICENSE="GPL-2+ GPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="
dev-python/PyQt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}]
dev-python/python-poppler-qt5[${PYTHON_USEDEP}]
"
pkg_postinst() {
optfeature "Printing support" dev-python/pycups
}
|