mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b999c3112b
- Update to 0.8.9 - Switch MASTERSITES to PyPi (CHEESESHOP) - Update COMMENT - Update Twisted minimum version dependency - Update sqlalchemy-migrate minimum version dependency - Update mock minimum version dependency - Add LICENSE_FILE - Use OPTIONS helpers - Strip trailing-slash in pkg-descr WWW: URL Changes: http://docs.buildbot.net/current/relnotes/index.html http://docs.buildbot.net/current/relnotes/0.8.9.html
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Koop Mast <kwm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= buildbot
|
|
PORTVERSION= 0.8.9
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Continuous Integration Framework (Master)
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.1:${PORTSDIR}/devel/py-Jinja2 \
|
|
${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil \
|
|
${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.7:${PORTSDIR}/databases/py-sqlalchemy-migrate \
|
|
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.6:${PORTSDIR}/databases/py-sqlalchemy \
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
|
|
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0.8.0:${PORTSDIR}/devel/py-mock \
|
|
trial:${PORTSDIR}/devel/py-twistedCore \
|
|
${PYTHON_PKGNAMEPREFIX}twistedWeb>=11.0.0:${PORTSDIR}/www/py-twistedWeb \
|
|
${PYTHON_PKGNAMEPREFIX}twistedWords>=11.0.0:${PORTSDIR}/net-im/py-twistedWords
|
|
|
|
OPTIONS_DEFINE= TESTS
|
|
TESTS_DESC= Install py-mock for test suite
|
|
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
|
|
|
USES= twisted:run,conch,mail,web,words
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
MAKE_ENV+= NO_INSTALL_REQS=1
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${REINPLACE_CMD} -e \
|
|
's|/usr/bin/python|${PYTHON_CMD}|g'
|
|
@${FIND} ${WRKSRC} -name \*.bak -delete
|
|
|
|
regression-test: extract
|
|
@cd ${WRKSRC} && trial buildbot
|
|
|
|
.include <bsd.port.mk>
|