34 lines
968 B
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=gbinder-python
pkgver=0_git20210812
pkgrel=1
_commit="2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c"
pkgdesc="Python bindings for libgbinder"
url="https://github.com/erfanoabdi/gbinder-python"
# s390x blocked by libgbinder
arch="all !s390x"
license="GPL-3.0-only"
depends="python3"
makedepends="
cython
libgbinder-dev
py3-setuptools
python3-dev
"
source="https://github.com/erfanoabdi/gbinder-python/archive/$_commit/gbinder-python-$_commit.tar.gz"
options="!check" # No properly runnable tests
builddir="$srcdir/$pkgname-$_commit"
build() {
python3 setup.py build --cython
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
f7b997e73424af0050485dba61f42aa14430a8ae44b868d1726913923e4967c41b0f4ebbb543662343fb912759c5a34d2d279414b505cc33b36253818c8ff36d gbinder-python-2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c.tar.gz
"