SUMMARY="Python-based continuous integration testing framework"
DESCRIPTION="Buildbot is a continuous integration system designed to automate \
the build/test cycle. By automatically rebuilding and testing the tree each \
time something has changed, build problems are pinpointed quickly, before \
other developers are inconvenienced by the failure.
The main features are:

- Buildbot is easy to set up, but very extensible and customizable.  It \
supports arbitrary build processes, and is not limited to common build \
processes for particular languages (e.g., autotools or ant)
- Buildbot supports building and testing on a variety of platforms. \
Developers, who do not have the facilities to test their changes everywhere \
before committing, will know shortly afterwards whether they have broken the \
build or not.
- Buildbot has minimal requirements for slaves: using virtualenv, only a \
Python installation is required.
- Slaves can be run behind a NAT firewall and communicate with the master.
- Buildbot has a variety of status-reporting tools to get information about \
builds in front of developers in a timely manner.

This package contains the slave implementation, i.e. the part that is \
executing builds and/or tests."
HOMEPAGE="http://www.buildbot.net"
COPYRIGHT="2005-2013 Bryan Warner and the Buildbot team members"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://pypi.python.org/packages/a4/bc/ea8d3115fca39cfd7492f0d3da1dffde659fc11072f07152247c8d903df6/buildbot-worker-$portVersion.tar.gz"
CHECKSUM_SHA256="be89dbbd64ac4d10c8b43ea0fd8378803170247493c8ae023a4e8732aa9287aa"
SOURCE_DIR="buildbot-worker-$portVersion"
PATCHES="buildbot_slave-$portVersion.patchset"

ARCHITECTURES="any"

PROVIDES="
	buildbot_slave = $portVersion
	cmd:buildslave = $portVersion
	"
REQUIRES="
	haiku
	twisted_python3
	cmd:python3.7
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:python3.7
	"

BUILD()
{
	$portPackageLinksDir/cmd~python3.7/bin/python3.7 setup.py build
}

INSTALL()
{
	$portPackageLinksDir/cmd~python3.7/bin/python3.7 setup.py install \
		--prefix=$prefix
}
