vigra: add explicit python_version

This commit is contained in:
Andrew J. Hesford 2020-04-21 14:55:09 -04:00 committed by Toyam Cox
parent 12e5705813
commit c2c7573eaa

View file

@ -2,6 +2,7 @@
pkgname=vigra
version=1.11.1
revision=5
wrksrc="${pkgname}-Version-$(echo $version | tr '.' '-')"
build_style=cmake
configure_args="-DWITH_OPENEXR=1"
hostmakedepends="python"
@ -13,7 +14,7 @@ license="MIT"
homepage="https://ukoethe.github.io/vigra/"
distfiles="https://github.com/ukoethe/vigra/archive/Version-${version//./-}.tar.gz"
checksum=b2718250d28baf1932fcbe8e30f7e4d146e751ad0e726e375a72a0cdb4e3250e
wrksrc=$pkgname-Version-${version//./-}
python_version=2 #unverified
pre_configure() {
if [ "$CROSS_BUILD" ]; then
@ -24,6 +25,7 @@ pre_configure() {
}
post_install() {
vlicense LICENSE.txt
vmkdir usr/share/$pkgname
mv $DESTDIR/usr/doc $DESTDIR/usr/share/$pkgname/doc
}