# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
setvar pkgname = 'py-fuse'
setvar _pkgname = 'fuse-python'
setvar pkgver = '0.2.1'
setvar pkgrel = '1'
setvar pkgdesc = ""Python bindings for FUSE - filesystem in userspace""
setvar url = ""https://github.com/libfuse/python-fuse/""
setvar arch = ""all""
setvar license = ""LGPL2+""
setvar depends = ""python2""
setvar makedepends = ""python2-dev py-setuptools fuse-dev""
setvar source = ""https://github.com/libfuse/python-fuse/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz""
setvar builddir = ""$srcdir"/$_pkgname-$pkgver"

proc build {
	cd $builddir
	python2 setup.py build
}

proc package {
	cd $builddir
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

setvar md5sums = ""9d9c5c2311ac04291ce822dfece108f8  fuse-python-0.2.1.tar.gz""
setvar sha256sums = ""11ead462f8d0f8302ee07b33fe93dc42c653861a16c8802a31903a7355b8351b  fuse-python-0.2.1.tar.gz""
setvar sha512sums = ""f89c738352ca23e92b5c0222dde0a13bbee4d86432e9c339080203ed5bf4f885c42a0a3a252ed485f26b569d87e68dc0d78c55d8f7b2f3ce0cbac8afb251bdaa  fuse-python-0.2.1.tar.gz""