[arch-commits] Commit in python-soappy/repos (3 files)
Allan McRae
allan at archlinux.org
Tue Oct 16 11:55:28 UTC 2012
Date: Tuesday, October 16, 2012 @ 07:55:28
Author: allan
Revision: 168876
db-move: moved python-soappy from [staging] to [testing] (any)
Added:
python-soappy/repos/testing-any/
python-soappy/repos/testing-any/PKGBUILD
(from rev 168833, python-soappy/repos/staging-any/PKGBUILD)
Deleted:
python-soappy/repos/staging-any/
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-soappy/repos/testing-any/PKGBUILD (from rev 168833, python-soappy/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2012-10-16 11:55:28 UTC (rev 168876)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+
+pkgbase=python-soappy
+pkgname=python2-soappy
+pkgver=0.12.0
+pkgrel=11
+pkgdesc="A module which implements a high-level interface to SOAP functions"
+arch=('any')
+url="http://pywebsvcs.sourceforge.net/"
+license=('custom')
+depends=('python2-fpconst' 'pyxml')
+conflicts=('python-soappy<=0.12.0-10')
+replaces=('python-soappy<=0.12.0-10')
+optdepends=('python2-m2crypto: for support for server-side SSL')
+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_python2-soappy() {
+ 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}
+ done
+}
More information about the arch-commits
mailing list