1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/buildbot-slave/Makefile
Kubilay Kocak 29e4ac9d48 devel/buildbot-slave: Modernise and enable STAGE support
- Enable STAGE support
- Enable AUTOPLIST support (Delete pkg-plist accordingly)
- Deprecate easy_install target
- Remove OPTIONSFILE override
- Switch MASTER_SITES to CHEESESHOP (Remove PROJECTHOST accordingly)
- Patch out empty directory in setup.py:data_files
- Re-order USE[S] sections
- Tweak COMMENT

Requested by:	bapt
2014-01-28 09:33:51 +00:00

44 lines
934 B
Makefile

# Created by: Frederic Praca <frederic.praca@freebsd-fr.org>
# $FreeBSD$
PORTNAME= buildbot-slave
PORTVERSION= 0.8.8
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
MAINTAINER= koobs@FreeBSD.org
COMMENT= Buildbot Continuous Integration Framework (Slave)
LICENSE= GPLv2
TEST_DEPENDS:= ${RUN_DEPENDS} \
trial:${PORTSDIR}/devel/py-twistedCore \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install py-mock for test suite
USES= twisted:run,runner
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
MAKE_ENV+= NO_INSTALL_REQS=1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS}
.endif
PLIST_FILES= man/man1/buildslave.1.gz
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/buildslave.1 ${STAGEDIR}${MANPREFIX}/man/man1
regression-test: extract
@cd ${WRKSRC} && trial buildslave.test
.include <bsd.port.mk>