archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-soappy / trunk / PKGBUILD
blob4c56be18ffdf344e9d30c977b626c52fd98894f3
1 # Maintainer: Felix Yan <felixonmars@gmail.com>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
4 # Contributor: Ryan Coyner <rcoyner@gmail.com>
6 pkgbase=python-soappy
7 pkgname=python2-soappy
8 pkgver=0.12.22
9 pkgrel=3
10 pkgdesc="A module which implements a high-level interface to SOAP functions"
11 arch=('any')
12 url="http://pywebsvcs.sourceforge.net/"
13 license=('custom')
14 makedepends=("python2-setuptools")
15 conflicts=('python-soappy<=0.12.0-10')
16 replaces=('python-soappy<=0.12.0-10')
17 source=("https://pypi.python.org/packages/source/S/SOAPpy/SOAPpy-${pkgver}.zip"
18         "$pkgbase-LICENSE::https://raw.githubusercontent.com/kiorky/SOAPpy/develop/LICENSE")
19 sha512sums=('d75d0bf8e88c8ecae57f51a201f9ab6f24fc41856ee2093e7e2e73e5d8618c9a766a69140df28a24b6d8493b53555c09502684c6d2fd78e90a3c53bba52f388b'
20             '6b05765063f199eb609bca929457e348a6936ad8b65c7d0004772cfc29a75bc77a73a6f4c2d0c9bd9e97b28e78ac565dede5a395e775be4c27fd0f50990a127e')
22 build() {
23   cd SOAPpy-${pkgver}
24   python2 setup.py build
27 package_python2-soappy() {
28   depends=('python2-wstools' 'python2-defusedxml')
29   optdepends=('python2-m2crypto: for support for server-side SSL')
31   cd SOAPpy-${pkgver}
33   python2 setup.py install --root="$pkgdir" --optimize=1
34   install -Dm644 ../$pkgbase-LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"