aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-dulwich/APKBUILD
blob: 71bc25ae9af70f67587ce6f95658bfba6e34b519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-dulwich
_pkgname=dulwich
pkgver=0.8.7
pkgrel=0
pkgdesc="A python implementation of the Git file formats and protocols"
url="http://www.samba.org/~jelmer/dulwich/"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://samba.org/~jelmer/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver


build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="60d8b8e974970f2c3cbae5dc9fe0f645  dulwich-0.8.7.tar.gz"