38d657c08d
see https://github.com/buildbot/buildbot/releases/tag/v3.7.0 finally switch py-buildbot to MODPY_PYBUILD=setuptools.
42 lines
922 B
Makefile
42 lines
922 B
Makefile
COMMENT= buildworker for the buildbot CI system
|
|
|
|
MODPY_EGG_VERSION= 3.7.0
|
|
DISTNAME= buildbot-worker-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://buildbot.net/
|
|
|
|
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_PYBUILD = setuptools
|
|
|
|
RUN_DEPENDS= devel/py-twisted${MODPY_FLAVOR}>=17.9.0 \
|
|
devel/py-future${MODPY_FLAVOR} \
|
|
devel/py-txaio${MODPY_FLAVOR} \
|
|
www/py-autobahn${MODPY_FLAVOR} \
|
|
net/py-msgpack${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS= devel/py-setuptools_trial${MODPY_FLAVOR} \
|
|
devel/py-mock${MODPY_FLAVOR}
|
|
|
|
UPDATE_PLIST_ARGS += -i MODPY_PY_PREFIX
|
|
|
|
HOMEDIR = /var/buildslave
|
|
|
|
SUBST_VARS += HOMEDIR
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/buildbot-worker
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/buildbot-worker
|
|
${INSTALL_MAN} ${WRKSRC}/docs/buildbot-worker.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|