summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2016-01-09 16:23:30 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2016-01-09 16:23:30 +0000
commit3f0d18e00a46a3c674c02c5a7452d46b4b270408 (patch)
treeef589b47f5785ee0cf1ef3f33d3afbe3f9d7de7f /devel
parentRemove deprecated @dirrm (diff)
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
Notes
Notes: svn path=/head/; revision=405642
Diffstat (limited to 'devel')
-rw-r--r--devel/py-lockfile/Makefile11
-rw-r--r--devel/py-lockfile/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/py-lockfile/Makefile b/devel/py-lockfile/Makefile
index 701ad6a4b441..f7b4224f86bf 100644
--- a/devel/py-lockfile/Makefile
+++ b/devel/py-lockfile/Makefile
@@ -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>
diff --git a/devel/py-lockfile/distinfo b/devel/py-lockfile/distinfo
index 7f83aafe2790..641b0674d704 100644
--- a/devel/py-lockfile/distinfo
+++ b/devel/py-lockfile/distinfo
@@ -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