From 5456083bd1ce5d762fd76c0dbce04dd697846a4c Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Mon, 27 May 2019 15:44:08 +0000 Subject: [PATCH] x11/py-pyvirtualdisplay: Update to 0.2.3 [1] While here, add pyscreenshot dependency and add backend options [2] PR: 238155 [1] PR: 238038 [2] Approved by: Daniel Ylitalo (maintainer) [1] [2] --- x11/py-pyvirtualdisplay/Makefile | 29 +++++++++++++++++++++-------- x11/py-pyvirtualdisplay/distinfo | 6 +++--- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/x11/py-pyvirtualdisplay/Makefile b/x11/py-pyvirtualdisplay/Makefile index 99d496a423c7..b7726b09fac4 100644 --- a/x11/py-pyvirtualdisplay/Makefile +++ b/x11/py-pyvirtualdisplay/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pyvirtualdisplay -PORTVERSION= 0.2.1 +PORTVERSION= 0.2.3 CATEGORIES= x11 python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,16 +13,29 @@ COMMENT= Python wrapper for Xvfb, Xephyr and Xvnc LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= xorg-vfbserver>0:x11-servers/xorg-vfbserver \ - xauth>0:x11/xauth \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cog>=2.3:devel/py-cog@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paver>0:devel/py-paver@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cog>=2.3:devel/py-cog@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyscreenshot>0:x11/py-pyscreenshot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} + xauth>0:x11/xauth + +USES= python +USE_PYTHON= autoplist distutils + +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= XEPHYR XVFB XVNC +OPTIONS_DEFAULT= XVFB +BACKEND_DESC= Virtual Backend To Install +XVFB_DESC= Install Xvfb backend +XEPHYR_DESC= Install Xephyr backend +XVNC_DESC= Install Xvnc backend + +XVFB_RUN_DEPENDS= xorg-vfbserver>0:x11-servers/xorg-vfbserver +XEPHYR_RUN_DEPENDS= xephyr>=0:x11-servers/xephyr +XVNC_RUN_DEPENDS= tightvnc>=0:net/tightvnc NO_ARCH= yes -USE_PYTHON= autoplist distutils -USES= python .include diff --git a/x11/py-pyvirtualdisplay/distinfo b/x11/py-pyvirtualdisplay/distinfo index 86a0c194e683..51028d09cf4c 100644 --- a/x11/py-pyvirtualdisplay/distinfo +++ b/x11/py-pyvirtualdisplay/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1496819271 -SHA256 (PyVirtualDisplay-0.2.1.tar.gz) = 012883851a992f9c53f0dc6a512765a95cf241bdb734af79e6bdfef95c6e9982 -SIZE (PyVirtualDisplay-0.2.1.tar.gz) = 30785 +TIMESTAMP = 1558971109 +SHA256 (PyVirtualDisplay-0.2.3.tar.gz) = 658d03ea2d6727cbe70c30af71e9014d3d39114a3c50bd661b75aad188fdd3aa +SIZE (PyVirtualDisplay-0.2.3.tar.gz) = 32514