From owner-svn-ports-all@freebsd.org Sat Jul 30 10:57:15 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7020BA71AF; Sat, 30 Jul 2016 10:57:15 +0000 (UTC) (envelope-from koobs@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 mx1.freebsd.org (Postfix) with ESMTPS id 94E551D27; Sat, 30 Jul 2016 10:57:15 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6UAvEwK080750; Sat, 30 Jul 2016 10:57:14 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6UAvEBh080749; Sat, 30 Jul 2016 10:57:14 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201607301057.u6UAvEBh080749@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 30 Jul 2016 10:57:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r419307 - in branches/2016Q3/deskutils/gcalcli: . files X-SVN-Group: ports-branches 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.22 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: Sat, 30 Jul 2016 10:57:15 -0000 Author: koobs Date: Sat Jul 30 10:57:14 2016 New Revision: 419307 URL: https://svnweb.freebsd.org/changeset/ports/419307 Log: MFH: r419306: deskutils/gcalcli: Fix for oauth2client > 1.4.12 gcalcli requires a dependency on oauth2client <= 1.4.12 to work correctly, as higher versions replaced the run() method with run_flow(). The version of oauth2client in ports is 2.2.0 at the time of writing. Fixes for the issue [1][2][3] have been submitted upstream in multiple cases, although upstream has closed them as duplicates of a refactor issue [4] that is yet to be committed/resolved. This commit commits the proposed change in issue #229 [2]. While I'm here: * Explicitly specify (and limit) supported Python versions to -2.x * Add python to CATEGORIES * Group, re-order and sort USE{s}, NO_* and files/plist sections * Capitalize OPTIONS descriptions [1] https://github.com/insanum/gcalcli/pull/211 [2] https://github.com/insanum/gcalcli/issues/229 [3] https://github.com/insanum/gcalcli/issues/244 [4] https://github.com/insanum/gcalcli/issues/165 PR: 206045 Submitted by: Lawrence Chen Approved by: portmgr (maintainer timeout, 6+ months) Approved by: ports-secteam (blanket) Added: branches/2016Q3/deskutils/gcalcli/files/ - copied from r419306, head/deskutils/gcalcli/files/ Modified: branches/2016Q3/deskutils/gcalcli/Makefile Directory Properties: branches/2016Q3/ (props changed) Modified: branches/2016Q3/deskutils/gcalcli/Makefile ============================================================================== --- branches/2016Q3/deskutils/gcalcli/Makefile Sat Jul 30 10:51:46 2016 (r419306) +++ branches/2016Q3/deskutils/gcalcli/Makefile Sat Jul 30 10:57:14 2016 (r419307) @@ -4,7 +4,8 @@ PORTNAME= gcalcli PORTVERSION= 3.2 DISTVERSIONPREFIX= v -CATEGORIES= deskutils +PORTREVISION= 1 +CATEGORIES= deskutils python MAINTAINER= ports@thelanman.net COMMENT= Google Calendar Command Line Interface @@ -17,29 +18,28 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}date ${PYTHON_SITELIBDIR}/apiclient/__init__.py:www/py-google-api-python-client \ ${PYTHON_SITELIBDIR}/httplib2/__init__.py:www/py-httplib2 +USES= python:-2.7 USE_GITHUB= yes -GH_ACCOUNT= insanum - -USES= python - -NO_BUILD= yes -NO_ARCH= yes - -PORTDOCS= README.md gcalcli_?.png -PLIST_FILES= bin/gcalcli +GH_ACCOUNT= insanum OPTIONS_DEFINE= DOCS FUZZYDATES ICS_VCAL SIMPLEJSON OPTIONS_DEFAULT= ICS_VCAL -ICS_VCAL_DESC= enable importing of ics/vcal files -SIMPLEJSON_DESC= use simplejson for url shortening -FUZZYDATES_DESC= use parsedatetime for fuzzy date parsing +ICS_VCAL_DESC= Enable importing of ics/vcal files +SIMPLEJSON_DESC= Use simplejson for url shortening +FUZZYDATES_DESC= Use parsedatetime for fuzzy date parsing ICS_VCAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:deskutils/py-vobject SIMPLEJSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson FUZZYDATES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parsedatetime>=0:devel/py-parsedatetime +NO_BUILD= yes +NO_ARCH= yes + +PORTDOCS= README.md gcalcli_?.png +PLIST_FILES= bin/gcalcli + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin