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

Christian Rebischke shibumi at archlinux.org
Thu Jul 9 18:46:36 UTC 2020


    Date: Thursday, July 9, 2020 @ 18:46:36
  Author: shibumi
Revision: 663001

upgpkg: python-fuse 1.0.0-2 remove python2 pkg

Modified:
  python-fuse/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-09 18:40:20 UTC (rev 663000)
+++ PKGBUILD	2020-07-09 18:46:36 UTC (rev 663001)
@@ -4,34 +4,24 @@
 # Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
 # Contributor: Alexander Fehr <pizzapunk at gmail.com>
 
-pkgbase=python-fuse
-pkgname=(python-fuse python2-fuse)
+pkgname=python-fuse
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 pkgdesc="Python bindings for FUSE"
 url="https://github.com/libfuse/python-fuse"
 license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'fuse2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
+makedepends=('python-setuptools' 'fuse2')
+depends=('fuse2' 'python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
 sha512sums=('d5e91be3e43065988053390d97ca6483ce38924bf9a49f694bf911080b7e75c836224e83d09dcbc6fab8d63781b4cd3ae016d66b65b88dd53106b06f91a6ad5c')
 
 build() {
   cd python-fuse-$pkgver
   python setup.py build
-  python2 setup.py build
 }
 
-package_python-fuse() {
-  depends=('fuse2' 'python')
-
+package() {
   cd python-fuse-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
 }
-
-package_python2-fuse() {
-  depends=('fuse2' 'python2')
-
-  cd python-fuse-$pkgver
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}


More information about the arch-commits mailing list