void-packages/srcpkgs/python3-pivy/template

31 lines
888 B
Bash

# Template file for 'python3-pivy'
pkgname=python3-pivy
version=0.6.4
revision=1
wrksrc="Coin3D-${pkgname#python3-}-a84100beff22"
build_style=python3-module
pycompile_module="pivy"
hostmakedepends="python3-devel swig"
makedepends="python3-devel coin3-devel qt5-devel"
short_desc="Python3 bindings for the high-level 3D graphics library Coin"
maintainer="yopito <pierre.bourgin@free.fr>"
license="0BSD"
homepage="https://bitbucket.org/Coin3D/pivy"
distfiles="https://bitbucket.org/Coin3D/pivy/get/${version}.tar.gz"
checksum=2ee684dbf0f52c05b491c5423013fd82e679614bffee23641485248c8a790c4e
nocross="require coin-config script"
case "$XBPS_TARGET_MACHINE" in
ppc64*);;
ppc*) broken="{standard input}:3376761: Error: operand out of range";;
esac
post_extract() (
# use setup_old.py until have Coin with cmake support
mv -f setup_old.py setup.py
)
post_install() {
vlicense LICENSE
}