contrib/python3-jeepney/Pkgfile

21 lines
636 B
Plaintext

# Description: Low-level, pure Python DBus protocol wrapper
# URL: https://gitlab.com/takluyver/jeepney
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-pip
# Optional: python3-flit
name=python3-jeepney
version=0.8.0
release=1
source=(https://pypi.io/packages/source/j/jeepney/jeepney-$version.tar.gz)
build() {
cd jeepney-$version
if prt-get isinst python3-flit; then
/usr/bin/python3 -m flit build --format wheel
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps jeepney
fi
}