Date: Wednesday, October 3, 2018 @ 06:56:14 Author: lfleischer Revision: 389113
archrelease: copy trunk to community-x86_64 Added: python-llfuse/repos/community-x86_64/PKGBUILD (from rev 389112, python-llfuse/trunk/PKGBUILD) Deleted: python-llfuse/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 48 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-03 06:56:04 UTC (rev 389112) +++ PKGBUILD 2018-10-03 06:56:14 UTC (rev 389113) @@ -1,62 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Brendan MacDonell <macdonellba at gmail dot com> - -pkgbase=python-llfuse -pkgname=(python-llfuse python2-llfuse) -pkgver=1.3.4 -pkgrel=3 -pkgdesc="A set of Python bindings for the low level FUSE API." -arch=('x86_64') -url="https://bitbucket.org/nikratio/python-llfuse/" -license=('LGPL') -depends=('fuse2') -makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2' 'cython') -checkdepends=('python-pytest' 'python2-pytest') -options=(!emptydirs) -source=("https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${pkgver}.tar.bz2" - "https://github.com/python-llfuse/python-llfuse/commit/dfb7d2ba3db8131cd348800c8d91df11bf930324.patch" - "llfuse-xattr-2.4.48.patch::https://github.com/python-llfuse/python-llfuse/pull/3.patch") -md5sums=('43a123c46d5438f15cd6bcafa16a0094' - '398b6c1b73427454d8839788426de7a9' - 'aba45413f7426ae8e93b654ebbfb9dc0') - -prepare() { - cd "${srcdir}/llfuse-${pkgver}" - - patch -p1 -i ../llfuse-xattr-2.4.48.patch - # don't use -Werror - patch -p1 -i ../dfb7d2ba3db8131cd348800c8d91df11bf930324.patch - - python setup.py build_cython -} - -build() { - cd "${srcdir}/llfuse-${pkgver}" - - python setup.py build - python2 setup.py build -} - -check() { - cd "${srcdir}/llfuse-${pkgver}" - - set -x - pythonpath=("$PWD/build/lib.linux-$CARCH"-3* "$PWD/build/lib.linux-$CARCH"-2*) - PYTHONPATH="${pythonpath[0]}" python -m pytest - PYTHONPATH="${pythonpath[1]}" python2 -m pytest - set +x -} - -package_python-llfuse() { - depends+=(python) - - cd "${srcdir}/llfuse-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-llfuse() { - depends+=(python2-contextlib2) - - cd "${srcdir}/llfuse-${pkgver}" - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-llfuse/repos/community-x86_64/PKGBUILD (from rev 389112, python-llfuse/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-03 06:56:14 UTC (rev 389113) @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Brendan MacDonell <macdonellba at gmail dot com> + +pkgbase=python-llfuse +pkgname=(python-llfuse python2-llfuse) +pkgver=1.3.5 +pkgrel=1 +pkgdesc="A set of Python bindings for the low level FUSE API." +arch=('x86_64') +url="https://bitbucket.org/nikratio/python-llfuse/" +license=('LGPL') +depends=('fuse2') +makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2' 'cython') +checkdepends=('python-pytest' 'python2-pytest') +options=(!emptydirs) +source=("https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${pkgver}.tar.bz2") +md5sums=('9fbb82c0db909d139f9fafa27c76781e') + +build() { + cd "${srcdir}/llfuse-${pkgver}" + + python setup.py build + python2 setup.py build +} + +check() { + cd "${srcdir}/llfuse-${pkgver}" + + set -x + pythonpath=("$PWD/build/lib.linux-$CARCH"-3* "$PWD/build/lib.linux-$CARCH"-2*) + PYTHONPATH="${pythonpath[0]}" python -m pytest + PYTHONPATH="${pythonpath[1]}" python2 -m pytest + set +x +} + +package_python-llfuse() { + depends+=(python) + + cd "${srcdir}/llfuse-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-llfuse() { + depends+=(python2-contextlib2) + + cd "${srcdir}/llfuse-${pkgver}" + python2 setup.py install --root="$pkgdir" --optimize=1 +}