freebsd-ports/www/py-pywebview-qt/Makefile
Jesús Daniel Colmenares Oviedo 283eb43e76
www/py-pywebview-qt: New port: Build GUI for your Python program with JavaScript, HTML, and CSS (qt)
pywebview is a lightweight cross-platform wrapper around a webview
component that allows to display HTML content in its own native GUI
window. It gives you the power of web technologies in your desktop
application, hiding the fact that the GUI is browser based. Available
for Windows, macOS, Linux and Android. You can use pywebview either
with a 3rd party web framework or on its own with a two way bridge
between Python and DOM.

WWW: https://github.com/r0x0r/pywebview
PR:		282459
2024-11-07 18:26:22 -08:00

32 lines
1.1 KiB
Makefile

PORTNAME= pywebview
DISTVERSION= 5.3.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= -qt
MAINTAINER= DtxdF@disroot.org
COMMENT= Build GUI for your Python program with JavaScript, HTML, and CSS (qt)
WWW= https://github.com/r0x0r/pywebview
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>=0:www/py-bottle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}proxy_tools>=0:www/py-proxy_tools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyside2>=0:devel/pyside2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}QtPy>=0:devel/py-QtPy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
USES= pyqt:5 python
USE_PYQT= webengine:run
USE_PYTHON= autoplist cryptography pep517
CONFLICTS_INSTALL= www/py-${PORTNAME}-gtk
NO_ARCH= yes
.include <bsd.port.mk>