upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-pure-sasl / trunk / PKGBUILD
blob7dc7224caa48c6c7b7a0d62f9c3ea128e0bb3067
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-pure-sasl
4 pkgver=0.6.2
5 pkgrel=5
6 pkgdesc="Pure Python client SASL implementation"
7 url="https://github.com/thobbs/pure-sasl"
8 license=('MIT')
9 arch=('any')
10 depends=('python')
11 makedepends=('python-setuptools')
12 optdepends=('python-kerberos: for GSSAPI support')
13 checkdepends=('python-mock' 'python-nose' 'python-pykerberos')
14 source=("https://github.com/thobbs/pure-sasl/archive/$pkgver/$pkgname-$pkgver.tar.gz")
15 sha512sums=('e4ac40822014dec0522faf25f0806cd5cb1053fa7c5362fd3569f79f43ac775aa1a7895421699d36713e0493ebfc7215da0bca9fee516e07b4ef1e182684d4bb')
17 build() {
18   cd pure-sasl-$pkgver
19   python setup.py build
22 check() {
23   cd pure-sasl-$pkgver
24   nosetests3
27 package() {
28   cd pure-sasl-$pkgver
29   python setup.py install --root="$pkgdir" --optimize=1
31   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/