blob: 8166db66d43c885ba9762224464234c0a30ec9fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>
# Contributor: Sam Whited <sam@samwhited.com>
# Contributor: renek <aur@spaceshore.net>
_name=aiosasl
pkgname=python-$_name
pkgver=0.5.0
pkgrel=1
pkgdesc="A pure python generic asyncio SASL library"
arch=('any')
url="https://github.com/horazont/aiosasl"
license=('LGPL3')
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-nose')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
b2sums=('SKIP')
check() {
cd $_name-$pkgver
python -m nose
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
|