svn commit: r563749 - head/print/cups-cloud-print

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Feb 1 19:47:21 UTC 2021


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>


More information about the svn-ports-all mailing list