summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51a9a7bf1314872d2928defeac97c1b6a5e6c5b0 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Thorben Günther <echo YWRtaW5AeGVucm94Lm5ldAo= | base64 -d>
# Contributor: Sam Whited <sam@samwhited.com>
# Contributor: renek <aur@spaceshore.net>
# Contributor: Maxime "pep" Buquet <archlinux@bouah.net>

pkgname=python-aioxmpp
_pkgname=${pkgname#python-}
pkgver=0.13.3
pkgrel=1
pkgdesc="An XMPP library for use with Python 3.5+ asyncio"
arch=('any')
url="https://github.com/horazont/aioxmpp"
license=('LGPL3')
depends=('libxml2'
         'python-aioopenssl'
         'python-aiosasl'
         'python-babel'
         'python-dnspython'
         'python-lxml'
         'python-multidict'
         'python-pyasn1'
         'python-pyasn1-modules'
         'python-pyopenssl'
         'python-sortedcollections'
         'python-tzlocal')
makedepends=('python-setuptools')
checkdepends=('python-nose' 'python-pytest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/horazont/aioxmpp/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('b04d9f4b2784e13054e5a7f01fc05ca55b03cdd56453071109cc3dff345c6edb')

check() {
  cd "$srcdir/$_pkgname-$pkgver"
  python -m nose
}

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --skip-build --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: