svn commit: r405648 - in head/deskutils/py-bugwarrior: . files
Kubilay Kocak
koobs at FreeBSD.org
Sat Jan 9 17:39:29 UTC 2016
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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list