[arch-commits] Commit in (4 files)

Felix Yan fyan at nymeria.archlinux.org
Fri Mar 7 04:31:44 UTC 2014


    Date: Friday, March 7, 2014 @ 05:31:44
  Author: fyan
Revision: 207122

addpkg: python2-wstools 0.4.3-1

- new dependency of python2-soappy

Added:
  python-wstools/
  python-wstools/repos/
  python-wstools/trunk/
  python-wstools/trunk/PKGBUILD

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

Added: python-wstools/trunk/PKGBUILD
===================================================================
--- python-wstools/trunk/PKGBUILD	                        (rev 0)
+++ python-wstools/trunk/PKGBUILD	2014-03-07 04:31:44 UTC (rev 207122)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=python-wstools
+pkgname=python2-wstools
+pkgver=0.4.3
+pkgrel=1
+pkgdesc="WSDL parsing services package for Web Services for Python"
+arch=('any')
+url="https://github.com/pycontribs/wstools"
+license=('custom')
+makedepends=('python2-setuptools')
+depends=('python2')
+source=("https://pypi.python.org/packages/source/w/wstools/wstools-${pkgver}.tar.gz")
+md5sums=('82f800f83195519ab6f01304456dadd9')
+
+prepare() {
+  cd wstools-$pkgver
+  sed -e 's|#! /usr/bin/env python$|#!/usr/bin/env python2|' \
+      -e 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' \
+      -i src/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,logging.py,__init__.py,tests/*}
+}
+
+build() {
+  cd wstools-${pkgver}
+  python2 setup.py build
+}
+
+package_python2-wstools() {
+  cd wstools-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm644 docs/* "${pkgdir}/usr/share/licenses/${pkgname}"/
+}


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



More information about the arch-commits mailing list