[arch-commits] Commit in python-suds/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 13 19:24:11 UTC 2017


    Date: Thursday, April 13, 2017 @ 19:24:11
  Author: felixonmars
Revision: 222918

archrelease: copy trunk to community-testing-any

Added:
  python-suds/repos/community-testing-any/
  python-suds/repos/community-testing-any/PKGBUILD
    (from rev 222917, python-suds/trunk/PKGBUILD)

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

Copied: python-suds/repos/community-testing-any/PKGBUILD (from rev 222917, python-suds/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2017-04-13 19:24:11 UTC (rev 222918)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgbase=python-suds
+pkgname=(python-suds python2-suds)
+pkgver=0.6
+pkgrel=1
+pkgdesc="A lightweight SOAP python client"
+arch=('any')
+url="https://bitbucket.org/jurko/suds"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/jurko/suds/get/release-$pkgver.tar.gz")
+sha512sums=('9930c4e023e937e0f5323bcaae7017af6c4462c240d90cb77ec403da6f4f0ac1304013bdc30d9c0f2f778510b0762f9b771333f75e3dfb5a79dc24961a15c9be')
+
+prepare() {
+  mv jurko-suds-* $pkgbase-$pkgver
+  cp -a $pkgbase-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/$pkgbase-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/$pkgbase-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python-suds() {
+  depends=('python')
+
+  cd $pkgbase-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-suds() {
+  depends=('python2')
+
+  cd $pkgbase-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" -O1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list