freebsd-ports/devel/py-lockfile/Makefile
Kubilay Kocak 3f0d18e00a 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
2016-01-09 16:23:30 +00:00

27 lines
593 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= lockfile
PORTVERSION= 0.12.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Platform-independent file locking module
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
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>