From e9a29515e6bb954c2303032b1dafa0374d5dbf7a Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 31 Oct 2013 14:53:17 -0600 Subject: [PATCH] Add python dulwich recipe --- dev-python/dulwich/dulwich-0.9.1.recipe | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-python/dulwich/dulwich-0.9.1.recipe diff --git a/dev-python/dulwich/dulwich-0.9.1.recipe b/dev-python/dulwich/dulwich-0.9.1.recipe new file mode 100644 index 000000000..a0f4383a6 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.9.1.recipe @@ -0,0 +1,48 @@ +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_MD5="9a69b441d681e257b231321f8de6a110" +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 + " + +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py build +} + +INSTALL() +{ + $portPackageLinksDir/cmd~python/bin/python setup.py install \ + --prefix=$prefix +}