openbsd-ports/devel/py-buildslave/Makefile
landry 559816c5cc Update to buildslave 0.8.6p1
ok sthen@ Piotr Sikora(Maintainer)
2012-04-14 09:55:09 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2012/04/14 09:55:09 landry Exp $
COMMENT= buildslave implementation for the buildot system
MODPY_EGG_VERSION= 0.8.6p1
DISTNAME= buildbot-slave-${MODPY_EGG_VERSION}
PKGNAME= py-buildslave-${MODPY_EGG_VERSION:S/p1/pl1/}
CATEGORIES= devel
HOMEPAGE= http://buildbot.net/
MAINTAINER= Piotr Sikora <piotr.sikora@frickle.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES = http://buildbot.googlecode.com/files/
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
RUN_DEPENDS= devel/py-twisted/core
REGRESS_DEPENDS= ${RUN_DEPENDS} \
devel/py-mock
HOMEDIR = /var/buildslave
SUBST_VARS += HOMEDIR
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-buildslave
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-buildslave
${INSTALL_MAN} ${WRKSRC}/docs/buildslave.1 ${PREFIX}/man/man1
do-regress:
@${MAKE_ENV} PYTHONPATH=${WRKSRC} \
${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD}/regress \
buildslave.test
.include <bsd.port.mk>