blob: 63c3f0ecd02c4f0d50b0ce848338fe17dc31e1ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= tox
PORTVERSION= 2.3.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Virtualenv-based automation of test activities
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}virtualenv>=1.11.2:devel/py-virtualenv \
${PYTHON_PKGNAMEPREFIX}py>=1.4.17:devel/py-py \
${PYTHON_PKGNAMEPREFIX}pluggy>0:devel/py-pluggy
TEST_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox \
${PYTHON_PKGNAMEPREFIX}pytest>=2.3.5:devel/py-pytest \
${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout
USES?= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.post.mk>
|