graphics/py-qpageview: New port: Page-based viewer widget for Qt5/PyQt5

- author becomes maintainer

qpageview provides a page based document viewer widget for Qt5/PyQt5.

It has a flexible architecture potentionally supporting many formats.
Currently, it supports SVG documents, images, and, using the
Poppler-Qt5 binding, PDF documents.

https://qpageview.org/

PR:		264987
This commit is contained in:
Martin Neubauer 2022-07-03 20:05:23 +01:00 committed by Nuno Teixeira
parent a7d025a598
commit c0026dd4b8
4 changed files with 40 additions and 0 deletions

View file

@ -909,6 +909,7 @@
SUBDIR += py-pyvips
SUBDIR += py-pyvista
SUBDIR += py-pyx
SUBDIR += py-qpageview
SUBDIR += py-qrencode
SUBDIR += py-railroad-diagrams
SUBDIR += py-rasterio

View file

@ -0,0 +1,29 @@
PORTNAME= qpageview
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.2
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= m.ne@gmx.net
COMMENT= Page-based viewer widget for Qt5/PyQt5
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-poppler-qt5>=0:graphics/py-python-poppler-qt5@${PY_FLAVOR}
USES= pyqt:5 python:3.6+ qt:5
USE_GITHUB= yes
GH_ACCOUNT= frescobaldi
USE_PYQT= pyqt5
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= CUPS
CUPS_DESC= Use print/py-pycups for printing
CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups@${PY_FLAVOR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1653158600
SHA256 (frescobaldi-qpageview-v0.6.2_GH0.tar.gz) = 5ac3140396f11b15d6438ce34d5ce77f8b7e76f7dcd4c0439c85740d9e5d3674
SIZE (frescobaldi-qpageview-v0.6.2_GH0.tar.gz) = 159098

View file

@ -0,0 +1,7 @@
qpageview provides a page based document viewer widget for Qt5/PyQt5.
It has a flexible architecture potentionally supporting many formats.
Currently, it supports SVG documents, images, and, using the
Poppler-Qt5 binding, PDF documents.
WWW: https://qpageview.org/