deskutils/py-bugwarrior: Update to 1.1.4

- Update to 1.1.4
- Add TEST_DEPENDS and regression-test target now that tests are
  included in the PyPI sdist [1] Thanks Ralph!
- Patch setup.py to enable test command until PR #222 [2] is in
  release.

Changes:

  https://github.com/ralphbean/bugwarrior/blob/1.1.4/CHANGELOG.rst

[1] https://github.com/ralphbean/bugwarrior/pull/221
[2] https://github.com/ralphbean/bugwarrior/pull/222
This commit is contained in:
Kubilay Kocak
2015-06-27 01:46:27 +00:00
parent 118b68da5e
commit 078ec8c3fd
3 changed files with 19 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bugwarrior
PORTVERSION= 1.1.3
PORTVERSION= 1.1.4
CATEGORIES= deskutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -28,8 +28,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twiggy>0:${PORTSDIR}/devel/py-twiggy \
${PYTHON_PKGNAMEPREFIX}lockfile>=0.9.1:${PORTSDIR}/devel/py-lockfile \
${PYTHON_PKGNAMEPREFIX}click>0:${PORTSDIR}/devel/py-click \
${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
USES= python:2
USE_PYTHON= autoplist concurrent distutils
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@@ -1,2 +1,2 @@
SHA256 (bugwarrior-1.1.3.tar.gz) = a92d1785fc7975c8beb7e3426e839fb771d29c80b186670ea365ecffa0fcee64
SIZE (bugwarrior-1.1.3.tar.gz) = 62439
SHA256 (bugwarrior-1.1.4.tar.gz) = 6bb687d702b1a91cdd13f067928bcf3018f615954132697fcc287f4182dd2acf
SIZE (bugwarrior-1.1.4.tar.gz) = 81566

View File

@@ -0,0 +1,10 @@
--- setup.py.orig 2015-02-25 17:30:21 UTC
+++ setup.py
@@ -52,6 +52,7 @@ setup(name='bugwarrior',
"jira>=0.22",
"megaplan>=1.4",
],
+ test_suite='nose.collector',
entry_points="""
[console_scripts]
bugwarrior-pull = bugwarrior:pull