mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-simplesoapy: build with gpep517
This commit is contained in:
parent
4e15e7eb9f
commit
fcee2b37c5
@ -2,24 +2,27 @@
|
||||
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
||||
pkgname=py3-simplesoapy
|
||||
pkgver=1.5.1
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Simple pythonic wrapper for SoapySDR library"
|
||||
url="https://github.com/xmikos/simplesoapy"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="python3 py3-numpy py3-soapy-sdr"
|
||||
makedepends="py3-setuptools soapy-sdr-dev"
|
||||
makedepends="py3-setuptools soapy-sdr-dev py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplesoapy/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/simplesoapy-$pkgver"
|
||||
options="!check" # no unit tests provided
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user