Date: Mon, 1 Feb 2021 19:47:15 +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: r563749 - head/print/cups-cloud-print Message-ID: <202102011947.111JlFuc039221@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Feb 1 19:47:15 2021 New Revision: 563749 URL: https://svnweb.freebsd.org/changeset/ports/563749 Log: Remove python 2.7 support Modified: head/print/cups-cloud-print/Makefile Modified: head/print/cups-cloud-print/Makefile ============================================================================== --- head/print/cups-cloud-print/Makefile Mon Feb 1 19:47:09 2021 (r563748) +++ head/print/cups-cloud-print/Makefile Mon Feb 1 19:47:15 2021 (r563749) @@ -14,13 +14,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cups-config:print/cups RUN_DEPENDS= cancel:print/cups \ bash:shells/bash \ - ${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= simoncadman GH_PROJECT= CUPS-Cloud-Print -USES= gmake python shebangfix +USES= gmake python:3.6+ shebangfix SHEBANG_FILES= testing/*.sh GNU_CONFIGURE= yes MAKE_ARGS= NOPERMS=1 @@ -32,14 +33,6 @@ 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|^|#| ; \ @@ -49,4 +42,4 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102011947.111JlFuc039221>