void-packages/srcpkgs/python-llfuse/template
2016-11-21 14:15:29 +01:00

31 lines
1,003 B
Bash

# Template file for 'python-llfuse'
pkgname=python-llfuse
version=1.1.1
revision=3
wrksrc="llfuse-${version}"
build_style=python-module
pycompile_module="llfuse"
hostmakedepends="python-setuptools python3-setuptools pkg-config"
makedepends="python-devel python3-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="${PYPI_SITE}/l/llfuse/llfuse-${version}.tar.bz2"
checksum=1b84b1152ae461e66ecc526d0de71eaec086c587e97d1dda93d620b16a92db6c
python3-llfuse_package() {
depends="python3"
pycompile_module="llfuse"
replaces="python3.4-llfuse>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-llfuse_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-llfuse>=${version}_${revision}"
}