Skip to content

Commit

Permalink
deskutils/py-bugwarrior: Update to 1.1.4
Browse files Browse the repository at this point in the history
- 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] GothenburgBitFactory/bugwarrior#221
[2] GothenburgBitFactory/bugwarrior#222
  • Loading branch information
koobs committed Jun 27, 2015
1 parent 118b68d commit 078ec8c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
8 changes: 7 additions & 1 deletion deskutils/py-bugwarrior/Makefile
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= bugwarrior
PORTVERSION= 1.1.3
PORTVERSION= 1.1.4
CATEGORIES= deskutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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>
4 changes: 2 additions & 2 deletions deskutils/py-bugwarrior/distinfo
@@ -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
10 changes: 10 additions & 0 deletions deskutils/py-bugwarrior/files/patch-setup.py
@@ -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

0 comments on commit 078ec8c

Please sign in to comment.