# Created by: Frederic Praca # $FreeBSD$ PORTNAME= buildbot-slave PORTVERSION= 0.8.7p1 CATEGORIES= devel python MASTER_SITES= GOOGLE_CODE MAINTAINER= koobs@FreeBSD.org COMMENT= Slave part of Buildbot, an continuous integration system LICENSE= GPLv2 TEST_DEPENDS:= ${RUN_DEPENDS} \ trial:${PORTSDIR}/devel/py-twistedCore \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock PROJECTHOST= buildbot USE_PYTHON= yes USE_PYDISTUTILS= easy_install USE_TWISTED_RUN= runner MAKE_ENV+= NO_INSTALL_REQS=1 OPTIONS_DEFINE= TESTS TESTS_DESC= Install py-mock for unit tests # Ports infrastructure bug OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options .include .if ${PORT_OPTIONS:MTESTS} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif MAN1= buildslave.1 post-install: ${INSTALL_MAN} ${WRKSRC}/docs/buildslave.1 ${MANPREFIX}/man/man1 regression-test: @cd ${WRKSRC} && trial buildslave.test .include