openbsd-ports/devel/py-buildbot/Makefile
landry 0d153574f7 Upgrade to py-buildbot 0.8.5, from MAINTAINER Piotr Sikora, in my tree
since september... be sure to run 'buildbot upgrade-master' if upgrading
an existing setup, as explained in README.
Tested by edd@ and myself.
2012-01-09 19:56:54 +00:00

60 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2012/01/09 19:56:54 landry Exp $
COMMENT = system to automate the compile/test cycle
MODPY_EGG_VERSION = 0.8.5
DISTNAME = buildbot-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/p/./}
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
MODPY_BADEGGS = buildbot
RUN_DEPENDS = databases/py-sqlalchemy \
databases/py-sqlalchemy-migrate \
devel/py-twisted/core \
devel/py-twisted/conch \
devel/py-twisted/mail \
devel/py-twisted/web \
devel/py-twisted/words \
www/py-jinja2 \
${MODPY_JSON}
REGRESS_DEPENDS = ${RUN_DEPENDS} \
devel/py-mock
HOMEDIR = /var/buildbot
SUBST_VARS += HOMEDIR
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-buildbot
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-buildbot
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-buildbot
${INSTALL_DATA} ${WRKSRC}/docs/examples/*.cfg \
${PREFIX}/share/examples/py-buildbot
cd ${WRKSRC} && pax -rw contrib ${PREFIX}/share/doc/py-buildbot
${INSTALL_MAN} ${WRKSRC}/docs/buildbot.1 ${PREFIX}/man/man1
do-regress:
@${MAKE_ENV} PYTHONPATH=${WRKSRC} \
${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD}/regress \
buildbot.test
.include <bsd.port.mk>