Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 16:23:30 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405642 - head/devel/py-lockfile
Message-ID:  <201601091623.u09GNUhn038121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Jan  9 16:23:30 2016
New Revision: 405642
URL: https://svnweb.freebsd.org/changeset/ports/405642

Log:
  devel/py-lockfile: Update to 0.12.2
  
  - Update PORTVERSION and distinfo checksum (0.12.2)
  - Update BUILD_DEPENDS to match minimum version (per setup.py)
  - Add TEST_DEPENDS and test target
  - Add LICENSE_FILE
  - Add NO_ARCH
  
  This update fixes an issue testing deskutils/py-bugwarrior, which
  depends on py-mock and py-lockfile, that both depend on different
  incompatible versions of devel/py-pbr [1]
  
  [1] https://bugs.launchpad.net/pylockfile/+bug/1506679/comments/3
  
  Reviewed by:		miwi
  Approved by:		wg (maintainer, on holidays)
  Differential Revision:	D4842

Modified:
  head/devel/py-lockfile/Makefile
  head/devel/py-lockfile/distinfo

Modified: head/devel/py-lockfile/Makefile
==============================================================================
--- head/devel/py-lockfile/Makefile	Sat Jan  9 15:55:19 2016	(r405641)
+++ head/devel/py-lockfile/Makefile	Sat Jan  9 16:23:30 2016	(r405642)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	lockfile
-PORTVERSION=	0.11.0
+PORTVERSION=	0.12.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,17 @@ MAINTAINER=	wg@FreeBSD.org
 COMMENT=	Platform-independent file locking module
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>0:${PORTSDIR}/devel/py-pbr
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.8:${PORTSDIR}/devel/py-pbr
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
+
 .include <bsd.port.mk>

Modified: head/devel/py-lockfile/distinfo
==============================================================================
--- head/devel/py-lockfile/distinfo	Sat Jan  9 15:55:19 2016	(r405641)
+++ head/devel/py-lockfile/distinfo	Sat Jan  9 16:23:30 2016	(r405642)
@@ -1,2 +1,2 @@
-SHA256 (lockfile-0.11.0.tar.gz) = eed7e0c829135aaaf2a9df83652bc6e2cc50175d933741c25aac0394674e7fd3
-SIZE (lockfile-0.11.0.tar.gz) = 20909
+SHA256 (lockfile-0.12.2.tar.gz) = 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799
+SIZE (lockfile-0.12.2.tar.gz) = 20874



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601091623.u09GNUhn038121>