diff options
Diffstat (limited to 'pcr/python-paste')
-rw-r--r-- | pcr/python-paste/PKGBUILD | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/pcr/python-paste/PKGBUILD b/pcr/python-paste/PKGBUILD deleted file mode 100644 index 9ce5e6388..000000000 --- a/pcr/python-paste/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Contributor (Arch): David Campbell <davekong@archlinux.us> -# Contributor (Arch): Cilyan Olowen <gaknar@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> - -pkgname=python-paste -pkgver=1.7.5.1 -pkgrel=1 -pkgdesc="Tools for using a Web Server Gateway Interface stack." -arch=('any') -url="http://pythonpaste.org/index.html" -license=('custom') -depends=('python2') -makedepends=('setuptools') -source=(http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz) -optdepends=('python-flup: WSGI utilities' - 'python-openid: Support for OpenID') - -build() { - cd ${srcdir}/Paste-${pkgver} - python2 setup.py install --root=${pkgdir} --optimize=1 - install -Dm644 docs/license.txt ${pkgdir}/usr/share/licenses/$pkgname/license.txt - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - $(find $pkgdir -name '*.py') -} |