Date: Thursday, April 13, 2023 @ 18:27:15
Author: arojas
Revision: 1445946
upgpkg: openimageio 2.4.10.0-2: Python 3.11 rebuild
Modified:
openimageio/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-13 18:10:47 UTC (rev 1445945)
+++ PKGBUILD 2023-04-13 18:27:15 UTC (rev 1445946)
@@ -3,7 +3,7 @@
pkgname=openimageio
pkgver=2.4.10.0
-pkgrel=1
+pkgrel=2
pkgdesc="A library for reading and writing images, including classes,
utilities, and applications"
arch=('x86_64')
url="http://www.openimageio.org/"
@@ -20,11 +20,12 @@
build() {
cd oiio-$pkgver
+ local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
cmake \
-Bbuild \
-GNinja \
-DUSE_PYTHON=ON \
- -DPYTHON_VERSION=3.10 \
+ -DPYTHON_VERSION=$python_version \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DOIIO_BUILD_TESTS=ON \