SUMMARY="Simple Python implementation of the Git file formats and protocols"
DESCRIPTION="Dulwich is a simple Python implementation of the Git file \
formats and protocols. All functionality is available in pure Python.\
Optional C extensions can be built for improved performance."
HOMEPAGE="http://www.samba.org/~jelmer/dulwich/"
SOURCE_URI="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.9.7.tar.gz"
CHECKSUM_SHA256="12e77b0434a3bb3075e9c96e608ee9c3f85e49bc9c8335139aba8795de4000f3"
LICENSE="GNU GPL v2"
COPYRIGHT="2008-2013 Jelmer Vernooij"
REVISION="1"

ARCHITECTURES="x86 x86_gcc2"

PROVIDES="
	dulwich = $portVersion
	cmd:dul_daemon = $portVersion
	cmd:dul_receive_pack = $portVersion
	cmd:dul_upload_pack = $portVersion
	cmd:dul_web = $portVersion
	cmd:dulwich = $portVersion
	"
REQUIRES="
	haiku
	cmd:python
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:python
	cmd:gcc
	"

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

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