1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/devel/py-doit/Makefile
Kubilay Kocak 560794eb17 devel/py-doit: Update to 0.29.0
- Update PORTVERSION and distinfo checksum (0.29.0)
- Update COMMENT (more informative version from upstream)
- Add LICENSE_FILE
- Add and update RUN and TEST dependencies
- Update test target
- Enable NO_ARCH (architecture independence)
2016-02-21 14:59:53 +00:00

36 lines
870 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= doit
PORTVERSION= 0.29.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Task management & automation tool
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
${PYTHON_PKGNAMEPREFIX}cloudpickle>0:${PORTSDIR}/devel/py-cloudpickle
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>0:${PORTSDIR}/devel/py-configparser
.endif
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.post.mk>