mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
|
|
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
|
|
pkgname=py3-python-osc
|
|
pkgver=1.8.1
|
|
pkgrel=0
|
|
pkgdesc="Open Sound Control server and client implementations in pure python"
|
|
url="https://github.com/attwad/python-osc"
|
|
arch="noarch"
|
|
license="Unlicense"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
source="$pkgver-$pkgver.tar.gz::https://github.com/attwad/python-osc/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/python-osc-$pkgver"
|
|
|
|
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 unittest discover
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
|
|
rm -r "$pkgdir"/usr/lib/python*/site-packages/pythonosc/test
|
|
}
|
|
|
|
sha512sums="
|
|
7d6bb5cddf93265f85ad47f23f67a8acc80a409338db8a34557c73020b8a6d53d2658352032a5b5dbc32b3bba8584c4c51534cd68fbb8ca57f71388b08384f9f 1.8.1-1.8.1.tar.gz
|
|
"
|