# Maintainer:
pkgname=py-larch
_pkgname=${pkgname#py-}
pkgver=1.20131130
pkgrel=1
pkgdesc="Copy-on-write B-tree data structure"
url="http://liw.fi/larch/"
arch="noarch"
license="GPL-3.0-or-later"
depends="python2 py-tracing py-cliapp py-ttystatus"
depends_dev=""
makedepends="py-setuptools"
install=""
subpackages=""
source="http://code.liw.fi/debian/pool/main/p/python-larch/python-larch_$pkgver.orig.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="766d14840b3872de92761a32ecbe80ef  python-larch_1.20131130.orig.tar.gz"
sha256sums="2717e851bde45b66e8b2d44181861f24135d185abab8111119857943d3b5cac1  python-larch_1.20131130.orig.tar.gz"
sha512sums="e661fa29043a5254eb3615f0eb54f6afbaf59020607bb72f621083e9f6acfbe92b1c978ce2be73336d8984a4a64ce6d0153556f0af0ca63ad53aff40f785d052  python-larch_1.20131130.orig.tar.gz"
