summaryrefslogtreecommitdiffstats
path: root/testing/py-dulwich/APKBUILD
blob: e9086aa47f0ec3f27b52b5386b5a8428abf61f39 (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
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-dulwich
_pkgname=dulwich
pkgver=0.9.0
pkgrel=0
pkgdesc="A python implementation of the Git file formats and protocols"
url="http://www.samba.org/~jelmer/dulwich/"
arch="all"
license="GPL2+ or ASL 2.0"
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="472d37679f77d627d8e1721ea80b6729  dulwich-0.9.0.tar.gz"
sha256sums="bc6df3634216d01064d86c0bad8b39f26802dbfe37d34f1b0edf8a60c4ca8f25  dulwich-0.9.0.tar.gz"
sha512sums="3cfd2eee3641f24c1ee392071e9118e1bf53b40ef6c8adc263a620d4e1aa0801b1797b0ee25836e1bc7f66aa5518b7e6b8664bbcf34bf6ce55461702210b39b6  dulwich-0.9.0.tar.gz"