summaryrefslogtreecommitdiff
path: root/python3-matrix-nio/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-07-02 11:45:59 +0200
committerTim Biermann <tbier@posteo.de>2022-07-02 11:45:59 +0200
commite4187faef7ef13febb68500d22f029ef127a70fc (patch)
tree72973e49f4f78c521a7a3dfb26a255d47becdd94 /python3-matrix-nio/Pkgfile
parent5e0a7dfd1bd82841dfa02f3051cac75b951d7888 (diff)
downloadcontrib-e4187faef7ef13febb68500d22f029ef127a70fc.tar.gz
contrib-e4187faef7ef13febb68500d22f029ef127a70fc.tar.xz
python3-matrix-nio: use python3-{build,install} instead of dephell
Diffstat (limited to 'python3-matrix-nio/Pkgfile')
-rw-r--r--python3-matrix-nio/Pkgfile10
1 files changed, 4 insertions, 6 deletions
diff --git a/python3-matrix-nio/Pkgfile b/python3-matrix-nio/Pkgfile
index 87c54064a..171b3b76d 100644
--- a/python3-matrix-nio/Pkgfile
+++ b/python3-matrix-nio/Pkgfile
@@ -5,14 +5,12 @@
name=python3-matrix-nio
version=0.19.0
-release=1
+release=2
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
+
+ /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
+ /usr/bin/python3 -m install --optimize=1 --destdir=$PKG dist/*.whl
}

Generated by cgit