From 4b8555c4d8276741ae04cd280e181378dad365b6 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 21 Jul 2015 03:40:01 -0500 Subject: python2-paste-script: add new package to [pcr] --- pcr/python2-paste-script/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/python2-paste-script/PKGBUILD (limited to 'pcr/python2-paste-script') diff --git a/pcr/python2-paste-script/PKGBUILD b/pcr/python2-paste-script/PKGBUILD new file mode 100644 index 000000000..ad7aeafce --- /dev/null +++ b/pcr/python2-paste-script/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer (Arch): Brad Pitcher +# Contributor (Arch): David Campbell +# Contributor (Arch): Cilyan Olowen +# Maintainer: Omar Vega Ramos + +pkgname=python2-paste-script +pkgver=1.7.5 +pkgrel=1 +pkgdesc="A pluggable command-line frontend, including commands to setup package file layouts" +arch=('any') +url="http://pythonpaste.org/script/" +license=('custom') +depends=('python2' 'python2-paste>=1.7' 'python2-paste-deploy') +optdepends=('python2-cheetah: for templating' 'python2-flup: utilities for WSGI') +makedepends=('python2-distribute') +source=(http://pypi.python.org/packages/source/P/PasteScript/PasteScript-${pkgver}.tar.gz) +replaces=('python-paste-script') +md5sums=('4c72d78dcb6bb993f30536842c16af4d') + +package() { + cd $srcdir/PasteScript-${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') +} -- cgit v1.2.3