mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
30 lines
899 B
Text
30 lines
899 B
Text
# Contributor: Sam Nystrom <sam@samnystrom.dev>
|
|
# Maintainer: Sam Nystrom <sam@samnystrom.dev>
|
|
pkgname=py3-c3d
|
|
pkgver=0.5.2
|
|
pkgrel=1
|
|
pkgdesc="Read and write C3D mocap files"
|
|
url="https://github.com/EmbodiedCognition/py-c3d"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-numpy"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel py3-poetry-core"
|
|
options="!check" # downloads many, large C3D files for tests
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/EmbodiedCognition/py-c3d/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/py-c3d-$pkgver"
|
|
|
|
build() {
|
|
# poetry build
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
acdf48098257a29e9dc7a29efc328af81df00d93baf4f36f3f3364fbb19b91caf74c6aed6c05343304d34d1d159b79d685366ca126b8cb56fbefc518ec1879c9 py3-c3d-0.5.2.tar.gz
|
|
"
|