aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-robotframework-pabot/Makefile
blob: 8a0b7dcc7e52d0d4b2f23db57fd1880dfb27c7d1 (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
# Created by: Vladimir Chukharev
# $FreeBSD$

PORTNAME=   robotframework-pabot
PORTVERSION=    0.88
CATEGORIES= devel www python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= Vladimir.Chukharev@gmail.com
COMMENT=    Parallel executor for Robot Framework test cases

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}robotframework>=2.7.5:devel/py-robotframework@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}robotremoteserver>=1.0.1:devel/py-robotremoteserver@${PY_FLAVOR} \
        ${PY_TYPING}

TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}

USES=       python
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= mkorpela
GH_PROJECT= pabot

NO_ARCH=    yes

do-test:
    @cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m nose -v tests

.include <bsd.port.mk>