From 7eaa23987dffa7ef5d55910f01158ad829603040 Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:59:34 +0200 Subject: python2-sendfile --- pcr/python2-sendfile/PKGBUILD | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'pcr/python2-sendfile/PKGBUILD') 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 -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Axilleas Pipinellis +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES 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: -- cgit v1.2.3