[arch-commits] Commit in python-llfuse/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sat Jan 27 01:08:57 UTC 2018


    Date: Saturday, January 27, 2018 @ 01:08:54
  Author: bgyorgy
Revision: 287349

upgpkg: python-llfuse 1.3.2-2

Fix dependencies (FS#51030)

Modified:
  python-llfuse/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-27 00:46:51 UTC (rev 287348)
+++ PKGBUILD	2018-01-27 01:08:54 UTC (rev 287349)
@@ -4,24 +4,29 @@
 pkgbase=python-llfuse
 pkgname=(python-llfuse python2-llfuse)
 pkgver=1.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A set of Python bindings for the low level FUSE API."
 arch=('x86_64')
 url="https://bitbucket.org/nikratio/python-llfuse/"
-license=('LGPL3')
+license=('LGPL')
 depends=('fuse2')
-makedepends=('pkg-config' 'python' 'python2' 'python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools')
 options=(!emptydirs)
 source=("https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-${pkgver}.tar.bz2")
 md5sums=('f4801c5f80ccb04017044b151643e05f')
 
 build() {
+  cp -a "${srcdir}/llfuse-${pkgver}"{,-python2}
+
   cd "${srcdir}/llfuse-${pkgver}"
   python setup.py build
+
+  cd "${srcdir}/llfuse-${pkgver}"-python2
+  python2 setup.py build
 }
 
 package_python-llfuse() {
-  depends+=(python python-setuptools)
+  depends+=(python)
 
   cd "${srcdir}/llfuse-${pkgver}"
   python setup.py install --root="$pkgdir" --optimize=1
@@ -28,8 +33,8 @@
 }
 
 package_python2-llfuse() {
-  depends+=(python2 python2-setuptools)
+  depends+=(python2-contextlib2)
 
-  cd "${srcdir}/llfuse-${pkgver}"
+  cd "${srcdir}/llfuse-${pkgver}"-python2
   python2 setup.py install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list