aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-matrix-nio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-matrix-nio/APKBUILD')
-rw-r--r--community/py3-matrix-nio/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/py3-matrix-nio/APKBUILD b/community/py3-matrix-nio/APKBUILD
index 435856309d..305d50c5f1 100644
--- a/community/py3-matrix-nio/APKBUILD
+++ b/community/py3-matrix-nio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Antoine Fontaine <antoine.fontaine@epfl.ch>
pkgname=py3-matrix-nio
pkgver=0.15.2
-pkgrel=0
+pkgrel=1
pkgdesc="Python interface to DBus notifications"
url="https://github.com/poljar/matrix-nio"
arch="noarch !mips64" # blocked by py3-olm
@@ -40,18 +40,18 @@ makedepends="
py3-setuptools
"
source="
- matrix-nio-$pkgver.tar.gz::https://github.com/poljar/matrix-nio/archive/$pkgver.tar.gz
+ https://github.com/poljar/matrix-nio/archive/$pkgver/matrix-nio-$pkgver.tar.gz
0001-CI-Fix-our-tox-setup-for-github-CI.patch
"
builddir="$srcdir/matrix-nio-$pkgver"
-options="net" # the testsuite uses example.org's fake matrix server
build() {
python3 setup.py build
}
check() {
- python3 -m pytest
+ # test_connect_wrapper requires a network connection
+ PYTHONPATH="$PWD/build/lib" pytest -k 'not test_connect_wrapper'
}
package() {