summaryrefslogtreecommitdiffstats
path: root/testing/py-fuse/APKBUILD
blob: d8eb266fbf88ecf3dc7f54e87310aa919c2132d5 (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
32
33
34
35
36
37
38
39
40
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-fuse
pkgver=0.2.1
pkgrel=0
pkgdesc="Python bindings for FUSE - filesystem in userspace"
url="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython"
arch="all"
license="LGPL2+"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools fuse-dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/fuse/fuse-python-$pkgver.tar.gz"

_builddir="$srcdir"/fuse-python-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

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