2015-06-20 20:15:06 +02:00
|
|
|
# Template file for 'python-llfuse'
|
|
|
|
pkgname=python-llfuse
|
2015-08-21 18:59:06 +02:00
|
|
|
version=0.41
|
|
|
|
revision=1
|
2015-06-20 20:15:06 +02:00
|
|
|
wrksrc="llfuse-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="llfuse"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools pkg-config"
|
|
|
|
makedepends="python-devel python3.4-devel fuse-devel attr-devel"
|
|
|
|
depends="python"
|
|
|
|
short_desc="Python2 bindings for the low level FUSE API"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="LGPL-2"
|
|
|
|
homepage="https://bitbucket.org/nikratio/python-llfuse/"
|
|
|
|
distfiles="https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${version}.tar.bz2"
|
2015-08-21 18:59:06 +02:00
|
|
|
checksum=0b8a1fbbc70b2aa125c045498b53d1c602bdf8dea55383db0460f67a7b44fe7b
|
2015-06-20 20:15:06 +02:00
|
|
|
|
2015-06-20 20:18:40 +02:00
|
|
|
post_extract() {
|
|
|
|
sed -i 's/__gnu_linux__/__linux__/g' src/llfuse/capi.c
|
|
|
|
}
|
|
|
|
|
2015-06-20 20:15:06 +02:00
|
|
|
python3.4-llfuse_package() {
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="llfuse"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|