From owner-svn-ports-head@freebsd.org Sat Jan 9 17:39:29 2016 Return-Path: Delivered-To: svn-ports-head@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 83D78A69A8D; Sat, 9 Jan 2016 17:39:29 +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 5934B144B; Sat, 9 Jan 2016 17:39:29 +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 u09HdSKV061940; Sat, 9 Jan 2016 17:39:28 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u09HdSZI061937; Sat, 9 Jan 2016 17:39:28 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201601091739.u09HdSZI061937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 9 Jan 2016 17:39:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405648 - in head/deskutils/py-bugwarrior: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2016 17:39:29 -0000 Author: koobs Date: Sat Jan 9 17:39:28 2016 New Revision: 405648 URL: https://svnweb.freebsd.org/changeset/ports/405648 Log: deskutils/py-bugwarrior: Update to 1.3.0, Add OPTIONS - Update PORTVERSION and distinfo checksum (1.3.0) - Add OPTIONS for Phabricator, Bugzilla, Trac and Jira - Remove unconditional dependencies accordingly - Switch to USES=python:-2.7 (:2 means depend on the python2 symlink) - Update test target, and remove a test that depends on pandoc. - Repatch setup.py to include a few missing tests_require that will be in the next version. Modified: head/deskutils/py-bugwarrior/Makefile head/deskutils/py-bugwarrior/distinfo head/deskutils/py-bugwarrior/files/patch-setup.py Modified: head/deskutils/py-bugwarrior/Makefile ============================================================================== --- head/deskutils/py-bugwarrior/Makefile Sat Jan 9 17:34:18 2016 (r405647) +++ head/deskutils/py-bugwarrior/Makefile Sat Jan 9 17:39:28 2016 (r405648) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= bugwarrior -PORTVERSION= 1.1.4 -PORTREVISION= 1 +PORTVERSION= 1.3.0 CATEGORIES= deskutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,8 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twiggy>0:${PORTSDIR}/devel/py-twiggy \ ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ - ${PYTHON_PKGNAMEPREFIX}offtrac>0:${PORTSDIR}/devel/py-offtrac \ - ${PYTHON_PKGNAMEPREFIX}python-bugzilla>0:${PORTSDIR}/devel/py-python-bugzilla \ ${PYTHON_PKGNAMEPREFIX}taskw>=0.8:${PORTSDIR}/deskutils/py-taskw \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ @@ -33,10 +30,26 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}moc ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose -USES= python:2 +OPTIONS_DEFINE= BUGZILLA JIRA PHABRICATOR +OPTIONS_DEFAULT= BUGZILLA PHABRICATOR + +BUGZILLA_DESC= Enable Bugzilla support +BUGZILLA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-bugzilla>0:${PORTSDIR}/devel/py-python-bugzilla + +JIRA_DESC= Enabla Atlassian Jira support +JIRA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jira>0:${PORTSDIR}/devel/py-jira + +PHABRICATOR_DESC= Enable Phabricator support +PHABRICATOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phabricator>0:${PORTSDIR}/devel/py-phabricator + +TRAC_DESC= Enable Trac support +TRAC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}offtrac>0:${PORTSDIR}/devel/py-offtrac + +USES= python:-2.7 USE_PYTHON= autoplist concurrent distutils -regression-test: build +do-test: + ${RM} ${WRKSRC}/tests/test_activecollab.py # Needs pandoc @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Modified: head/deskutils/py-bugwarrior/distinfo ============================================================================== --- head/deskutils/py-bugwarrior/distinfo Sat Jan 9 17:34:18 2016 (r405647) +++ head/deskutils/py-bugwarrior/distinfo Sat Jan 9 17:39:28 2016 (r405648) @@ -1,2 +1,2 @@ -SHA256 (bugwarrior-1.1.4.tar.gz) = 6bb687d702b1a91cdd13f067928bcf3018f615954132697fcc287f4182dd2acf -SIZE (bugwarrior-1.1.4.tar.gz) = 81566 +SHA256 (bugwarrior-1.3.0.tar.gz) = d4d569be76e58965190208facede67b0c83d12ad2c59e8d23b70ea332fbbf19d +SIZE (bugwarrior-1.3.0.tar.gz) = 85003 Modified: head/deskutils/py-bugwarrior/files/patch-setup.py ============================================================================== --- head/deskutils/py-bugwarrior/files/patch-setup.py Sat Jan 9 17:34:18 2016 (r405647) +++ head/deskutils/py-bugwarrior/files/patch-setup.py Sat Jan 9 17:39:28 2016 (r405648) @@ -1,10 +1,17 @@ ---- setup.py.orig 2015-02-25 17:30:21 UTC +--- setup.py.orig 2016-01-09 17:19:18 UTC +++ setup.py -@@ -52,6 +52,7 @@ setup(name='bugwarrior', +@@ -46,11 +46,13 @@ setup(name='bugwarrior', + "pyxdg", + ], + tests_require=[ +- "Mock", ++ "mock", + "unittest2", + "nose", "jira>=0.22", "megaplan>=1.4", ++ "pypandoc", ++ "pyac", ], -+ test_suite='nose.collector', + test_suite='nose.collector', entry_points=""" - [console_scripts] - bugwarrior-pull = bugwarrior:pull