[arch-commits] Commit in python-soappy/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 18 09:34:03 EST 2012


    Date: Saturday, February 18, 2012 @ 09:34:02
  Author: pierre
Revision: 150555

upgpkg: python-soappy 0.12.0-10

rebuild old package

Modified:
  python-soappy/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-18 13:03:41 UTC (rev 150554)
+++ PKGBUILD	2012-02-18 14:34:02 UTC (rev 150555)
@@ -5,25 +5,29 @@
 
 pkgname=python-soappy
 pkgver=0.12.0
-pkgrel=9
+pkgrel=10
 pkgdesc="A module which implements a high-level interface to SOAP functions"
 arch=('any')
 url="http://pywebsvcs.sourceforge.net/"
 license=('custom')
 depends=('python-fpconst' 'pyxml')
 optdepends=('python-m2crypto: for support for server-side SSL')
-source=(http://downloads.sourceforge.net/pywebsvcs/SOAPpy-${pkgver}.tar.gz)
+source=("http://downloads.sourceforge.net/pywebsvcs/SOAPpy-${pkgver}.tar.gz")
 md5sums=('d0d29f9b6fb27bfadc69b64a36321e20')
 
 build() {
   cd "${srcdir}/SOAPpy-${pkgver}"
   sed -i "s/from __future__ import nested_scopes/#\0/g" SOAPpy/*.py
   python2 setup.py build
+}
+
+package() {
+  cd "${srcdir}/SOAPpy-${pkgver}"
   python2 setup.py install --root="${pkgdir}" --optimize=1
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   for f in c14n.py Namespaces.py logging.py __init__.py; do
-      sed -e 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
-          -i ${pkgdir}/usr/lib/python2.7/site-packages/SOAPpy/wstools/${f}
+    sed -e 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+        -i ${pkgdir}/usr/lib/python2.7/site-packages/SOAPpy/wstools/${f}
   done
 }



More information about the arch-commits mailing list