[arch-commits] Commit in python-soappy/repos (staging-any staging-any/PKGBUILD)

Eric Bélanger eric at archlinux.org
Sun Oct 14 21:32:40 UTC 2012


    Date: Sunday, October 14, 2012 @ 17:32:40
  Author: eric
Revision: 168725

archrelease: copy trunk to staging-any

Added:
  python-soappy/repos/staging-any/
  python-soappy/repos/staging-any/PKGBUILD
    (from rev 168724, python-soappy/trunk/PKGBUILD)

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

Copied: python-soappy/repos/staging-any/PKGBUILD (from rev 168724, python-soappy/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2012-10-14 21:32:40 UTC (rev 168725)
@@ -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