diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python2-sendfile/PKGBUILD | 29 |
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: |