Skip to content
Snippets Groups Projects
Commit dd188ebf authored by Celeste's avatar Celeste Committed by Andy Postnikov
Browse files

community/py3-pyo: switch to gpep517

parent 26c10122
No related branches found
No related tags found
1 merge request!54205community/py3-pyo: switch to gpep517
Pipeline #190069 skipped
......@@ -3,14 +3,22 @@
pkgname=py3-pyo
_pkgname=pyo
pkgver=1.0.5
pkgrel=1
pkgrel=2
pkgdesc="dedicated Python module for digital signal processing"
url="http://ajaxsoundstudio.com/software/pyo/"
arch="all"
license="LGPL-3.0-or-later"
options="!check"
depends="python3 python3-tkinter"
makedepends="python3-dev portaudio-dev jack-dev libsndfile-dev py3-setuptools"
makedepends="
jack-dev
libsndfile-dev
portaudio-dev
py3-gpep517
py3-setuptools
py3-wheel
python3-dev
"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/belangeo/pyo/archive/$pkgver.tar.gz
portaudio-only.patch
......@@ -18,11 +26,15 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/belangeo/pyo/archive/$pkgver
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build --minimal --use-jack
gpep517 build-wheel \
--wheel-dir .dist \
--config-json '{"--build-option": ["--minimal", "--use-jack"]}' \
--output-fd 3 3>&1 >&2
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment