[arch-commits] Commit in python-llfuse/repos/community-x86_64 (PKGBUILD PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Sun Mar 3 12:24:09 UTC 2019


    Date: Sunday, March 3, 2019 @ 12:24:07
  Author: lfleischer
Revision: 437452

archrelease: copy trunk to community-x86_64

Added:
  python-llfuse/repos/community-x86_64/PKGBUILD
    (from rev 437451, python-llfuse/trunk/PKGBUILD)
Deleted:
  python-llfuse/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-03 12:24:00 UTC (rev 437451)
+++ PKGBUILD	2019-03-03 12:24:07 UTC (rev 437452)
@@ -1,48 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at 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
-}

Copied: python-llfuse/repos/community-x86_64/PKGBUILD (from rev 437451, python-llfuse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-03 12:24:07 UTC (rev 437452)
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Brendan MacDonell <macdonellba at gmail dot com>
+
+pkgname=python-llfuse
+pkgver=1.3.6
+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=('python' 'fuse2')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-pytest')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/75/b4/5248459ec0e7e1608814915479cb13e5baf89034b572e3d74d5c9219dd31/llfuse-$pkgver.tar.bz2")
+md5sums=('4996674fa327c6c93174c1f71961ac6c')
+
+build() {
+  cd "${srcdir}/llfuse-${pkgver}"
+  python setup.py build_ext --inplace
+}
+
+check() {
+  cd "${srcdir}/llfuse-${pkgver}"
+  python -m pytest test/
+}
+
+package() {
+  cd "${srcdir}/llfuse-${pkgver}"
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list