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/"
SRC_URI="https://pypi.python.org/packages/source/d/dulwich/dulwich-0.9.1.tar.gz"
CHECKSUM_SHA256="e9f69677b7428c57f6260f1876f075057c7e24907979b4da6e5fcad3c6852545"
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 >= $haikuVersion
	cmd:python
	"

BUILD_REQUIRES=""

BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:python
	cmd:gcc
	"


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

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