# $Id: PKGBUILD 63371 2012-01-31 14:53:44Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: giniu <gginiu@gmail.com>
pkgname=python-foolscap
pkgver=0.6.3
pkgrel=1
pkgdesc="RPC protocol for Python and Twisted"
license=('MIT')
url="http://foolscap.lothar.com/"
arch=(any)
depends=('twisted' 'python2' 'python2-pyopenssl')
makedepends=('python2-distribute')
options=(!emptydirs)
source=("http://foolscap.lothar.com/releases/foolscap-${pkgver}.tar.gz")

package() {
  cd "$srcdir/foolscap-$pkgver"
  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
md5sums=('38782e3b64d3a0beea1ae03dd9ca137f')
