contrib/python3-matrix-nio/Pkgfile

19 lines
740 B
Plaintext

# Description: A Python Matrix client library, designed according to sans I/O principles
# URL: https://github.com/poljar/matrix-nio
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-aiofiles python3-aiohttp-socks python3-atomicwrites python3-cachetools python3-h11 python3-h2 python3-logbook python3-olm python3-peewee python3-pycryptodome python3-unpaddedbase64
name=python3-matrix-nio
version=0.19.0
release=1
source=(https://github.com/poljar/matrix-nio/archive/$version/$name-$version.tar.gz)
build() {
cd matrix-nio-$version
dephell deps convert --from pyproject.toml --to setup.py
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build
}