mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-pivy: update to 0.6.9.
This commit is contained in:
parent
ff9fc6c4df
commit
631d5285ad
2 changed files with 3 additions and 32 deletions
|
@ -1,23 +0,0 @@
|
||||||
From d3faf04b8770c60ca9b2186059ee82201e3620ad Mon Sep 17 00:00:00 2001
|
|
||||||
From: lorenz <looooo@users.noreply.github.com>
|
|
||||||
Date: Thu, 13 Jul 2023 23:59:17 +0200
|
|
||||||
Subject: [PATCH] python 3.12 support
|
|
||||||
|
|
||||||
PyUnicode_GET_SIZE -> PyUnicode_GET_LENGTH
|
|
||||||
---
|
|
||||||
Inventor/SoInput.i | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Inventor/SoInput.i b/Inventor/SoInput.i
|
|
||||||
index 0925ab50..f0be6383 100644
|
|
||||||
--- a/Inventor/SoInput.i
|
|
||||||
+++ b/Inventor/SoInput.i
|
|
||||||
@@ -10,7 +10,7 @@
|
|
||||||
if (PyUnicode_Check($input))
|
|
||||||
{
|
|
||||||
$1 = (void *) PyUnicode_AsUTF8($input);
|
|
||||||
- $2 = PyUnicode_GET_SIZE($input);
|
|
||||||
+ $2 = PyUnicode_GET_LENGTH($input);
|
|
||||||
}
|
|
||||||
else if (PyBytes_Check($input))
|
|
||||||
{
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-pivy'
|
# Template file for 'python3-pivy'
|
||||||
pkgname=python3-pivy
|
pkgname=python3-pivy
|
||||||
version=0.6.8
|
version=0.6.9
|
||||||
revision=3
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="python3-devel swig"
|
hostmakedepends="python3-devel swig"
|
||||||
makedepends="python3-devel coin3-devel"
|
makedepends="python3-devel coin3-devel"
|
||||||
|
@ -11,13 +11,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://github.com/coin3d/pivy"
|
homepage="https://github.com/coin3d/pivy"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=c443dd7dd724b0bfa06427478b9d24d31e0c3b5138ac5741a2917a443b28f346
|
checksum=c207f5ed73089b2281356da4a504c38faaab90900b95639c80772d9d25ba0bbc
|
||||||
|
|
||||||
# still relevant with pivy 0.6.6 ?
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
ppc64*);;
|
|
||||||
ppc*) broken="{standard input}:3376761: Error: operand out of range";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue