mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 06:10:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
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="https://www.samba.org/~jelmer/dulwich/"
|
|
COPYRIGHT="2008-2013 Jelmer Vernooij"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://pypi.python.org/packages/source/d/dulwich/dulwich-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="aa628449c5f594a9a282f4d9e5993fef65481ef5e3b9b6c52ff31200f8f5dc95"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
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:python2
|
|
lib:libpython2.7
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:python2
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
$portPackageLinksDir/cmd~python2/bin/python2 setup.py install \
|
|
--prefix=$prefix
|
|
}
|