summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-05-31 23:59:34 +0200
committeraurelien <aurelien@xload.io>2014-05-31 23:59:34 +0200
commit7eaa23987dffa7ef5d55910f01158ad829603040 (patch)
tree013a371898f9f698b5327546c682b92d113fb856
parent81328e893644f696d8a2be165071f6b083b45239 (diff)
downloadabslibre-7eaa23987dffa7ef5d55910f01158ad829603040.tar.gz
abslibre-7eaa23987dffa7ef5d55910f01158ad829603040.tar.bz2
abslibre-7eaa23987dffa7ef5d55910f01158ad829603040.zip
python2-sendfile
-rw-r--r--pcr/python2-sendfile/PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/pcr/python2-sendfile/PKGBUILD b/pcr/python2-sendfile/PKGBUILD
index 8da81bcbf..714e8e07e 100644
--- a/pcr/python2-sendfile/PKGBUILD
+++ b/pcr/python2-sendfile/PKGBUILD
@@ -1,22 +1,21 @@
-# Contributor (Arch): Josh Chase <jcjoshuachase@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+# Contributor: Axilleas Pipinellis <axilleas@archlinux.info>
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-sendfile
-_pkgname=py-sendfile
-pkgver=1.2.3
-pkgrel=1
-pkgdesc="pysendfile"
-url="http://code.google.com/p/pysendfile"
+_pkgname=pysendfile
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="A Python interface to sendfile(2)"
+url="http://code.google.com/p/pysendfile/"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('python2' 'setuptools')
-conflicts=()
-replaces=()
-backup=()
-source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+depends=('python2')
+makedepends=('python2-distribute')
+source=("https://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz")
-build() {
+package() {
cd $srcdir/$_pkgname-$pkgver
- python2 setup.py build
- python2 setup.py install --root=$pkgdir
+ python2 setup.py install --root=$pkgdir --optimize=1
}
+
+# vim:set ts=2 sw=2 et: