mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-17 02:26:34 +02:00
41 lines
964 B
Plaintext
41 lines
964 B
Plaintext
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=gbinder-python
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="Python bindings for libgbinder"
|
|
url="https://github.com/erfanoabdi/gbinder-python"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
depends="python3"
|
|
makedepends="
|
|
cython
|
|
libgbinder-dev
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
python3-dev
|
|
"
|
|
source="https://github.com/erfanoabdi/gbinder-python/archive/$pkgver/gbinder-python-$pkgver.tar.gz"
|
|
options="!check" # No properly runnable tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
85c78ad76cc9403b09be1fb96424f529aa0cee7a570bc5cb7a4515a4746b006998c6b32a6d59c9931846d825c99ae59e71e2e907940adc3ae13415d6655d5f00 gbinder-python-1.3.1.tar.gz
|
|
"
|