[arch-commits] Commit in (4 files)

Felix Yan fyan at nymeria.archlinux.org
Tue Nov 26 02:52:15 UTC 2013


    Date: Tuesday, November 26, 2013 @ 03:52:15
  Author: fyan
Revision: 101454

addpkg: python2-paste 1.7.5.1-3

Added:
  python2-paste/
  python2-paste/repos/
  python2-paste/trunk/
  python2-paste/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: python2-paste/trunk/PKGBUILD
===================================================================
--- python2-paste/trunk/PKGBUILD	                        (rev 0)
+++ python2-paste/trunk/PKGBUILD	2013-11-26 02:52:15 UTC (rev 101454)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: David Campbell <davekong at archlinux.us>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+
+pkgname=python2-paste
+pkgver=1.7.5.1
+pkgrel=3
+pkgdesc="Tools for using a Web Server Gateway Interface stack."
+arch=('any')
+url="http://pythonpaste.org/index.html"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://pypi.python.org/packages/source/P/Paste/Paste-${pkgver}.tar.gz")
+optdepends=('python2-flup: WSGI utilities')
+md5sums=('7ea5fabed7dca48eb46dc613c4b6c4ed')
+
+prepare() {
+  cd Paste-${pkgver}
+  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+         -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+      $(find . -name '*.py')
+}
+
+package() {
+  cd Paste-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -Dm644 docs/license.txt "${pkgdir}/usr/share/licenses/$pkgname/license.txt"
+  chmod 644 ${pkgdir}/usr/lib/python*/site-packages/paste/evalexception/media/MochiKit.packed.js
+}


Property changes on: python2-paste/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list