[arch-commits] Commit in python-soappy/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Wed Aug 18 16:17:55 UTC 2010
Date: Wednesday, August 18, 2010 @ 12:17:55
Author: ibiru
Revision: 87901
upgpkg: python-soappy 0.12.0-9
python rebuild
Modified:
python-soappy/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-18 16:13:26 UTC (rev 87900)
+++ PKGBUILD 2010-08-18 16:17:55 UTC (rev 87901)
@@ -5,7 +5,7 @@
pkgname=python-soappy
pkgver=0.12.0
-pkgrel=8
+pkgrel=9
pkgdesc="A module which implements a high-level interface to SOAP functions"
arch=('any')
url="http://pywebsvcs.sourceforge.net/"
@@ -18,7 +18,12 @@
build() {
cd "${srcdir}/SOAPpy-${pkgver}"
sed -i "s/from __future__ import nested_scopes/#\0/g" SOAPpy/*.py
- python setup.py build || return 1
- python setup.py install --root="${pkgdir}" || return 1
+ python2 setup.py build
+ 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}
+ done
}
More information about the arch-commits
mailing list