summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebb90101a4c6bf61798a4d988d8223460fb2c5b5 (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
# Maintainer:  Marco Rubin <marco.rubin@protonmail.com>

_name=xmpppy
pkgname=python-$_name
pkgver=0.7.1
pkgrel=2
pkgdesc="Python 2/3 implementation of XMPP (RFC3920, RFC3921)."
arch=('any')
url="https://github.com/xmpppy/xmpppy"
license=('GPL3')
depends=(python)
makedepends=(python-build python-installer python-setuptools python-wheel)
source=("$url/archive/$pkgver.tar.gz")
b2sums=('483b287fa02898394272ae643536ff9eb16375b665d4e32d82912c0f1aacf30b90ef8cabedaabd9e15608b456e8b0354e365a346e7e674f68f28b58b21a82288')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}