Date: Thursday, November 19, 2020 @ 21:59:10 Author: felixonmars Revision: 757816
archrelease: copy trunk to community-staging-x86_64 Added: python-llfuse/repos/community-staging-x86_64/ python-llfuse/repos/community-staging-x86_64/PKGBUILD (from rev 757815, python-llfuse/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: python-llfuse/repos/community-staging-x86_64/PKGBUILD (from rev 757815, python-llfuse/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-19 21:59:10 UTC (rev 757816) @@ -0,0 +1,37 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Brendan MacDonell <macdonellba at gmail dot com> + +pkgname=python-llfuse +pkgver=1.3.8 +pkgrel=2 +pkgdesc="A set of Python bindings for the low level FUSE API." +arch=('x86_64') +url="https://github.com/python-llfuse/python-llfuse/" +license=('LGPL') +depends=('python' 'fuse2') +makedepends=('python-setuptools' 'cython') +checkdepends=('python-pytest') +options=(!emptydirs) +source=("https://files.pythonhosted.org/packages/source/l/llfuse/llfuse-$pkgver.tar.gz") +md5sums=('c83b01b3537cfbeb85c085ab0c6c3577') + +prepare() { + cd "${srcdir}/llfuse-${pkgver}" +} + +build() { + cd "${srcdir}/llfuse-${pkgver}" + python setup.py build_cython + python setup.py build_ext --inplace +} + +check() { + cd "${srcdir}/llfuse-${pkgver}" + # https://github.com/python-llfuse/python-llfuse/issues/35 tests incompatible with pytest>=6 + #python -m pytest test/ +} + +package() { + cd "${srcdir}/llfuse-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +}