# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
checksums rmd160 3ec4f77befce8993c0ddca4416a494201be52fa5 \
sha256 c6b66976dff712268566574d57131ec15e5682f6d4390cd5c8559bab0980c4d6 \
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {ryandesign @ryandesign} openmaintainer
description buildmaster for buildbot continuous integration system
long_description Buildbot is a system to automate the compile/test \
cycle of most software projects to validate code \
changes. This port provides version 0.8.x of the \
master part of the system. Subsequent versions have \
a redesigned architecture and will be available soon \
homepage http://buildbot.net
master_sites pypi:b/buildbot/
distname buildbot-${version}
python.default_version 27
depends_lib-append port:py${python.version}-dateutil \
port:py${python.version}-jinja2 \
port:py${python.version}-sqlalchemy \
port:py${python.version}-sqlalchemy-migrate \
port:py${python.version}-twisted
patchfiles-append GitHubStatus-context.patch \
patch-allowRecent_SQA_Migrate.diff \
patch-buildbot-status-web-console.py.diff \
patch-buildbot-status-web-grid.py.diff \
patch-buildbot-status-web-waterfall.py.diff \
patch-buildbot-steps-trigger.py.diff
build.env NO_INSTALL_REQS=1
set sharedir ${prefix}/share/${subport}
set docdir ${prefix}/share/doc/${subport}
set plistfile org.macports.buildmaster.template.plist
file mkdir ${worksrcpath}/macports
copy ${filespath}/${plistfile} ${worksrcpath}/macports/${plistfile}
reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/${plistfile}