svn commit: r390687 - in head/deskutils/py-bugwarrior: . files

Kubilay Kocak koobs at FreeBSD.org
Sat Jun 27 01:46:29 UTC 2015


Author: koobs
Date: Sat Jun 27 01:46:27 2015
New Revision: 390687
URL: https://svnweb.freebsd.org/changeset/ports/390687

Log:
  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

Added:
  head/deskutils/py-bugwarrior/files/
  head/deskutils/py-bugwarrior/files/patch-setup.py   (contents, props changed)
Modified:
  head/deskutils/py-bugwarrior/Makefile
  head/deskutils/py-bugwarrior/distinfo

Modified: head/deskutils/py-bugwarrior/Makefile
==============================================================================
--- head/deskutils/py-bugwarrior/Makefile	Sat Jun 27 01:37:38 2015	(r390686)
+++ head/deskutils/py-bugwarrior/Makefile	Sat Jun 27 01:46:27 2015	(r390687)
@@ -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}twig
 		${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>

Modified: head/deskutils/py-bugwarrior/distinfo
==============================================================================
--- head/deskutils/py-bugwarrior/distinfo	Sat Jun 27 01:37:38 2015	(r390686)
+++ head/deskutils/py-bugwarrior/distinfo	Sat Jun 27 01:46:27 2015	(r390687)
@@ -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

Added: head/deskutils/py-bugwarrior/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-bugwarrior/files/patch-setup.py	Sat Jun 27 01:46:27 2015	(r390687)
@@ -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


More information about the svn-ports-all mailing list