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