diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-22 11:20:35 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-22 11:20:35 +0100 |
commit | a026eee27d147035b448de0935bae9a3dfe33276 (patch) | |
tree | 3b20574f9b611eee2407219c4b47cc59b12bd22e /pcr/python2-wsgiref | |
parent | 4ff861888d7861fcb15e340f7b6b81a362c3e0fe (diff) | |
download | abslibre-a026eee27d147035b448de0935bae9a3dfe33276.tar.gz abslibre-a026eee27d147035b448de0935bae9a3dfe33276.tar.bz2 abslibre-a026eee27d147035b448de0935bae9a3dfe33276.zip |
pcr/python-wsgiref: moved from python2-wsgiref and updated
Diffstat (limited to 'pcr/python2-wsgiref')
-rw-r--r-- | pcr/python2-wsgiref/PKGBUILD | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pcr/python2-wsgiref/PKGBUILD b/pcr/python2-wsgiref/PKGBUILD deleted file mode 100644 index fe7e7758d..000000000 --- a/pcr/python2-wsgiref/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Limao Luo <luolimao+AUR@gmail.com> -# Contributor: Philipp Schmidt <philschmidt@gmx.net> -# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> - -pkgname=python2-wsgiref -pkgver=0.1.2 -pkgrel=2.1 -pkgdesc="WSGI (PEP 333) Reference Library" -arch=(any) -url=http://cheeseshop.python.org/pypi/wsgiref -license=(PSF ZPL) -depends=(python2) -makedepends=(python2-setuptools) -source=(http://pypi.python.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-$pkgver.zip) - -prepare() { - find ${pkgname#*-}-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; -} - -build() { - cd ${pkgname#*-}-$pkgver/ - python2 setup.py build -} - -package() { - cd ${pkgname#*-}-$pkgver/ - python2 setup.py install --root="$pkgdir" --optimize=1 -} |