From f34f22c1b09f194cceafcc3b179252f92e544e55 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 2 May 2016 23:02:59 +0200 Subject: main/py-fuse: fix source URL, the package has been moved --- main/py-fuse/APKBUILD | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/main/py-fuse/APKBUILD b/main/py-fuse/APKBUILD index d8eb266fbf..07a5f361c0 100644 --- a/main/py-fuse/APKBUILD +++ b/main/py-fuse/APKBUILD @@ -1,38 +1,26 @@ # Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-fuse +_pkgname=fuse-python pkgver=0.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Python bindings for FUSE - filesystem in userspace" -url="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython" +url="https://github.com/libfuse/python-fuse/" arch="all" license="LGPL2+" depends="python" -depends_dev="" makedepends="python-dev py-setuptools fuse-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/fuse/fuse-python-$pkgver.tar.gz" - -_builddir="$srcdir"/fuse-python-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="https://github.com/libfuse/python-fuse/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python setup.py build || return 1 + cd "$builddir" + python setup.py build } package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python setup.py install --prefix=/usr --root="$pkgdir" } md5sums="9d9c5c2311ac04291ce822dfece108f8 fuse-python-0.2.1.tar.gz" -- cgit v1.2.3