Date: Fri, 29 May 2020 02:00:01 +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: r536874 - head/print/cups-cloud-print Message-ID: <202005290200.04T2019g041559@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri May 29 02:00:00 2020 New Revision: 536874 URL: https://svnweb.freebsd.org/changeset/ports/536874 Log: Update RUN_DEPENDS for py-pycups 2.0.1 update - Bump PORTREVISION for dependency change Modified: head/print/cups-cloud-print/Makefile Modified: head/print/cups-cloud-print/Makefile ============================================================================== --- head/print/cups-cloud-print/Makefile Fri May 29 01:59:55 2020 (r536873) +++ head/print/cups-cloud-print/Makefile Fri May 29 02:00:00 2020 (r536874) @@ -2,6 +2,7 @@ PORTNAME= cups-cloud-print PORTVERSION= 20160502 +PORTREVISION= 1 CATEGORIES= print MAINTAINER= ports@FreeBSD.org @@ -13,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cups-config:print/cups RUN_DEPENDS= cancel:print/cups \ bash:shells/bash \ - ${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR} USE_GITHUB= yes @@ -32,6 +32,14 @@ DOCSDIR= ${PREFIX}/share/doc/cloudprint-cups OPTIONS_DEFINE= DOCS +.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 + post-patch: @${REINPLACE_CMD} -e \ '/README.md/s|^|#| ; \ @@ -41,4 +49,4 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005290200.04T2019g041559>