1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-matrix-nio/APKBUILD

66 lines
1.5 KiB
Text

# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
pkgname=py3-matrix-nio
pkgver=0.18.3
pkgrel=0
pkgdesc="Python interface to DBus notifications"
url="https://github.com/poljar/matrix-nio"
arch="noarch !mips64" # blocked by py3-olm
license="ISC"
depends="
python3
py3-aiofiles
py3-aiohttp
py3-aiohttp-socks
py3-atomicwrites
py3-cachetools
py3-future
py3-h11
py3-h2
py3-jsonschema
py3-logbook
py3-olm
py3-peewee
py3-pycryptodome
py3-unpaddedbase64
"
checkdepends="
py3-aioresponses
py3-faker
py3-hpack
py3-hyperframe
py3-hypothesis
py3-mypy
py3-pytest
py3-pytest-aiohttp
py3-pytest-benchmark
py3-pytest-cov
py3-pytest-isort
"
makedepends="
py3-setuptools
pyproject2setuppy
"
source="
https://github.com/poljar/matrix-nio/archive/$pkgver/matrix-nio-$pkgver.tar.gz
create-setuppy.patch
"
builddir="$srcdir/matrix-nio-$pkgver"
build() {
python3 setup.py build
}
check() {
# test_connect_wrapper requires a network connection
PYTHONPATH="$PWD/build/lib" pytest -k 'not test_connect_wrapper'
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
ca99d4962fbc2f6d82e5b6ea53fcd82d0ed5a3a1c8a21a7ff211bf8892d2b60f72944ae19a41b102cd6473e04eedb614488f2fa2a2fd130ad70078aea2ba9518 matrix-nio-0.18.3.tar.gz
716d1298104d924170041d69708fc417ec6d2bf96197c7c2f77397584b6c67881190272adbf224431be400a2e391d3d3e213a340411c0b9be9e6c9e097eedd5f create-setuppy.patch
"