diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 12:45:25 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 12:45:25 -0500 |
commit | f46bbbef4310190fdd7d3e92d92f5d1acd8b615e (patch) | |
tree | 8fac50c22018bd3b4421e254bd906cf192a74932 /pcr | |
parent | e98094e4bdba2943854b1ce3321d3ab16baefcb4 (diff) | |
download | abslibre-f46bbbef4310190fdd7d3e92d92f5d1acd8b615e.tar.gz abslibre-f46bbbef4310190fdd7d3e92d92f5d1acd8b615e.tar.bz2 abslibre-f46bbbef4310190fdd7d3e92d92f5d1acd8b615e.zip |
python2-paste-deploy-1.5.2-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-paste-deploy/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/python2-paste-deploy/PKGBUILD | 16 |
2 files changed, 9 insertions, 31 deletions
diff --git a/pcr/python-paste-deploy/PKGBUILD b/pcr/python-paste-deploy/PKGBUILD deleted file mode 100644 index fa87c2231..000000000 --- a/pcr/python-paste-deploy/PKGBUILD +++ /dev/null @@ -1,24 +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-deploy -pkgver=1.5.0 -pkgrel=1 -pkgdesc="Load, configure, and compose WSGI applications and servers" -arch=('any') -url="http://pythonpaste.org/deploy/" -license=('custom') -depends=('python2') -makedepends=('setuptools') -source=(http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-${pkgver}.tar.gz) - - -build() { - cd $srcdir/PasteDeploy-${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') -} diff --git a/pcr/python2-paste-deploy/PKGBUILD b/pcr/python2-paste-deploy/PKGBUILD index e3c6a08bd..6474f3727 100644 --- a/pcr/python2-paste-deploy/PKGBUILD +++ b/pcr/python2-paste-deploy/PKGBUILD @@ -1,19 +1,21 @@ -# Contributor: Limao Luo <luolimao+AUR@gmail.com> -# Contributor: David Campbell <davekong@archlinux.us> -# Contributor: Cilyan Olowen <gaknar@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> +# Contributor (Arch): Limao Luo <luolimao+AUR@gmail.com> +# 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=PasteDeploy pkgname=python2-paste-deploy -pkgver=1.5.0 -pkgrel=2 +pkgver=1.5.2 +pkgrel=1 pkgdesc="Load, configure, and compose WSGI applications and servers" arch=(any) url=http://pythonpaste.org/deploy/ -license=(custom) +license=(MIT) depends=(python2) makedepends=(python2-setuptools) source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz) +sha256sums=('d5858f89a255e6294e63ed46b73613c56e3b9a2d82a42f1df4d06c8421a9e3cb') +sha512sums=('03147b2e735f4504b928066d35f46e7d19a49b85afc506b793fba69c8827a4d5b8185074bdd4a963ac392cc104f5a608d1db9a3538d7d3239da5febcbff4ccab') prepare() { find $_pkgname-$pkgver -name '*.py' -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \; |