Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 01:59:56 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536873 - head/print/cloudprint
Message-ID:  <202005290159.04T1xuf6041377@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May 29 01:59:55 2020
New Revision: 536873
URL: https://svnweb.freebsd.org/changeset/ports/536873

Log:
  Update RUN_DEPENDS for py-pycups 2.0.1 update
  
  - Bump PORTREVISION for dependency change

Modified:
  head/print/cloudprint/Makefile

Modified: head/print/cloudprint/Makefile
==============================================================================
--- head/print/cloudprint/Makefile	Fri May 29 01:59:51 2020	(r536872)
+++ head/print/cloudprint/Makefile	Fri May 29 01:59:55 2020	(r536873)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cloudprint
 PORTVERSION=	0.14.0.20170128
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 
 MAINTAINER=	decke@FreeBSD.org
@@ -11,8 +11,7 @@ COMMENT=	Google Cloud Print proxy for local CUPS print
 
 LICENSE=	GPLv3
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}daemon>0:devel/py-daemon@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR}
 
@@ -32,4 +31,12 @@ SUB_LIST+=	PYTHON_CMD="${PYTHON_CMD}" \
 		CPUSER="${USERS}" \
 		CPGROUP="${GROUPS}"
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pycups1>=0:print/py-pycups1@${PY_FLAVOR}
+.else
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005290159.04T1xuf6041377>