From owner-svn-ports-all@freebsd.org Mon Feb 1 19:47:19 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 68282534F01; Mon, 1 Feb 2021 19:47:19 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DTz465Vzpz4pmH; Mon, 1 Feb 2021 19:47:17 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 93FE720EFB; Mon, 1 Feb 2021 19:47:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 111JlF4Q039222; Mon, 1 Feb 2021 19:47:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 111JlFuc039221; Mon, 1 Feb 2021 19:47:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202102011947.111JlFuc039221@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 1 Feb 2021 19:47:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r563749 - head/print/cups-cloud-print X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/print/cups-cloud-print X-SVN-Commit-Revision: 563749 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2021 19:47:21 -0000 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 - -.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 +.include