freebsd-ports/devel/py-buildbot-worker/Makefile
Kubilay Kocak f56573fb26 devel/py-buildbot*: Update to 2.7.0
devel/py-buildbot:

  - Remove setup.py patch (upstreamed)
  - Update test target (setup.py test is going away :|)

Changelog:

  https://docs.buildbot.net/current/relnotes/index.html#buildbot-2-7-0-2020-02-27

PR:	244219
2020-03-23 05:12:42 +00:00

37 lines
995 B
Makefile

# Created by: Frederic Praca <frederic.praca@freebsd-fr.org>
# $FreeBSD$
PORTNAME= buildbot-worker
PORTVERSION= 2.7.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Buildbot Worker Daemon
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=17.9.0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_RC_SUBR= buildbot-worker
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} PYTHON_VER=${PYTHON_VER}
NO_ARCH= yes
PLIST_FILES= man/man1/buildbot-worker.1.gz
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/buildbot-worker.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-test:
${MKDIR} ${WRKDIR}/tmp
cd ${WRKDIR}/tmp && PYTHONPATH=${WRKSRC} ${PYTHON_CMD} -m twisted.trial buildbot_worker.test
.include <bsd.port.mk>